CPC H04L 67/55 (2022.05) [H04L 67/12 (2013.01); H04L 67/562 (2022.05)] | 18 Claims |
1. A method in a Message Queuing Telemetry Transport for Sensor Network (MQTT-SN) gateway, the method comprising:
establishing, by the MQTT-SN gateway, a connection with a first terminal device via a network exposure node, wherein the connection with the first terminal device is established according to an MQTT-SN protocol;
establishing, by the MQTT-SN gateway, a connection to an MQTT server according to an MQTT protocol;
translating between the MQTT-SN protocol and the MQTT protocol;
facilitating, by the MQTT-SN gateway, subscription of the first terminal device to a topic via the network exposure node;
receiving, by the MQTT-SN gateway, from a second terminal device, a first publishing message to publish data for the topic; and
transmitting a second publishing message, including at least a block to be published, from the MQTT-SN gateway towards the first terminal device via the network exposure node, wherein the second publishing message includes a first parameter indicating a size of the data to be published, a second parameter indicating whether there is a subsequent block for the data to be published, and a third parameter indicating a data block index.
|