Encoder/Decoder application
Encoder/Decoder Application | Download | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||
NOTES: | |||||||||||||||||||||
MLR-HB-PiEU-AR REV 1.0 .0exe Application |
| ||||||||||||||||||||
MLR-HB-PiEU-AR REV 0.0 Javascript file |
| ||||||||||||||||||||
Use the above script (mlr-hb-p-decoder.js) to decode the packets coming from Multitech Gateway Eg. The MULTITECH Gateway sends the following JSON Output via MQTT
The payload is present in the "data" field as a base64 value
The base64 value is converted to HEX and the output is decoded using the "decode_MLRT_HB_P_Uplink" function The "decode_MLRT_HB_P_Uplink" function uses HEX Payload as input "data":"AAAzMgGA" in HEX
Example Decoded Output:
|