EasyManua.ls Logo

Sunsea AIoT SimCom SIM7090G-EVB Kit - 7.2 Ping Tests; 7.3 TCP Functions

Default Icon
25 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SIM7090G EVB Kit User Guide V1.00
www.simcom.com
- 21 -
7.2 Ping Tests
AT Command Response Description
AT+CNACT=0,1
OK
+APP PDP: 0,ACTIVE
App Network Active.
AT+SNPDPID=0 OK Select PDP Index for PING
AT+SNPING4="www.bai
du.com",3,16,1000
+SNPING4: 1,180.97.33.108,147
+SNPING4: 2,180.97.33.108,546
+SNPING4: 3,180.97.33.108,278 OK
Sends IPv4 Ping request
7.3 TCP Functions
AT Command Response Description
AT+CNCFG=0,1,”ctnb” OK
Configure
PDP 0th,network type
ipv4/v6,APN is “ctnb” PDP, this needs to
set different APN values according to
different cards.
AT+CNACT=0,1
OK
+APP PDP: 0,ACTIVE
Activate network, Activate 0
th
PDP.
AT+CNACT?
+CNACT:0,1,"10.181.182.177"
+CNACT: 1,0,"0.0.0.0"
+CNACT: 2,0,"0.0.0.0"
+CNACT: 3,0,"0.0.0.0"
OK
Get local IP.
AT+CASSLCFG=0,"SSL",0 OK
Set the 0th connection’s SSL enable
option. If TCP/UDP connection, the
parameter is 0.
AT+CAOPEN=0,0,”TCP”, OK Create a TCP connection with 0th PDP