Expand description

IoT connector for bridging to the cloud or other IoT facilities.

This is a minimal version.

Objectives:

  1. process events from AWS related to the Device Shadow operations
    • these could be rules for processing messages from the device, e.g.: filtering by a whitelist or mapping of topics
    • these could be complex commands / tasks, e.g.: robot navigation targets / paths
  2. process events from AWS related to the IoT Shadow operations
    • e.g., initiating Certificate Rotation procedure
  3. process other IoT messages / events from cloud IoT, e.g.: messages directed to the device, e.g. specific short commands

Structs

IotMessage is a structure representing the topic and the payload of a message.

Functions

The on_iot_event function is called, when a message is received from cloud to: