  | 
        
           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 
  116 #define POSLIB_FLAG_EVENT_SUBSCRIBERS_MAX 8 
  184 #define POSLIB_MBCN_RECORD_MAX_SIZE 16 
  187 #define POSLIB_MBCN_RECORDS 8 
  189 #define POSLIB_MBCN_SRC_EP 238 
  190 #define POSLIB_MBCN_DEST_EP 238 
  
 
@ POSLIB_FLAG_EVENT_OFLINE
 
@ POSLIB_FLAG_EVENT_UPDATE_END
 
position library motion settings.
 
uint32_t update_period_static_s
 
@ POSLIB_MBCN_TX_INTERVAL_500
 
app_lib_data_send_res_e PosLib_sendData(app_lib_data_to_send_t *data, app_lib_data_data_sent_cb_f sent_cb)
Send data. The packet to send is represented as a app_lib_data_to_send_t struct. In node has Advertis...
 
app_lib_data_send_res_e
A result code returned from lib_data->sendData().
 
app_lib_beacon_tx_channels_mask_e channels
 
bool PosLib_decodeMbcn(uint8_t *buf, uint8_t length, poslib_mbcn_data_t *mbcn)
Decodes the mini-beacon payload.
 
poslib_ret_e PosLib_motion(poslib_motion_mode_e mode)
Used to indicate that the tag is static or dynamic. The update rate used will be adjusted according t...
 
@ POSLIB_FLAG_EVENT_CONFIG_CHANGE
 
poslib_mbcn_tx_interval_e
 
poslib_ble_mode_config_t eddystone
 
defines mini-beacon configuration.
 
void PosLib_eventDeregister(uint8_t id)
De-register the event subscriber with the provided id.
 
#define POSLIB_MBCN_RECORD_MAX_SIZE
 
@ POSLIB_FLAG_EVENT_ONLINE
 
uint32_t nrls_sleep_time_sec
 
@ POSLIB_MBCN_TX_INTERVAL
 
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.
 
defines mini-beacon data payload.
 
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.
 
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.
 
void(* app_lib_data_data_sent_cb_f)(const app_lib_data_sent_status_t *status)
Sent packet tracking callback.
 
defines BLE mode mode configuration.
 
@ 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
 
defines mini-beacon record.
 
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
 
A struct for lib_data->sendData().
 
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
 
position library DA settings.
 
poslib_class_e
defines the device's operational class.
 
poslib_motion_mon_settings_t motion
 
app_lib_beacon_tx_channels_mask_e
 
@ POSLIB_CLASS_NODE_SPECIFIC
 
#define POSLIB_MBCN_RECORDS
 
@ POSLIB_MBCN_INVALID_TYPE
 
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.
 
poslib_mbcn_record_types_e
defines the mini-beacon payload records 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_MBCN_TX_INTERVAL_DEFAULT
 
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
 
@ POSLIB_FLAG_EVENT_UPDATE_START
 
@ POSLIB_FLAG_EVENT_BLE_STOP
 
@ POSLIB_FLAG_EVENT_BLE_START
 
uint16_t led_on_duration_s
 
poslib_mbcn_config_t mbcn
 
uint32_t app_lib_time_timestamp_hp_t
Highest-precision timestamp type available on the platform.
 
positioning library auxiliary settings
 
poslib_status_e
defines status returned in PosLib_status().
 
position library ble settings.
 
@ POSLIB_MBCN_TX_INTERVAL_250
 
@ POSLIB_FLAG_EVENT_LED_ON