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 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_addOnBeaconCb(app_lib_state_on_beacon_cb_f cb_scanned_neighbor, uint16_t *cb_id)
Add a new callback about beacon received.
app_res_e
Definition wms_app.h:202
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:334