|
Wirepas SDK
|
|
Go to the documentation of this file.
7 #ifndef _POSLIB_EVENT_H_
8 #define _POSLIB_EVENT_H_
12 #define MAX_INTERNAL_EVENTS 16
@ POSLIB_CTRL_EVENT_OUTSIDE_WM
@ POSLIB_CTRL_EVENT_DATA_SENT
@ POSLIB_CTRL_EVENT_ONLINE
@ POSLIB_CTRL_EVENT_TIMEOUT
@ POSLIB_CTRL_EVENT_OFFLINE
@ POSLIB_CTRL_EVENT_SCAN_STARTED
bool PosLibEvent_add(poslib_internal_event_type_e type)
poslib_ret_e
Return codes of positioning functions.
@ POSLIB_CTRL_EVENT_CONFIG_CHANGE
poslib_events_e
Defines the events triggered by PosLib.
@ POSLIB_CTRL_EVENT_UPDATE_END
void(* poslib_events_listen_info_f)(POSLIB_FLAG_EVENT_info_t *msg)
Function used with POSLIB_FLAG_EVENT_setCb.
@ POSLIB_CTRL_EVENT_LED_OFF
@ POSLIB_CTRL_EVENT_BLE_START
poslib_internal_event_type_e type
poslib_ret_e PosLibEvent_register(poslib_events_e event, poslib_events_listen_info_f cb, uint8_t *id)
Register an PosLib event subscriber for.
void PosLibEvent_deregister(uint8_t id)
Deregister the PosLib event subscriber id.
poslib_internal_event_type_e
@ POSLIB_CTRL_EVENT_APPCFG
@ POSLIB_CTRL_EVENT_ONESHOT
@ POSLIB_CTRL_EVENT_SCAN_END
@ POSLIB_CTRL_EVENT_ROUTE_CHANGE
@ POSLIB_CTRL_EVENT_LED_ON
@ POSLIB_CTRL_EVENT_BLE_STOP
@ POSLIB_CTRL_EVENT_MOTION
@ POSLIB_CTRL_EVENT_UPDATE_START
@ POSLIB_CTRL_EVENT_UNDER_WM