zoukankan      html  css  js  c++  java
  • [4G]常用AT指令

    The GPRS communication module is controlled by terminal (e.g. H50) firmware. 

    The actions are mapped to  3 ~4 AT command, and one PPP process.
     
    1. Request GSM
        AT+CREG.
    2. Attached to GPRS network
        AT+CGATT
        AT+CGDCONT
    3. PPP process after *99***1#
     
    Our module control is very simple: AT commands. The following commands flow are applicable to the MC55, MC56 and SIMCOM's SIM300.

    Some recorded AT commands flows are...
    from China Mobile's SIM card (in H50+ MC55(?)) generated AT-log in Shanghai, captured on 
    Sat morning 1am+ at 19 Jun 2010:
    --------
    AT :     [Start-up confirmation that module will response AT command]
    ATE0V1 : [disable echo, detailed responses on]
    ATQ3                     [RTS/CTS hardware handshake on]
    at+csq                    [Signal quality]
    at+creg?                  [Network registration]
    AT+CIMI                   [Request International Mobile Subscriber Identity (IMSI)]
    AT+GSN                    [request International Mobile Equipment Identity (IMEI)]
    at+cgatt=1                [attach the terminal to GPRS service]
    at+cgatt?                 [Return the current GPRS service state]
    at+cgdcont=1,"IP","cmnet" [Define PDP Context]
    at+csq                    [Signal quality]
    atd*99***1#               [Request GPRS service]

    -----------------------------------------------------------------------------------------------------------------------

    如何不打开minicom获取AT指令的结果

    $ cat /dev/ttyUSB2 > result.log &

    $ echo "ATI" > /dev/ttyUSB2

  • 相关阅读:
    命令行net time同步时间(内网)
    清理树莓派系统垃圾
    树莓派常用功能的安装和使用
    树莓派的媒体播放软件omxplayer
    树莓派安装FTP服务器
    Raspbian 中国软件源
    树莓派挂载和卸载U盘或移动硬盘
    树莓派上搭建NAS
    Aria2+yaaw+Chrome插件BaiduExporter实现百度网盘下载
    树莓派做下载机+Web服务器(Aria2下载+yaaw做UI+nginx)
  • 原文地址:https://www.cnblogs.com/aaronLinux/p/7411067.html
Copyright © 2011-2022 走看看