 |
Wirepas SDK
|
|
Go to the documentation of this file.
10 #if (APP_LIB_STATE_VERSION > 0x205)
18 #define POS_DESTINATION_ENDPOINT 238
19 #define POS_SOURCE_ENDPOINT 238
24 #define POSLIB_MIN_MEAS_RATE_S 8
25 #define POSLIB_MAX_MEAS_RATE_S 86400
30 #define POSLIB_VOLTAGE_SAMPLING_MAX_S 60
31 #define POSLIB_VOLTAGE_FILTER_SAMPLES 30
115 #define POSLIB_FLAG_EVENT_SUBSCRIBERS_MAX 8
@ POSLIB_FLAG_EVENT_OFLINE
@ POSLIB_FLAG_EVENT_UPDATE_END
position library motion settings.
uint32_t update_period_static_s
app_lib_beacon_tx_channels_mask_e channels
poslib_ret_e PosLib_motion(poslib_motion_mode_e mode)
Is used to indicate that the tag is static or dynamic. The update rate used will be adjusted accordin...
@ POSLIB_FLAG_EVENT_CONFIG_CHANGE
poslib_ble_mode_config_t eddystone
void PosLib_eventDeregister(uint8_t id)
Clears a callback for the requested event.
@ POSLIB_FLAG_EVENT_ONLINE
uint32_t nrls_sleep_time_sec
poslib_class_e node_class
poslib_motion_mode_e
defines the position motion mode.
@ POSLIB_FLAG_EVENT_LED_OFF
poslib_ret_e
Return codes of positioning functions.
poslib_ret_e PosLib_startOneshot(void)
Triggers one position update. If PosLib is started the scheduled operation will continue after the on...
poslib_ret_e PosLib_setConfig(poslib_settings_t *settings)
Sets PosLib configuration.
app_lib_beacon_tx_channels_mask_e
poslib_mode_e
defines the device's positioning mode.
poslib_ble_mode_e
defines the state (started/stopped) of the BLE beacon sent by PosLib
poslib_ret_e PosLib_stopPeriodic(void)
Stops the positioning updates.
defines BLE mode mode configration.
@ POSLIB_MODE_AUTOSCAN_ANCHOR
poslib_ret_e PosLib_getConfig(poslib_settings_t *settings)
Gets PosLib configuration.
@ POS_RET_EVENT_REG_ERROR
@ POSLIB_BLE_ON_WHEN_OFFLINE
poslib_events_e
Defines the events triggered by PosLib.
@ POSLIB_MODE_OPPORTUNISTIC_ANCHOR
ble_beacon_settings_t ble
poslib_status_e PosLib_status(void)
Returns the current status of PosLib.
@ POS_RET_MOTION_NOT_ENABLED
uint32_t update_period_dynamic_s
void(* poslib_events_listen_info_f)(POSLIB_FLAG_EVENT_info_t *msg)
Function used with POSLIB_FLAG_EVENT_setCb.
uint16_t activation_delay_s
poslib_class_e
defines the device's operational class.
poslib_motion_mon_settings_t motion
@ POSLIB_CLASS_NODE_SPECIFIC
poslib_ret_e PosLib_eventRegister(poslib_events_e event, poslib_events_listen_info_f cb, uint8_t *id)
Register an event subscriber.
app_lib_time_timestamp_hp_t time_hp
poslib_ble_type_e
Beacon devices types.
position library settings.
@ POSLIB_MODE_AUTOSCAN_TAG
void(* poslib_events_callback_f)(poslib_events_listen_info_f callback)
This callback is used to receive Poslib generated events.
poslib_ret_e PosLib_startPeriodic(void)
Start the positioning updates according to provided configuration. Calls PosLib initialization functi...
poslib_ble_mode_config_t ibeacon
uint32_t update_period_offline_s
uint32_t app_lib_time_timestamp_hp_t
Highest-precision timestamp type available on the platform.
@ POSLIB_FLAG_EVENT_UPDATE_START
@ POSLIB_FLAG_EVENT_BLE_STOP
@ POSLIB_FLAG_EVENT_BLE_START
uint16_t led_on_duration_s
positioning library auxiliary settings
poslib_status_e
defines status returned in PosLib_status().
position library ble settings.
@ POSLIB_FLAG_EVENT_LED_ON