Wirepas SDK
poslib_decode.h
Go to the documentation of this file.
1
7
#ifndef _POSLIB_DECODE_H_
8
#define _POSLIB_DECODE_H_
9
13
typedef
enum
14
{
15
POSLIB_MEASUREMENT_RATE_STATIC
= 0x01,
16
POSLIB_OPERATING_MODE
= 0x02,
17
POSLIB_MEASUREMENT_RATE_DYNAMIC
= 0x03,
18
POSLIB_OTAP
= 0x04,
19
POSLIB_MEASUREMENT_RATE_OFFLINE
= 0x05,
20
POSLIB_NODE_ADDR_SELECTION
= 0x06,
21
POSLIB_BEACON
= 0x08,
22
POSLIB_DEVICE_CLASS_CHANGE
= 0x0A,
23
POSLIB_MOTION_THRESHOLD
= 0x0B,
24
POSLIB_MOTION_DURATION
= 0x0C,
25
POSLIB_LED_ON_DURATION
= 0x0E,
26
POSLIB_LED_CMD_SEQ
= 0x0F,
27
}
poslib_decode_msg_e
;
28
41
bool
PosLibDecode_config
(
const
uint8_t * buffer, uint32_t length,
42
poslib_settings_t
* settings,
poslib_aux_settings_t
* aux);
43
44
#endif
POSLIB_MEASUREMENT_RATE_OFFLINE
@ POSLIB_MEASUREMENT_RATE_OFFLINE
Definition:
poslib_decode.h:19
POSLIB_MEASUREMENT_RATE_DYNAMIC
@ POSLIB_MEASUREMENT_RATE_DYNAMIC
Definition:
poslib_decode.h:17
POSLIB_MEASUREMENT_RATE_STATIC
@ POSLIB_MEASUREMENT_RATE_STATIC
Definition:
poslib_decode.h:15
POSLIB_OPERATING_MODE
@ POSLIB_OPERATING_MODE
Definition:
poslib_decode.h:16
POSLIB_LED_ON_DURATION
@ POSLIB_LED_ON_DURATION
Definition:
poslib_decode.h:25
poslib_decode_msg_e
poslib_decode_msg_e
defines the available app-config commands.
Definition:
poslib_decode.h:13
POSLIB_LED_CMD_SEQ
@ POSLIB_LED_CMD_SEQ
Definition:
poslib_decode.h:26
POSLIB_DEVICE_CLASS_CHANGE
@ POSLIB_DEVICE_CLASS_CHANGE
Definition:
poslib_decode.h:22
poslib_settings_t
position library settings.
Definition:
poslib.h:276
PosLibDecode_config
bool PosLibDecode_config(const uint8_t *buffer, uint32_t length, poslib_settings_t *settings, poslib_aux_settings_t *aux)
Decodes received configuration.
POSLIB_BEACON
@ POSLIB_BEACON
Definition:
poslib_decode.h:21
POSLIB_NODE_ADDR_SELECTION
@ POSLIB_NODE_ADDR_SELECTION
Definition:
poslib_decode.h:20
POSLIB_MOTION_DURATION
@ POSLIB_MOTION_DURATION
Definition:
poslib_decode.h:24
POSLIB_OTAP
@ POSLIB_OTAP
Definition:
poslib_decode.h:18
poslib_aux_settings_t
positioning library auxiliary settings
Definition:
poslib.h:301
POSLIB_MOTION_THRESHOLD
@ POSLIB_MOTION_THRESHOLD
Definition:
poslib_decode.h:23