Wirepas SDK
shared_neighbors.h
Go to the documentation of this file.
1 /* Copyright 2020 Wirepas Ltd. All Rights Reserved.
2  *
3  * See file LICENSE.txt for full license details.
4  *
5  */
6 #ifndef _SHARED_NEIGHBORS_H_
7 #define _SHARED_NEIGHBORS_H_
8 
9 #include "api.h"
10 
20 
32  uint16_t * cb_id);
33 
41 
53  (app_lib_state_on_scan_nbors_cb_f cb_scanned_neighbor,
54  uint16_t * cb_id);
55 
63 
64 #endif //_SHARED_NEIGHBORS_H_
app_lib_state_on_scan_nbors_cb_f
void(* app_lib_state_on_scan_nbors_cb_f)(void)
Function type for a neighbor scan completion callback.
Definition: state.h:301
app_lib_state_on_beacon_cb_f
void(* app_lib_state_on_beacon_cb_f)(const app_lib_state_beacon_rx_t *beacon)
Function type for a beacon reception callback.
Definition: state.h:309
Shared_Neighbors_addScanNborsCb
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.
Shared_Neighbors_init
app_res_e Shared_Neighbors_init(void)
Initialize the shared neighbors library.
Shared_Neighbors_removeBeaconCb
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.
Shared_Neighbors_removeScanNborsCb
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
app_res_e
Definition: app.h:201
Shared_Neighbors_addOnBeaconCb
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.
api.h