Sample scripts

IMPACT IoT provides the following javascripts that are used to encode or decode the payload data of different formats:

Note: The scripts are only provided as examples. These can be modified as per the requirement.
  • gprs_pulse_json_codec.js
  • lora_cyble_b64_codec.js
  • lora_pulse_hex_codec.js
  • codec_util.js

The subsequent sections provide the content of the above scripts supplied by IMPACT IoT.