nRF5 SDK v17.1.0
Macros
Scanning Module configuration

Macros

#define NRF_BLE_SCAN_ENABLED
 Enabling the Scanning Module. More...
 
#define NRF_BLE_SCAN_BUFFER
 Data length for an advertising set. More...
 
#define NRF_BLE_SCAN_NAME_MAX_LEN
 Maximum size for the name to search in the advertisement report. More...
 
#define NRF_BLE_SCAN_SHORT_NAME_MAX_LEN
 Maximum size of the short name to search for in the advertisement report. More...
 
#define NRF_BLE_SCAN_SCAN_INTERVAL
 Scanning interval. Determines the scan interval in units of 0.625 millisecond. More...
 
#define NRF_BLE_SCAN_SCAN_DURATION
 Duration of a scanning session in units of 10 ms. Range: 0x0001 - 0xFFFF (10 ms to 10.9225 ms). If set to 0x0000, the scanning continues until it is explicitly disabled. More...
 
#define NRF_BLE_SCAN_SCAN_WINDOW
 Scanning window. Determines the scanning window in units of 0.625 millisecond. More...
 
#define NRF_BLE_SCAN_MIN_CONNECTION_INTERVAL
 Determines minimum connection interval in milliseconds. More...
 
#define NRF_BLE_SCAN_MAX_CONNECTION_INTERVAL
 Determines maximum connection interval in milliseconds. More...
 
#define NRF_BLE_SCAN_SLAVE_LATENCY
 Determines the slave latency in counts of connection events. More...
 
#define NRF_BLE_SCAN_SUPERVISION_TIMEOUT
 Determines the supervision time-out in units of 10 millisecond. More...
 
#define NRF_BLE_SCAN_SCAN_PHY
 PHY to scan on. More...
 
#define NRF_BLE_SCAN_FILTER_ENABLE
 Enabling filters for the Scanning Module. More...
 
#define NRF_BLE_SCAN_UUID_CNT
 Number of filters for UUIDs. More...
 
#define NRF_BLE_SCAN_NAME_CNT
 Number of name filters. More...
 
#define NRF_BLE_SCAN_SHORT_NAME_CNT
 Number of short name filters. More...
 
#define NRF_BLE_SCAN_ADDRESS_CNT
 Number of address filters. More...
 
#define NRF_BLE_SCAN_APPEARANCE_CNT
 Number of appearance filters. More...
 

Detailed Description

Macro Definition Documentation

#define NRF_BLE_SCAN_ADDRESS_CNT

Number of address filters.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_APPEARANCE_CNT

Number of appearance filters.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_BUFFER

Data length for an advertising set.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_ENABLED

Enabling the Scanning Module.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_FILTER_ENABLE

Enabling filters for the Scanning Module.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_MAX_CONNECTION_INTERVAL

Determines maximum connection interval in milliseconds.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_MIN_CONNECTION_INTERVAL

Determines minimum connection interval in milliseconds.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_NAME_CNT

Number of name filters.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_NAME_MAX_LEN

Maximum size for the name to search in the advertisement report.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_SCAN_DURATION

Duration of a scanning session in units of 10 ms. Range: 0x0001 - 0xFFFF (10 ms to 10.9225 ms). If set to 0x0000, the scanning continues until it is explicitly disabled.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_SCAN_INTERVAL

Scanning interval. Determines the scan interval in units of 0.625 millisecond.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_SCAN_PHY

PHY to scan on.

Following options are available:

  • 0 - BLE_GAP_PHY_AUTO
  • 1 - BLE_GAP_PHY_1MBPS
  • 2 - BLE_GAP_PHY_2MBPS
  • 4 - BLE_GAP_PHY_CODED
  • 255 - BLE_GAP_PHY_NOT_SET
Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_SCAN_WINDOW

Scanning window. Determines the scanning window in units of 0.625 millisecond.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_SHORT_NAME_CNT

Number of short name filters.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_SHORT_NAME_MAX_LEN

Maximum size of the short name to search for in the advertisement report.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_SLAVE_LATENCY

Determines the slave latency in counts of connection events.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_SUPERVISION_TIMEOUT

Determines the supervision time-out in units of 10 millisecond.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_SCAN_UUID_CNT

Number of filters for UUIDs.

Note
This is an NRF_CONFIG macro.

Documentation feedback | Developer Zone | Subscribe | Updated