1vv0301515 Rev.1
Page 56 of 59
2018-07-18
Connection to an Echo TCP Server
Power on the module, the SIM is inserted.
+EUSIM: 1
SIM is detected
Data account id, total 3 accounts.
AT+EGDCONT=?
+EGDCONT: (0-2),"IP",,,,
OK
Define TCP/IP data account.
AT+EGDCONT=0,"IP","APN"
OK
AT+EGDCONT?
+EGDCONT: 0,"IP","APN"
setting is not saved in NVM
OK
Activate PDP. Data account id = 0
AT+ETCPIP=1,0
OK
Create a socket and return socket id. Connection to an echo TCP server.
1: create e socket and returns its id
0: data account id
0: TCP
"…": destination IP address
"…": destination port
AT+ETL=1,0,0,"XXX.YY.YYY.XXX",20510
+ETL: 1
socket id=1
OK
Using the socket id=1, send data
AT+EIPSEND=1,"0123456789"
+EIPSEND: 1, 5
OK
+ESOCK: 1 READY RECV
URC that notifies the data reception
Receive data
AT+EIPRECV=1
+EIPRECV: 1,"0123456789"
OK
Close socket id=1
AT+ETL=0,1
OK
Содержание GL865-QUAD V4
Страница 1: ...GL865 QUAD V4 Module Software User Guide 1vv0301515 Rev 1 2018 07 18...
Страница 11: ...1vv0301515 Rev 1 Page 11 of 59 2018 07 18 Related Documents 1 GL865 QUAD V4 Hardware User Guide 1vv0301518...
Страница 14: ...1vv0301515 Rev 1 Page 14 of 59 2018 07 18 Check the module identification AT CGMM GL865 QUAD V4 OK...
Страница 49: ...1vv0301515 Rev 1 Page 49 of 59 2018 07 18 Establish the voice call using the index ATD 3 OK...
Страница 59: ...04 2016 Mod 0815...