 |
Wirepas SDK
|
|
Go to the documentation of this file.
6 #ifndef _SHARED_NEIGHBORS_H_
7 #define _SHARED_NEIGHBORS_H_
64 #endif //_SHARED_NEIGHBORS_H_
void(* app_lib_state_on_scan_nbors_cb_f)(void)
Function type for a neighbor scan completion callback.
void(* app_lib_state_on_beacon_cb_f)(const app_lib_state_beacon_rx_t *beacon)
Function type for a beacon reception callback.
app_res_e Shared_Neighbors_addScanNborsCb(app_lib_state_on_scan_nbors_cb_f cb_scanned_neighbor, uint16_t *cb_id)
Add a new callback about state when when neighbor scan is complete.
app_res_e Shared_Neighbors_init(void)
Initialize the shared neighbors library.
app_res_e Shared_Neighbors_removeBeaconCb(uint16_t cb_id)
Remove a received beacon item from the list. Removed item fields are all set to 0.
app_res_e Shared_Neighbors_removeScanNborsCb(uint16_t cb_id)
Remove a neighbor scan complete cb item from the list. Removed item fields are all set to 0.
app_res_e Shared_Neighbors_addOnBeaconCb(app_lib_state_on_beacon_cb_f cb_scanned_neighbor, uint16_t *cb_id)
Add a new callback about beacon received.