Implementing Converter

The end node features are to be implemented on the converter that runs on the gateway. The converter communicates with the end node and relays the request from the end node to an MQTT interface that the gateway agent supports.

The following features are to be implemented on the converter.

Features MQTT Command Direction
Connecting to gateway CONNECT
Converter → Gateway
Converter ← Gateway
Preparing to receive command SUBSCRIBE Converter → Gateway
Registering state PUBLISH Converter → Gateway
Receiving commands PUBLISH Converter ← Gateway
Sending command result PUBLISH Converter ← Gateway