NB-IoT Module Series
BC26 AT Commands Manual
BC26_AT_Commands_Manual 49 / 73
5.2. AT+QSOB Bind Local Address and Local Port
This command is used to bind local address and local port. Used chiefly set local port.
Parameter
5.3. AT+QSOCON Connect Socket to Remote Address and Port
This command is used to connect socket to remote address and port.
If the socket is TCP, it will start to send TCP SYN packet; if the socket is UDP, there is no packet being
sent.
AT+QSOB Bind Local Address and Local Port
Write Command
AT+QSOB=<socket_id>,<local_port>[
,<local_address>]
Response
OK
If there is any error, response:
ERROR
Test Command
AT+QSOB=?
Response
+QSOB=
(list of supported
<socket_id>
s),(list of supported
<local_port>
s)
[,<local_address>]
OK
<socket_id>
Integer, socket id, AT+QSO
C’s response. Range: 0-4
<local_port>
Integer, local port. Range: 0-65535
<local_address>
String, local address.
AT+QSOCON Connect Socket to Remote Address and Port
Write Command
AT+QSOCON=<socket_id>,<remote_
port>,<remote_address>
Response
OK
If there is any error, response:
ERROR
Test Command
AT+QSOCON=?
Response
+QSOCON=
(list
of
supported
<socket_id>
s),(list
of
supported
<remote_port>
s)
,<remote_address>
OK