January 2018
Intermediate to advanced
524 pages
13h 33m
English
Since the topology of MQTT-SN is slightly more complicated than MQTT, a discovery process is used to establish routes through multiple gateways and forwarder nodes. Gateways joining an MQTT-SN topology start by binding to an MQTT broker first. Afterwards, it may issue an ADVERTISE packet to connected clients or other gateways. Multiple gateways can exist on the network, but a client may only connect to a single gateway. The client has the responsibility of storing a list of active gateways and their network addresses. This list is constructed from the various ADVERTISEMENT and GWINFO messages being broadcast.
Because of the new types of gateways and topologies in MQTT-SN, several new messages are available ...
Read now
Unlock full access