nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ ble_scan_evt_type

#include <ble_scan.h>

Scan events.

These events are propagated by the library if a handler is provided as part of the initialization configuration.

Note
A BLE_SCAN_EVT_ALLOW_LIST_REQUEST event cannot be ignored if the allow list is used.
Enumerator
BLE_SCAN_EVT_FILTER_MATCH 

A filter is matched, or all filters are matched in the multifilter mode.

BLE_SCAN_EVT_ALLOW_LIST_REQUEST 

An allow list must be provided to the SoftDevice.

For allow list scanning to work, the allow list must be set when this event occurs.

BLE_SCAN_EVT_ALLOW_LIST_ADV_REPORT 

A device from the allow list is found.

BLE_SCAN_EVT_NOT_FOUND 

The filter was not matched for the scan data.

BLE_SCAN_EVT_SCAN_TIMEOUT 

Scan timeout.

BLE_SCAN_EVT_CONNECTING_ERROR 

An error occurred when establishing the connection.

In this event, an error is passed from the function call sd_ble_gap_connect.

BLE_SCAN_EVT_CONNECTED 

Connected to device.

BLE_SCAN_EVT_ERROR 

Error.