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 power save options.

#define
SL_SI91X_BLE_MAX_NBR_CENTRALS (max_num_of_centrals)

Number of Centrals.

#define

GATT ASYNC BIT.

#define

BLE feature compatibility.

#define

Extension validity for 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.

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.


Definition at line 1407 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.

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.


Definition at line 1417 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.

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.


Definition at line 1427 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.

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 - 0dBm Mode

    • 33 - 63: BLE - 10dBm Mode

    • 64 - 127: BLE - HP Mode

Note

  • Bits 16 - 23 are used to set PWR_INX.


Definition at line 1441 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 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.


Definition at line 1454 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.

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.


Definition at line 1464 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 ASYNC BIT.

Enables asynchronous GATT operations.

Note

  • Default is disabled. When enabled, the response structure will be filled in the Event, which will come later, not in sync with the response for the query command.


Definition at line 1473 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)

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.


Definition at line 1482 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)

Extension validity for custom feature bitmap.

Validates the use of an extended custom feature bitmap for BLE.


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