Script chaining
To avoid complexity, scripts are separated into core codec functions and helper/utility functions as two separate script files. When a codec function script is executed, the associated utility script is preloaded. This process is known as script chaining.
As examples,
- Refer to utility script codec_util.js script
- Refer to codec script lora_pulse_hex_codec.js script