Send Messages (MT)
The ability to easily send Messages to Devices without needing to know the minutia of each protocol is a compelling benefit of the platform. The platform exposes a number of endpoints for this purpose, depending on the protocol the Device utilises.
SBD Message (RockBLOCK or 9602/9603)
The RockBLOCK doesn't have any inherent protocol; you can send any payload (up to a maximum of 270 bytes).
thing
- Cloudloop Thing Identifier for Devicemesssage
- Base16 (Hex) encoded payload you wish to send
Example (Sending Hello World
to Thing):
Data/DoSendSbdMessage?thing=XXX&message=48656c6c6f20576f726c64
Endpoint: Data/DoSendSbdMessage
IMT Message (RockREMOTE)
The RockREMOTE supports both "RAW" IMT messages as well as IoT Gateway Messages; you can send any payload (up to a maximum of 100 kilobytes).
thing
- Cloudloop Thing Identifier for Devicemesssage
- Base64 encoded payload you wish to send
Example (Sending Hello World
to Thing):
Data/DoSendImtMessage?thing=XXX&message=SGVsbG8gV29ybGQ=
Endpoint: Data/DoSendImtMessage
P6 Message (RockSTAR, RockFLEET or RockAIR)
As defined by the P6 Protocol use the following endpoint to send Messages to Tracking Devices.
thing
- Cloudloop Thing Identifier for Devicep6
- JSON EncodedP6MtMessage
Example (Sending Hello
to screen of Thing):
Data/DoSendP6Message?thing=XXX&p6={"type":"MT_MESSAGE_TEXT","textMessage":{"message":"Hello"}}
Endpoint: Data/DoSendP6Message