Go to the source code of this file.
◆ Shared_Neighbors_addOnBeaconCb()
Add a new callback about beacon received.
- Parameters
-
cb_scanned_neighbor | New callback to set |
cb_id | id to be used with Shared_State_removeBeaconCb. Set only if return code is APP_RES_OK. |
- Returns
- APP_RES_OK if ok. See app_res_e for other result codes.
◆ Shared_Neighbors_init()
Initialize the shared neighbors library.
- Note
- If shared state library is used in application, the lib_state->setOnBeaconCb(), lib_state->setOnScanNborsCb(), functions offered by state library MUST NOT be used outside of this module.
- Returns
- APP_RES_OK.
◆ 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.
- Parameters
-