Library for Eddystone beacons. This library is used in the Eddystone Beacon Application.
More...
Library for Eddystone beacons. This library is used in the Eddystone Beacon Application.
- Note
- The API documentation is provided for reference only. You should not modify this library, and you should not use any functions except for the main level functions defined in
nrf_ble_es.h
in different contexts.
Eddystone event types.
Enumerator |
---|
NRF_BLE_ES_EVT_ADVERTISEMENT_SENT |
A non-connectable Eddystone frame advertisement was sent.
|
NRF_BLE_ES_EVT_CONNECTABLE_ADV_STARTED |
Advertising in connectable mode was started.
|
Function for initializing the Eddystone library.
- Parameters
-
[in] | evt_handler | Event handler to be called for handling BLE events. |
void nrf_ble_es_on_ble_evt |
( |
ble_evt_t const * |
p_ble_evt, |
|
|
void * |
p_context |
|
) |
| |
Function for handling the application's BLE stack events.
This function handles all events from the BLE stack that are of interest to the Eddystone library.
- Parameters
-
[in] | p_ble_evt | Event received from the BLE stack. |
[in] | p_context | User parameter. |
void nrf_ble_es_on_start_connectable_advertising |
( |
void |
| ) |
|
Function for putting the beacon in connectable mode.
This function makes the beacon advertise connectable advertisements. If the beacon is in a connected state, the request is ignored.