EasyManua.ls Logo

Quectel BC26 - Network Commands - Socket; AT+QSOC Create a TCP;UDP Socket

Quectel BC26
73 pages
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...
NB-IoT Module Series
BC26 AT Commands Manual
BC26_AT_Commands_Manual 48 / 73
5 Network Commands – Socket
The AT command names listed below are temporary, and may be changed in the future release.
5.1. AT+QSOC Create a TCP/UDP Socket
This command creates a TCP or UDP socket.
Parameter
AT+QSOC Create a TCP/UDP Socket
Write Command
AT+QSOC=<domain>,<type>,<protoc
ol>[,<cid>]
Response
+QSOC=<socket_id>
OK
If there is any error, response:
ERROR
Test Command
AT+QSOC=?
Response
+QSOC=(list of supported <domain>s),(list of supported
<type>s),(list of supported <protocol>s)[,(list of supported
<cid>s)]
OK
<domain> Integer type;
1 IPv4
2 IPv6
<type> Integer type;
1 TCP
2 UDP
3 RAW
<protocol> Integer type;
1 IP
2 ICMP
<cid> Integer type; PDP context ID, AT+QGACT response.

Table of Contents

Related product manuals