Wirepas SDK
poslib_da.h File Reference

Header file for poslib_da.c. More...

Detailed Description

Header file for poslib_da.c.

Definition in file poslib_da.h.

Go to the source code of this file.

Functions

bool PosLibDa_start (poslib_settings_t *settings)
 Starts the DA module with functionality required by node positioning mode. More...
 
void PosLibDa_stop ()
 Stops the DA module. More...
 
app_lib_data_send_res_e PosLibDa_sendData (app_lib_data_to_send_t *data, app_lib_data_data_sent_cb_f sent_cb)
 Sends data for DA tags. More...
 

Macros

#define POSLIB_DA_SRC_EP   POS_SOURCE_ENDPOINT
 
#define POSLIB_DA_DEST_EP   POS_DESTINATION_ENDPOINT
 

Function Documentation

◆ PosLibDa_sendData()

app_lib_data_send_res_e PosLibDa_sendData ( app_lib_data_to_send_t data,
app_lib_data_data_sent_cb_f  sent_cb 
)

Sends data for DA tags.

Parameters
datapointer to data to sent app_lib_data_to_send_t sent_cb data sent callback
Returns
sent result code. see app_lib_data_send_res_e

◆ PosLibDa_start()

bool PosLibDa_start ( poslib_settings_t settings)

Starts the DA module with functionality required by node positioning mode.

Parameters
void
Returns
bool true: DA started succesfully ; false: error occured

◆ PosLibDa_stop()

void PosLibDa_stop ( )

Stops the DA module.

Parameters
void
Returns
void

Macro Definition Documentation

◆ POSLIB_DA_DEST_EP

#define POSLIB_DA_DEST_EP   POS_DESTINATION_ENDPOINT

Definition at line 11 of file poslib_da.h.

◆ POSLIB_DA_SRC_EP

#define POSLIB_DA_SRC_EP   POS_SOURCE_ENDPOINT

Definition at line 10 of file poslib_da.h.