SIM800C模組TCP透傳模式AT設定

2021-08-31 09:19:02 字數 712 閱讀 4672

1、gprs伺服器tcp/ip配置

at                             檢查模組工作

at+ipr=38400                   設定波特率

at&w                          儲存設定

at+cpin?                       查詢網路註冊情況

at+csq                         查詢訊號質量。

at+creg?                       查詢gsm網路註冊狀態

at+cgreg?                      查詢gprs網路註冊狀態

at+cgatt=1                     使模組附著gprs網路

at+cipmode=1                  設定透傳模式

at+cstt=cmnet                 設定apn

at+ciicr                        啟用移動場景,建立無線連線

at+cifsr                        獲取模組ip位址

at+cipstart=」 tcp」,」 yuganghua.3322.org」,」65005」  設定要連線的遠端伺服器網域名稱和埠,設定完成後反饋connect,表示建立連線。就可傳送資料了

原文: 

SIM800C我的風格 看流程AT

include sim800c.h include gtimer.h include gkbaseusart.h void post data stream to onenet void char sim init void static gk usartbase type puart null 使...

USART串列埠驅動SIM800L或者ESP8266

最近要驅動了sim800l發現自己用的程式好亂,今天寫個死的 include usart.h include stdio.h include string.h include delay.h function 把串列埠接收到的資料都存在usart rx buf中,把它定義成為全域性變數以供使用 另外...

USART串列埠驅動SIM800L或者ESP8266

最近要驅動了sim800l發現自己用的程式好亂,今天寫個死的 include usart.h include stdio.h include string.h include delay.h function 把串列埠接收到的資料都存在usart rx buf中,把它定義成為全域性變數以供使用 另外...