4G

模块接口位置(正面)

SIM 卡位置(背面)

默认支持EC20 4G 模块,SIM 卡槽支持Micro Sim 卡。

控电接口:/dev/lte_pwr
控制方法如下:

private void setLtePower(boolean on) {
 String path = "/dev/lte_pwr";
 if (new File(path).exists()) {
     FileWriter writer = null;
     try {
         writer = new FileWriter(path);
         if (on)
             writer.write("ON ");
         else
             writer.write("OFF ");
         writer.flush();
     } catch (Exception ex) {
         Log.e(TAG, "" + ex);
     } finally {
         if (writer != null) {
             try {
                 writer.close();
             } catch (IOException ex) {
                 Log.e(TAG, "" + ex);
             }
         }
     }
 } else {
     Log.d(TAG, "LTE node is not found!");
 } 
}
文档更新时间: 2021-11-10 11:23   作者:Aeeditor