S145 SoftDevice for nRF54LS05 API documentation 10.0.0
Loading...
Searching...
No Matches
Module specific SVC, event and option number subranges

Definition of SVC, event and option number subranges for each API module. More...

Macros

#define BLE_SVC_BASE   0x60
 
#define BLE_SVC_LAST   0x6B
 
#define BLE_GAP_SVC_BASE   0x6C
 
#define BLE_GAP_SVC_LAST   0xA0
 
#define BLE_GATTC_SVC_BASE   0xA1
 
#define BLE_GATTC_SVC_LAST   0xAC
 
#define BLE_GATTS_SVC_BASE   0xAD
 
#define BLE_GATTS_SVC_LAST   0xBC
 
#define BLE_EVT_INVALID   0x00
 
#define BLE_EVT_BASE   0x01
 
#define BLE_EVT_LAST   0x0F
 
#define BLE_GAP_EVT_BASE   0x10
 
#define BLE_GAP_EVT_LAST   0x2F
 
#define BLE_GATTC_EVT_BASE   0x30
 
#define BLE_GATTC_EVT_LAST   0x4F
 
#define BLE_GATTS_EVT_BASE   0x50
 
#define BLE_GATTS_EVT_LAST   0x6F
 
#define BLE_OPT_INVALID   0x00
 
#define BLE_OPT_BASE   0x01
 
#define BLE_OPT_LAST   0x1F
 
#define BLE_GAP_OPT_BASE   0x20
 
#define BLE_GAP_OPT_LAST   0x3F
 
#define BLE_GATT_OPT_BASE   0x40
 
#define BLE_GATT_OPT_LAST   0x5F
 
#define BLE_GATTC_OPT_BASE   0x60
 
#define BLE_GATTC_OPT_LAST   0x7F
 
#define BLE_GATTS_OPT_BASE   0x80
 
#define BLE_GATTS_OPT_LAST   0x9F
 
#define BLE_CFG_INVALID   0x00
 
#define BLE_CFG_BASE   0x01
 
#define BLE_CFG_LAST   0x1F
 
#define BLE_CONN_CFG_BASE   0x20
 
#define BLE_CONN_CFG_LAST   0x3F
 
#define BLE_GAP_CFG_BASE   0x40
 
#define BLE_GAP_CFG_LAST   0x5F
 
#define BLE_GATT_CFG_BASE   0x60
 
#define BLE_GATT_CFG_LAST   0x7F
 
#define BLE_GATTC_CFG_BASE   0x80
 
#define BLE_GATTC_CFG_LAST   0x9F
 
#define BLE_GATTS_CFG_BASE   0xA0
 
#define BLE_GATTS_CFG_LAST   0xBF
 

Detailed Description

Definition of SVC, event and option number subranges for each API module.

Note
SVCs, event and option numbers are split into subranges for each API module. Each module receives its entire allocated range of SVC calls, whether implemented or not, but return BLE_ERROR_NOT_SUPPORTED for unimplemented or undefined calls in its range.

Note that the symbols BLE_<module>_SVC_LAST is the end of the allocated SVC range, rather than the last SVC function call actually defined and implemented.

Specific SVC, event and option values are defined in each module's ble_<module>.h file, which defines names of each individual SVC code based on the range start value.