None
6.59
AT+S.MQTTSUB
To subscribe topic to an MQTT broker.
Usage:
AT+S.MQTTSUB=0,<topic>,[<QoS>]<cr>
Parameters:
<topic>
Topic where the node subscribes
<QoS>
Default:0. Values Range: 0 → at most once delivery; 1 → at
least one delivery; 2 → exactly one delivery
6.60
AT+S.MQTTUNSUB
To unsubscribe topic from an MQTT broker.
Usage:
AT+S.MQTTUNSUB=0,<topic><cr>
Parameters:
<topic>
Topic where the node unsubscribes
6.61
AT+S.WSOCKON
The module supports the usage of two web socket clients. The command returns the ID that is used in the
corresponding commands.
The MQTT layer is built on top of web sockets. This means that (when an MQTT broker has been connected
through AT+S.MQTTCONN) the total amount of available web sockets decreases to just 1. Note that it is not
possible to run another AT+S.WSOCKON to the same web socket server.
Usage:
AT+S.WSOCKON=<hostname>,[<port>],[<path>],[<TLS>],[<username>],[<passwd>],
[<origin>],[<protocols>],[<extensions>]<cr>
Parameters:
<hostname>
DNS resolvable name or IP address of the web socket server
<port>
Default 80 (if TLS=0) or 443 (if TLS>0)
UM2114
AT+S.MQTTSUB
UM2114
-
Rev 3
page 37/66