nRF5 SDK v14.2.0
Macros
SoftDevice BLE event handler configuration

Macros

#define NRF_SDH_BLE_ENABLED
 Enable the SoftDevice Handler BLE module. More...
 
#define NRF_SDH_BLE_PERIPHERAL_LINK_COUNT
 Maximum number of peripheral links. More...
 
#define NRF_SDH_BLE_CENTRAL_LINK_COUNT
 Maximum number of central links. More...
 
#define NRF_SDH_BLE_TOTAL_LINK_COUNT
 Maximum number of total concurrent connections using the default configuration. More...
 
#define NRF_SDH_BLE_GAP_EVENT_LENGTH
 The time set aside for this connection on every connection interval in 1.25 ms units. More...
 
#define NRF_SDH_BLE_GATT_MAX_MTU_SIZE
 Static maximum MTU size. More...
 
#define NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE
 Attribute Table size in bytes. The size must be a multiple of 4. More...
 
#define NRF_SDH_BLE_VS_UUID_COUNT
 The number of vendor-specific UUIDs. More...
 
#define NRF_SDH_BLE_SERVICE_CHANGED
 Include the Service Changed characteristic in the Attribute Table. More...
 
#define NRF_SDH_BLE_OBSERVER_PRIO_LEVELS
 Total number of priority levels for BLE observers. More...
 
#define BLE_ADV_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Advertising module. More...
 
#define BLE_ANCS_C_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Apple Notification Service Client. More...
 
#define BLE_ANS_C_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Alert Notification Service Client. More...
 
#define BLE_BAS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Battery Service. More...
 
#define BLE_BAS_C_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Battery Service Client. More...
 
#define BLE_BPS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Blood Pressure Service. More...
 
#define BLE_CONN_PARAMS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Connection parameters module. More...
 
#define BLE_CONN_STATE_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Connection State module. More...
 
#define BLE_CSCS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Cycling Speed and Cadence Service. More...
 
#define BLE_CTS_C_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Current Time Service Client. More...
 
#define BLE_DB_DISC_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Database Discovery module. More...
 
#define BLE_DFU_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the DFU Service. More...
 
#define BLE_GLS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Glucose Service. More...
 
#define BLE_HIDS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Human Interface Device Service. More...
 
#define BLE_HRS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Heart Rate Service. More...
 
#define BLE_HRS_C_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Heart Rate Service Client. More...
 
#define BLE_HTS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Health Thermometer Service. More...
 
#define BLE_IAS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Immediate Alert Service. More...
 
#define BLE_IAS_C_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Immediate Alert Service Client. More...
 
#define BLE_LBS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the LED Button Service. More...
 
#define BLE_LBS_C_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the LED Button Service Client. More...
 
#define BLE_LLS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Link Loss Service. More...
 
#define BLE_LNS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Location Navigation Service. More...
 
#define BLE_NUS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the UART Service. More...
 
#define BLE_NUS_C_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the UART Central Service. More...
 
#define BLE_OTS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Object transfer service. More...
 
#define BLE_OTS_C_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Object transfer service client. More...
 
#define BLE_RSCS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Running Speed and Cadence Service. More...
 
#define BLE_RSCS_C_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Running Speed and Cadence Client. More...
 
#define BLE_TPS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the TX Power Service. More...
 
#define BSP_BTN_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Button Control module. More...
 
#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the NFC pairing library. More...
 
#define NRF_BLE_BMS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Bond Management Service. More...
 
#define NRF_BLE_CGMS_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Contiuon Glucose Monitoring Service. More...
 
#define NRF_BLE_ES_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Eddystone module. More...
 
#define NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the GATT Service Client. More...
 
#define NRF_BLE_GATT_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the GATT module. More...
 
#define NRF_BLE_QWR_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Queued writes module. More...
 
#define PM_BLE_OBSERVER_PRIO
 Priority with which BLE events are dispatched to the Peer Manager module. More...
 

Detailed Description

Macro Definition Documentation

#define BLE_ADV_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Advertising module.

Note
This is an NRF_CONFIG macro.
#define BLE_ANCS_C_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Apple Notification Service Client.

Note
This is an NRF_CONFIG macro.
#define BLE_ANS_C_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Alert Notification Service Client.

Note
This is an NRF_CONFIG macro.
#define BLE_BAS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Battery Service.

Note
This is an NRF_CONFIG macro.
#define BLE_BAS_C_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Battery Service Client.

Note
This is an NRF_CONFIG macro.
#define BLE_BPS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Blood Pressure Service.

Note
This is an NRF_CONFIG macro.
#define BLE_CONN_PARAMS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Connection parameters module.

Note
This is an NRF_CONFIG macro.
#define BLE_CONN_STATE_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Connection State module.

Note
This is an NRF_CONFIG macro.
#define BLE_CSCS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Cycling Speed and Cadence Service.

Note
This is an NRF_CONFIG macro.
#define BLE_CTS_C_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Current Time Service Client.

Note
This is an NRF_CONFIG macro.
#define BLE_DB_DISC_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Database Discovery module.

Note
This is an NRF_CONFIG macro.
#define BLE_DFU_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the DFU Service.

Note
This is an NRF_CONFIG macro.
#define BLE_GLS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Glucose Service.

Note
This is an NRF_CONFIG macro.
#define BLE_HIDS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Human Interface Device Service.

Note
This is an NRF_CONFIG macro.
#define BLE_HRS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Heart Rate Service.

Note
This is an NRF_CONFIG macro.
#define BLE_HRS_C_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Heart Rate Service Client.

Note
This is an NRF_CONFIG macro.
#define BLE_HTS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Health Thermometer Service.

Note
This is an NRF_CONFIG macro.
#define BLE_IAS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Immediate Alert Service.

Note
This is an NRF_CONFIG macro.
#define BLE_IAS_C_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Immediate Alert Service Client.

Note
This is an NRF_CONFIG macro.
#define BLE_LBS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the LED Button Service.

Note
This is an NRF_CONFIG macro.
#define BLE_LBS_C_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the LED Button Service Client.

Note
This is an NRF_CONFIG macro.
#define BLE_LLS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Link Loss Service.

Note
This is an NRF_CONFIG macro.
#define BLE_LNS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Location Navigation Service.

Note
This is an NRF_CONFIG macro.
#define BLE_NUS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the UART Service.

Note
This is an NRF_CONFIG macro.
#define BLE_NUS_C_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the UART Central Service.

Note
This is an NRF_CONFIG macro.
#define BLE_OTS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Object transfer service.

Note
This is an NRF_CONFIG macro.
#define BLE_OTS_C_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Object transfer service client.

Note
This is an NRF_CONFIG macro.
#define BLE_RSCS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Running Speed and Cadence Service.

Note
This is an NRF_CONFIG macro.
#define BLE_RSCS_C_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Running Speed and Cadence Client.

Note
This is an NRF_CONFIG macro.
#define BLE_TPS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the TX Power Service.

Note
This is an NRF_CONFIG macro.
#define BSP_BTN_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Button Control module.

Note
This is an NRF_CONFIG macro.
#define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the NFC pairing library.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_BMS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Bond Management Service.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_CGMS_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Contiuon Glucose Monitoring Service.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_ES_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Eddystone module.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_GATT_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the GATT module.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the GATT Service Client.

Note
This is an NRF_CONFIG macro.
#define NRF_BLE_QWR_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Queued writes module.

Note
This is an NRF_CONFIG macro.
#define NRF_SDH_BLE_CENTRAL_LINK_COUNT

Maximum number of central links.

Note
This is an NRF_CONFIG macro.
#define NRF_SDH_BLE_ENABLED

Enable the SoftDevice Handler BLE module.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define NRF_SDH_BLE_GAP_EVENT_LENGTH

The time set aside for this connection on every connection interval in 1.25 ms units.

Note
This is an NRF_CONFIG macro.
#define NRF_SDH_BLE_GATT_MAX_MTU_SIZE

Static maximum MTU size.

Note
This is an NRF_CONFIG macro.
#define NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE

Attribute Table size in bytes. The size must be a multiple of 4.

Note
This is an NRF_CONFIG macro.
#define NRF_SDH_BLE_OBSERVER_PRIO_LEVELS

Total number of priority levels for BLE observers.

This setting configures the number of priority levels available for BLE event handlers. The priority level of a handler determines the order in which it receives events, with respect to other handlers.

Note
This is an NRF_CONFIG macro.
#define NRF_SDH_BLE_PERIPHERAL_LINK_COUNT

Maximum number of peripheral links.

Note
This is an NRF_CONFIG macro.
#define NRF_SDH_BLE_SERVICE_CHANGED

Include the Service Changed characteristic in the Attribute Table.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define NRF_SDH_BLE_TOTAL_LINK_COUNT

Maximum number of total concurrent connections using the default configuration.

Note
This is an NRF_CONFIG macro.
#define NRF_SDH_BLE_VS_UUID_COUNT

The number of vendor-specific UUIDs.

Note
This is an NRF_CONFIG macro.
#define PM_BLE_OBSERVER_PRIO

Priority with which BLE events are dispatched to the Peer Manager module.

Note
This is an NRF_CONFIG macro.

Documentation feedback | Developer Zone | Subscribe | Updated