ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev. 11 Page 947 of 1039 2021-09-23
3.24.12.15. AT#MQSNSOCK - Enable/disable MQTT-SN client socket
Performs the connection and login to the MQTT-SN Gateway
AT#MQSNSOCK=<instanceNumber>,<create>
Set command creates/closes UDP socket for MQTT-SN client. User can
either directly Publish on QoS -1 after creating the socket or can connect
to the gateway and then perform other MQTT-SN operations.
Parameters:
Selects the client instance. The
number of available clients is
obtained with the test command.
To know maxClients value use
test command.
Sets if the selected client socket
must be created or closed
Close socket. To be used when client is in
socket connected state