BLE Feature Bitmap#

This section provides a reference to the Bluetooth Low Energy (BLE) feature bitmap in the boot configuration feature bitmaps.

Macros#

#define
SL_SI91X_BLE_MAX_NBR_ATT_REC (max_num_of_att_rec)

BLE number of attributes,.

#define
SL_SI91X_BLE_MAX_NBR_ATT_SERV (max_num_of_att_serv)

BLE number of GATT services.

#define
SL_SI91X_BLE_MAX_NBR_PERIPHERALS (max_num_of_peripherals)

BLE number of peripherals.

#define
SL_SI91X_BLE_PWR_INX (power_index)

BLE Tx power index.

#define

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.

#define
SL_SI91X_BLE_MAX_NBR_CENTRALS (max_num_of_centrals)

Number of Centrals.

#define

GATT SYNC BIT.

#define

0 for 9113 compatible; 1 for enabling 9116 BLE-compatible features.

#define

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_REC
Value:
(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


Definition at line 882 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_SERV
Value:
(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


Definition at line 887 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_BLE_MAX_NBR_PERIPHERALS#

#define SL_SI91X_BLE_MAX_NBR_PERIPHERALS
Value:
(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


Definition at line 891 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_BLE_PWR_INX#

#define SL_SI91X_BLE_PWR_INX
Value:
(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


Definition at line 895 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_BLE_PWR_SAVE_OPTIONS#

#define SL_SI91X_BLE_PWR_SAVE_OPTIONS
Value:
(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


Definition at line 903 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_BLE_MAX_NBR_CENTRALS#

#define SL_SI91X_BLE_MAX_NBR_CENTRALS
Value:
(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


Definition at line 908 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_BLE_GATT_ASYNC_ENABLE#

#define SL_SI91X_BLE_GATT_ASYNC_ENABLE
Value:
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.


Definition at line 911 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_ENABLE
Value:
BIT(30)

0 for 9113 compatible; 1 for enabling 9116 BLE-compatible features.


Definition at line 914 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_VALID
Value:
BIT(31)

Extention valid to use Extended custom feature bitmap.


Definition at line 917 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h