This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:iot-open:remotelab:itt:controlmodule [2019/10/29 14:40] – pczekalski | en:iot-open:remotelab:itt:controlmodule [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 38: | Line 38: | ||
| ==== Software, libraries and externals ==== | ==== Software, libraries and externals ==== | ||
| - | To program the controller module ITTIoT library is used. This is a custom library made specifically for ITT IoT kits. It aims to make the board easier to use with simple but yet effective methods. | + | To program the controller module ITTIoT library is used. This is a custom library made specifically for ITT IoT kits. It aims to make the board easier to use with simple but yet effective methods. |
| - | <table Ref.Tab.1.1> | ||
| - | < | ||
| ^ Method ^ Description ^ | ^ Method ^ Description ^ | ||
| | iot.setup() | Does the operations necessary for setting up the ITTIoT framework and MQTT communications.| | | iot.setup() | Does the operations necessary for setting up the ITTIoT framework and MQTT communications.| | ||
| Line 50: | Line 48: | ||
| | iot.received(String topic, String msg) | User-defined method that is called when the controller receives a message from one of the subscribed topics. The topic from which the message is received is the string " | | iot.received(String topic, String msg) | User-defined method that is called when the controller receives a message from one of the subscribed topics. The topic from which the message is received is the string " | ||
| | iot.publishMsgTo(String topic, String msg, bool retain) | Publishes the message " | | iot.publishMsgTo(String topic, String msg, bool retain) | Publishes the message " | ||
| - | </ | + | |
| ==== Communication ==== | ==== Communication ==== | ||