MessageType

The Sidewalk library message types.

The messages from cloud / mobile services to the Sidewalk device are designated as “Downlink Messages” The messages from Sidewalk device to cloud / mobile services are designated as “Uplink Messages”.

  • get

    Maps to SID_MSG_TYPE_GET.

    SID_MSG_TYPE_GET is used by the sender to retrieve information from the receiver, the sender expects a mandatory response from the receiver. On reception of SID_MSG_TYPE_GET, the receiver is expected to send a message with type.

  • set

    Maps to SID_MSG_TYPE_SET.

    SID_MSG_TYPE_SET indicates that the sender is expecting the receiver to take an action on receiving the message and the sender does not expect a response. SID_MSG_TYPE_SET type is used typically by cloud services to trigger an action to be preformed by the Sidewalk device. Typical users for this message type are downlink messages.

  • Maps to SID_MSG_TYPE_NOTIFY.

    SID_MSG_TYPE_NOTIFY is used to notify cloud services of any periodic events or events triggered/originated from the device. Cloud services do not typically use SID_MSG_TYPE_NOTIFY as the nature of messages from cloud services to the devices are explicit commands instead of notifications. Typical users for this message type are uplink messages.

  • Maps to SID_MSG_TYPE_RESPONSE.

    SID_MSG_TYPE_RESPONSE is sent as a response to the message of type SID_MSG_TYPE_GET. The sender of SID_MSG_TYPE_RESPONSE is required to the copy the message id received in the message of type SID_MSG_TYPE_GET. Both uplink and downlink messages use this message type.