BLE Feature Bitmap#
This section provides a reference to the Bluetooth Low Energy (BLE) feature bitmap in the boot configuration feature bitmaps.
Macros#
BLE number of attributes.
BLE number of GATT services.
BLE number of peripherals.
BLE Tx power index.
BLE power save options.
Number of Centrals.
GATT ASYNC BIT.
BLE feature compatibility.
Extension validity for 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.
Sets the maximum number of BLE attributes.
Note
Maximum number of BLE attributes is 124.
Bits 0 - 7 are used to set MAX_NBR_ATT_REC.
1430
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.
Sets the maximum number of BLE GATT services.
Note
Maximum number of services is 10.
Bits 8 - 11 are used to set MAX_NBR_ATT_SERV.
1440
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.
Sets the maximum number of BLE peripherals.
Note
Maximum number of BLE peripherals is 8.
Bits 12 - 15 are used to set MAX_NBR_PERIPHERALS.
1450
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.
Sets the BLE Tx power index value.
Default value for BLE Tx Power Index is 31.
Range for the BLE Tx Power Index is 1 to 127 (0, 32 index is invalid).
1 - 31: BLE - 0 dBm Mode
33 - 63: BLE - 10 dBm Mode
64 - 127: BLE - HP Mode
Note
Bits 16 - 23 are used to set PWR_INX.
1464
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 power save options.
Configures BLE power save options.
Bit 24: BLE_DUTY_CYCLING
Bit 25: BLR_DUTY_CYCLING
Bit 26: BLE_4X_PWR_SAVE_MODE
For BLE_DISABLE_DUTY_CYCLING, bits 24-26 are set to zero.
Note
This feature is not supported in the current release.
1477
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.
Sets the maximum number of BLE Central devices.
Note
Maximum number of BLE Centrals is 2.
Bits 27 - 28 are used to set BLE_PWR_INX.
1487
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 ASYNC BIT.
Enables asynchronous GATT operations.
Note
Default is disabled. When enabled, the response structure would be filled in the Event, which would come later, not in sync with the response for the query command.
1496
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)
BLE feature compatibility.
Enables new feature compatible.
Note
This bit should be enable to get the set of events from controller for the new features.
1505
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)
Extension validity for custom feature bitmap.
Validates the use of an extended custom feature bitmap for BLE.
1512
of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h