Wirepas SDK
|
Header file for poslib_decode.c. More...
Go to the source code of this file.
Functions | |
bool | PosLibDecode_config (const uint8_t *buffer, uint32_t length, poslib_settings_t *settings, poslib_aux_settings_t *aux) |
Decodes received configuration. More... | |
Enumerations | |
enum | poslib_decode_msg_e { POSLIB_MEASUREMENT_RATE_STATIC = 0x01, POSLIB_OPERATING_MODE = 0x02, POSLIB_MEASUREMENT_RATE_DYNAMIC = 0x03, POSLIB_OTAP = 0x04, POSLIB_MEASUREMENT_RATE_OFFLINE = 0x05, POSLIB_NODE_ADDR_SELECTION = 0x06, POSLIB_BEACON = 0x08, POSLIB_DEVICE_CLASS_CHANGE = 0x0A, POSLIB_MOTION_THRESHOLD = 0x0B, POSLIB_MOTION_DURATION = 0x0C, POSLIB_LED_ON_DURATION = 0x0E, POSLIB_LED_CMD_SEQ = 0x0F } |
defines the available app-config commands. More... | |
bool PosLibDecode_config | ( | const uint8_t * | buffer, |
uint32_t | length, | ||
poslib_settings_t * | settings, | ||
poslib_aux_settings_t * | aux | ||
) |
Decodes received configuration.
bytes | Pointer to configuration |
num_bytes | Length of the configuration |
settings | Pointer to a poslib_settings_t structure where decoded settings will be stored |
enum poslib_decode_msg_e |
defines the available app-config commands.
Definition at line 13 of file poslib_decode.h.