Base64 transformation format
The following are some example scenarios when a device uses Binary (B64) string format to send and receive the payload data from the application server:
Uplink payload data
Workflow: Uplink
Operation: When the device boots up, device registration is triggered.
Data sent from the device: ABYBEkwAAQIQ
This triggers a registration of the device.
Result:
Data received by the network: Device/0/Firmware = 012
Dowlink payload data
Workflow: Downlink
Operation: To reset the status
Data sent from IMPACT Console to the API:
Water/0/StatusReset=1
Result:
Data sent to the device: 012D00
Reference: For an example of base64 transformation script, see lora_cyble_b64_codec.js script section.