  | 
        
           Wirepas SDK
           
         | 
        
          
         | 
      
    
  
 
  
  
 
Go to the documentation of this file.
    7 #ifndef _POSLIB_CONTROL_H_ 
    8 #define _POSLIB_CONTROL_H_ 
  
 
void PosLibCtrl_setAppConfig(const uint8_t *cfg, uint8_t len)
 
poslib_ret_e PosLibCtrl_motion(poslib_motion_mode_e mode)
Adjust the update rate according to motion state (static/dynamic)
 
poslib_motion_mode_e
defines the position motion mode.
 
poslib_ret_e PosLibCtrl_startPeriodic(void)
Starts periodic positioning update.
 
poslib_ret_e
Return codes of positioning functions.
 
poslib_state_e
PosLib control internal state definitions.
 
void PosLibCtrl_processEvent(poslib_internal_event_t *event)
Process the internal event.
 
poslib_ret_e PosLibCtrl_stopPeriodic(void)
Stops periodic positioning update.
 
poslib_ret_e PosLibCtrl_setConfig(poslib_settings_t *settings)
Sets new configration to PosLib.
 
poslib_ret_e PosLibCtrl_getConfig(poslib_settings_t *settings)
Returns the current PosLib configuration.
 
void PosLibCtrl_getAppConfig(uint8_t **cfg, uint8_t *len)
Returns the current app config payload.
 
Header file for the poslib_event.c.
 
poslib_ret_e PosLibCtrl_startOneshot(void)
Triggers a single position update imediatelly.
 
position library settings.
 
poslib_status_e PosLibCtrl_status(void)
Returns the current status of PosLib.
 
poslib_status_e
defines status returned in PosLib_status().