HCI Extended Advertisment Filtering#

Provides API to filter HCI extended advertising reports using RSSI and UUID values

Modules#

SL_ATTRIBUTE_PACKED

Functions#

Macros#

#define
SL_BT_HCI_FILTER_CONFIG_RSSI_ENABLE 0

Enable RSSI filtering. The bit position in the filter bitmap to enable RSSI filtering

#define
SL_BT_HCI_FILTER_CONFIG_RSSI_ENABLE_MASK (1 << SL_BT_HCI_FILTER_CONFIG_RSSI_ENABLE)
#define
SL_BT_HCI_FILTER_RSSI_MAX -30

Maximum RSSI threshold value for RSSI filtering.

#define
SL_BT_HCI_FILTER_RSSI_MIN -120

Minumum RSSI threshold value for RSSI filtering.

#define
SL_BT_HCI_FILTER_CONFIG_SERVICE_DATA_UUID_16_BIT_ENABLE 1

The bit position in the filter bitmap to enable 16-bit Service Data UUIDs filtering

#define
SL_BT_HCI_FILTER_CONFIG_SERVICE_DATA_UUID_16_BIT_ENABLE_MASK (1 << SL_BT_HCI_FILTER_CONFIG_SERVICE_DATA_UUID_16_BIT_ENABLE)
#define
SL_BT_HCI_FILTER_CONFIG_INCOMPLETE_UUID_16_BIT_ENABLE 2

The bit position in the filter bitmap to enable filtering of Incomplete Lists of 16-bit Service Class UUIDs

#define
SL_BT_HCI_FILTER_CONFIG_INCOMPLETE_UUID_16_BIT_ENABLE_MASK (1 << SL_BT_HCI_FILTER_CONFIG_INCOMPLETE_UUID_16_BIT_ENABLE)
#define
SL_BT_HCI_FILTER_CONFIG_COMPLETE_UUID_16_BIT_ENABLE 3

The Bit position in the filter bitmap to enable filtering of Complete lists of 16-bit Service Class UUIDs

#define
SL_BT_HCI_FILTER_CONFIG_COMPLETE_UUID_16_BIT_ENABLE_MASK (1 << SL_BT_HCI_FILTER_CONFIG_COMPLETE_UUID_16_BIT_ENABLE)
#define
SL_BT_HCI_FILTER_CONFIG_SERVICE_DATA_UUID_32_BIT_ENABLE 4

The bit position in the filter bitmap to enable 32-bit Service Data UUID filtering

#define
SL_BT_HCI_FILTER_CONFIG_SERVICE_DATA_UUID_32_BIT_ENABLE_MASK (1 << SL_BT_HCI_FILTER_CONFIG_SERVICE_DATA_UUID_32_BIT_ENABLE)
#define
SL_BT_HCI_FILTER_CONFIG_INCOMPLETE_UUID_32_BIT_ENABLE 5

The bit position in the filter bitmap to enable filtering of Incomplete Lists of 32-bit Service Class UUIDs

#define
SL_BT_HCI_FILTER_CONFIG_INCOMPLETE_UUID_32_BIT_ENABLE_MASK (1 << SL_BT_HCI_FILTER_CONFIG_INCOMPLETE_UUID_32_BIT_ENABLE)
#define
SL_BT_HCI_FILTER_CONFIG_COMPLETE_UUID_32_BIT_ENABLE 6

The bit position in the filter bitmap to enable filtering of Complete Lists of 32-bit Service Class UUIDs

#define
SL_BT_HCI_FILTER_CONFIG_COMPLETE_UUID_32_BIT_ENABLE_MASK (1 << SL_BT_HCI_FILTER_CONFIG_COMPLETE_UUID_32_BIT_ENABLE)
#define
SL_BT_HCI_FILTER_CONFIG_MASK undefined

Function Documentation#

sl_btctrl_hci_event_configure_filtering#

sl_status_t sl_btctrl_hci_event_configure_filtering (void * filter)
Parameters
TypeDirectionArgument NameDescription
void *N/Afilter

sl_btctrl_rssi_uuid_filtering_init#

sl_status_t sl_btctrl_rssi_uuid_filtering_init (void )
Parameters
TypeDirectionArgument NameDescription
voidN/A