AWS IoT Firmware
Firmware code for AWS IoT Devices
|
used for storing aws iot communication format More...
Go to the source code of this file.
Macros | |
#define | PAYLOAD_BEGIN "{payload:" |
#define | PAYLOAD_END "}" |
#define | PWR_CTRL_FMT "{%Q: %Q, %Q: %Q, %Q: %Q}" |
power controller devices reply format | |
#define | PWR_CTRL_TOTAL_ARG 6 |
power controller total arguments | |
#define | SPKR_CTRL_FMT "{%Q: %Q, %Q: %Q, %Q: %d}, {%Q: %Q, %Q: %Q, %Q: %B}" |
#define | SPKR_CTRL_TOTAL_ARG 12 |
#define | SPKR_ADJUST_VOL_PAYLOAD_FMT PAYLOAD_BEGIN "{volume:%d, volumeDefault:%B}" PAYLOAD_END |
#define | SPKR_ADJUST_VOL_PAYLOAD_TOTAL_ARG 2 |
#define | SPKR_SET_MUTE_PAYLOAD_FMT PAYLOAD_BEGIN "{mute:%B}" PAYLOAD_END |
#define | SPKR_SET_MUTE_PAYLOAD_TOTAL_ARG 1 |
#define | SPKR_SET_VOL_PAYLOAD_FMT PAYLOAD_BEGIN "{volume:%d}" PAYLOAD_END |
#define | SPKR_SET_VOL_PAYLOAD_TOTAL_ARG 1 |
#define | TEMP_SENSOR_FMT "{%Q: %Q, %Q: %Q, %Q: {%Q: %.1f, %Q: %Q}}" |
temperature controller devices reply format | |
#define | TEMP_SENSOR_TOTAL_ARG 9 |
temperature sensor reply total arguments | |
used for storing aws iot communication format
This file is used for storing reply format for each aws devices as well as their total arugments, the format contains some modifier that's usually not supported by printf like Q since they are supposed to be fed into the frozen json_printf, which supports them