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 
42 #endif //_SHARED_NEIGHBORS_H_
app_res_e
app_res_e
Definition: wms_app.h:201
Shared_Neighbors_init
app_res_e Shared_Neighbors_init(void)
Initialize the shared neighbors library.
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: wms_state.h:330
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_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