BLE Feature Bitmap#
This section provides a reference to the Bluetooth Low Energy (BLE) feature bitmap in the boot configuration.
Macros#
BLE number of attributes,.
BLE number of GATT services.
BLE number of peripherals.
BLE Tx power index.
BLE powersave options Bit 24 for BLE_DUTY_CYCLING Bit 25 for BLR_DUTY_CYCLING Bit 26 for BLE_4X_PWR_SAVE_MODE For BLE_DISABLE_DUTY_CYCLING, BITs 24-26 are set to be zero.
Number of Centrals.
GATT SYNC BIT.
0 for 9113 compatible; 1 for enabling 9116 BLE-compatible features.
Extention valid to use Extended custom feature bitmap.
Macro Definition Documentation#
SL_SI91X_BLE_MAX_NBR_ATT_REC#
#define SL_SI91X_BLE_MAX_NBR_ATT_RECValue:
(max_num_of_att_rec)
BLE number of attributes,.
Note
Maximum No of BLE attributes = 80, refer NOTE given below for more info
Bits 0 -7 are used to set MAX_NBR_ATT_REC
652
of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h
SL_SI91X_BLE_MAX_NBR_ATT_SERV#
#define SL_SI91X_BLE_MAX_NBR_ATT_SERVValue:
(max_num_of_att_serv)
BLE number of GATT services.
Note
Maximum no services - 10, refer NOTE given below for more info
Bits 8 - 11 are used to set MAX_NBR_ATT_SERV
657
of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h
SL_SI91X_BLE_MAX_NBR_PERIPHERALS#
#define SL_SI91X_BLE_MAX_NBR_PERIPHERALSValue:
(max_num_of_peripherals)
BLE number of peripherals.
Note
Maximum No of BLE peripherals = 8, refer NOTE given below for more info
Bits 12 - 15 are used to set MAX_NBR_PERIPHERALS
661
of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h
SL_SI91X_BLE_PWR_INX#
#define SL_SI91X_BLE_PWR_INXValue:
(power_index)
BLE Tx power index.
Note
Give 31 as BLE TX power index (e.g.,: 31<<16) This variable is used to select the BLE TX power index value. The following are the possible values. Default Value for BLE Tx Power Index is 31 Range for the BLE Tx Power Index is 1 to 75 (0, 32 index is invalid) 1 - 31 BLE -0DBM Mode 33 - 63 BLE- 10DBM Mode 64- 75 BLE - HP Mode.
Bits 16 - 23 are used to set PWR_INX
665
of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h
SL_SI91X_BLE_PWR_SAVE_OPTIONS#
#define SL_SI91X_BLE_PWR_SAVE_OPTIONSValue:
(duty_cycle)
BLE powersave options Bit 24 for BLE_DUTY_CYCLING Bit 25 for BLR_DUTY_CYCLING Bit 26 for BLE_4X_PWR_SAVE_MODE For BLE_DISABLE_DUTY_CYCLING, BITs 24-26 are set to be zero.
Note
This feature is not supported in the current release
673
of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h
SL_SI91X_BLE_MAX_NBR_CENTRALS#
#define SL_SI91X_BLE_MAX_NBR_CENTRALSValue:
(max_num_of_centrals)
Number of Centrals.
Note
Maximum number of BLE Centrals = 2. refer to the note below for more info.
Bits 27 - 28 are used to set BLE_PWR_INX
678
of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h
SL_SI91X_BLE_GATT_ASYNC_ENABLE#
#define SL_SI91X_BLE_GATT_ASYNC_ENABLEValue:
BIT(29)
GATT SYNC BIT.
Note
Default Disabled Expectation of GATT Async Bit Enable: Response structure will be filled in the Event and Event will come later. Not in sync with response for query command.
681
of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h
SL_SI91X_916_BLE_COMPATIBLE_FEAT_ENABLE#
#define SL_SI91X_916_BLE_COMPATIBLE_FEAT_ENABLEValue:
BIT(30)
0 for 9113 compatible; 1 for enabling 9116 BLE-compatible features.
684
of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h
SL_SI91X_FEAT_BLE_CUSTOM_FEAT_EXTENTION_VALID#
#define SL_SI91X_FEAT_BLE_CUSTOM_FEAT_EXTENTION_VALIDValue:
BIT(31)
Extention valid to use Extended custom feature bitmap.
687
of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h