Constants#

Enumerations#

enum
RSI_BLE_GET_AE_MAX_NO_OF_ADV_SETS = 0x0001
RSI_BLE_GET_AE_MAX_ADV_DATA_LEN = 0x0002
RSI_BLE_SET_AE_SET_RANDOM_ADDR = 0x0003
RSI_BLE_SET_AE_PARAMS = 0x0004
RSI_BLE_SET_AE_DATA = 0x0005
RSI_BLE_SET_AE_ENABLE = 0x006
RSI_BLE_ADV_SET_CLEAR_OR_REMOVE = 0x0007
RSI_BLE_SET_AE_PERIODIC_ADV_PARAMS = 0x0008
RSI_BLE_SET_AE_PERIODIC_ADV_ENABLE = 0x0009
RSI_BLE_SET_AE_SCAN_PARAMS = 0x000A
RSI_BLE_SET_AE_SCAN_ENABLE = 0x000B
RSI_BLE_SET_AE_PERIODIC_SYNC = 0x000C
RSI_BLE_AE_DEV_TO_PERIODIC_LIST = 0x000D
RSI_BLE_AE_READ_PERIODIC_LIST_SIZE = 0x000E
RSI_BLE_AE_EXTENDED_CREATE_CONNECT = 0x000F
}

Enumeration for BLE advertising extension command request codes.

enum
RSI_BLE_REQ_HCI_RAW = 0x0050
RSI_BLE_REQ_ADV = 0x0075
RSI_BLE_REQ_SCAN = 0x0076
RSI_BLE_REQ_CONN = 0x0077
RSI_BLE_REQ_DISCONNECT = 0x0078
RSI_BLE_GET_DEV_STATE = 0x0079
RSI_BLE_CMD_CONN_PARAMS_UPDATE = 0x007A
RSI_BLE_REQ_START_ENCRYPTION = 0x007B
RSI_BLE_REQ_SMP_PAIR = 0x007C
RSI_BLE_SMP_PAIR_RESPONSE = 0x007D
RSI_BLE_SMP_PASSKEY = 0x007E
RSI_BLE_REQ_PROFILES = 0x007F
RSI_BLE_REQ_PROFILE = 0x0080
RSI_BLE_REQ_CHAR_SERVICES = 0x0081
RSI_BLE_REQ_INC_SERVICES = 0x0082
RSI_BLE_REQ_READ_BY_UUID = 0x0083
RSI_BLE_REQ_DESC = 0x0084
RSI_BLE_REQ_READ_VAL = 0x0085
RSI_BLE_REQ_MULTIPLE_READ = 0x0086
RSI_BLE_REQ_LONG_READ = 0x0087
RSI_BLE_REQ_WRITE = 0x0088
RSI_BLE_REQ_WRITE_NO_ACK = 0x0089
RSI_BLE_REQ_LONG_WRITE = 0x008A
RSI_BLE_REQ_PREPARE_WRITE = 0x008B
RSI_BLE_REQ_EXECUTE_WRITE = 0x008C
RSI_BLE_ADD_SERVICE = 0x0092
RSI_BLE_ADD_ATTRIBUTE = 0x0093
RSI_BLE_SET_LOCAL_ATT_VALUE = 0x0094
RSI_BLE_GET_LOCAL_ATT_VALUE = 0x0095
RSI_BLE_CMD_NOTIFY = 0x0096
RSI_BLE_CMD_INDICATE = 0x0097
RSI_BLE_SET_ADVERTISE_DATA = 0x009C
RSI_BLE_GET_LE_PING = 0x00A1
RSI_BLE_SET_LE_PING = 0x00A2
RSI_BLE_SET_RANDOM_ADDRESS = 0x00A3
RSI_BLE_ENCRYPT = 0x00A4
RSI_BLE_CMD_READ_RESP = 0x00A5
RSI_BLE_SET_SCAN_RESPONSE_DATA = 0x00A8
RSI_BLE_LE_ACCEPT_LIST = 0x00AA
RSI_BLE_CMD_REMOVE_SERVICE = 0x00AB
RSI_BLE_CMD_REMOVE_ATTRIBUTE = 0x00AC
RSI_BLE_PROCESS_RESOLV_LIST = 0x00AD
RSI_BLE_GET_RESOLVING_LIST_SIZE = 0x00AE
RSI_BLE_SET_ADDRESS_RESOLUTION_ENABLE = 0x00AF
RSI_BLE_REQ_READ_PHY = 0x00B0
RSI_BLE_REQ_SET_PHY = 0x00B1
RSI_BLE_SET_DATA_LEN = 0x00B2
RSI_BLE_READ_MAX_DATA_LEN = 0X00B3
RSI_BLE_SET_PRIVACY_MODE = 0x00B4
RSI_BLE_CBFC_CONN_REQ = 0x00B5
RSI_BLE_CBFC_CONN_RESP = 0x00B6
RSI_BLE_CBFC_TX_DATA = 0x00B7
RSI_BLE_CBFC_DISCONN = 0x00B8
RSI_BLE_LE_LTK_REQ_REPLY = 0X00BA
RSI_BLE_RX_TEST_MODE = 0x00BB
RSI_BLE_TX_TEST_MODE = 0x00BC
RSI_BLE_END_TEST_MODE = 0x00BD
RSI_BLE_PER_TX_MODE = 0x00BF
RSI_BLE_PER_RX_MODE = 0x00C0
RSI_BLE_CMD_ATT_ERROR = 0x00C1
RSI_BLE_REQ_PROFILES_ASYNC = 0x00F2
RSI_BLE_REQ_PROFILE_ASYNC = 0x00F3
RSI_BLE_GET_CHARSERVICES_ASYNC = 0x00F4
RSI_BLE_GET_INCLUDESERVICES_ASYNC = 0x00F5
RSI_BLE_READCHARVALUEBYUUID_ASYNC = 0x00F6
RSI_BLE_GET_ATTRIBUTE_ASYNC = 0x00F7
RSI_BLE_GET_DESCRIPTORVALUE_ASYNC = 0x00F8
RSI_BLE_GET_MULTIPLEVALUES_ASYNC = 0x00F9
RSI_BLE_GET_LONGDESCVALUES_ASYNC = 0x00FA
RSI_BLE_SET_DESCVALUE_ASYNC = 0x00FB
RSI_BLE_SET_PREPAREWRITE_ASYNC = 0x00FC
RSI_BLE_EXECUTE_LONGDESCWRITE_ASYNC = 0x00FD
RSI_BLE_SET_SMP_PAIRING_CAPABILITY_DATA = 0x0101
RSI_BLE_CONN_PARAM_RESP_CMD = 0x0105
RSI_BLE_CMD_INDICATE_CONFIRMATION = 0x0106
RSI_BLE_MTU_EXCHANGE_REQUEST = 0x0107
RSI_BLE_CMD_SET_WWO_RESP_NOTIFY_BUF_INFO = 0x0108
RSI_BLE_CMD_WRITE_RESP = 0x010A
RSI_BLE_CMD_PREPARE_WRITE_RESP = 0x010B
RSI_BLE_CMD_SET_LOCAL_IRK = 0x010C
RSI_BLE_REQ_SMP_PAIRING_FAILED = 0x0111
RSI_BLE_CMD_SET_PROP_PROTOCOL_BLE_BANDEDGE_TXPOWER = 0x012A
RSI_BLE_CMD_MTU_EXCHANGE_RESP = 0x012B
RSI_BLE_CMD_SET_BLE_TX_POWER = 0x012D
RSI_BLE_CMD_INDICATE_SYNC = 0x016F
RSI_BLE_CMD_AE = 0x0171
RSI_BLE_CMD_READ_TRANSMIT_POWER = 0x0172
RSI_BLE_CMD_READ_RF_PATH_COMP = 0x0173
RSI_BLE_CMD_WRITE_RF_PATH_COMP = 0x0174
RSI_BLE_REQ_CONN_ENHANCE = 0x1FFF
}

Enumeration for BLE command request codes.

enum
RSI_BLE_RSP_ADVERTISE = 0x0075
RSI_BLE_RSP_SCAN = 0x0076
RSI_BLE_RSP_CONNECT = 0x0077
RSI_BLE_RSP_DISCONNECT = 0x0078
RSI_BLE_RSP_QUERY_DEVICE_STATE = 0x0079
RSI_BLE_RSP_CONN_PARAMS_UPDATE = 0x007A
RSI_BLE_RSP_START_ENCRYPTION = 0x007B
RSI_BLE_RSP_SMP_PAIR = 0x007C
RSI_BLE_RSP_SMP_PAIR_RESPONSE = 0x007D
RSI_BLE_RSP_SMP_PASSKEY = 0x007E
RSI_BLE_RSP_PROFILES = 0x007F
RSI_BLE_RSP_PROFILE = 0x0080
RSI_BLE_RSP_CHAR_SERVICES = 0x0081
RSI_BLE_RSP_INC_SERVICES = 0x0082
RSI_BLE_RSP_READ_BY_UUID = 0x0083
RSI_BLE_RSP_DESC = 0x0084
RSI_BLE_RSP_READ_VAL = 0x0085
RSI_BLE_RSP_MULTIPLE_READ = 0x0086
RSI_BLE_RSP_LONG_READ = 0x0087
RSI_BLE_RSP_WRITE = 0x0088
RSI_BLE_RSP_WRITE_NO_ACK = 0x0089
RSI_BLE_RSP_LONG_WRITE = 0x008A
RSI_BLE_RSP_PREPARE_WRITE = 0x008B
RSI_BLE_RSP_EXECUTE_WRITE = 0x008C
RSI_BLE_RSP_INIT = 0x008D
RSI_BLE_RSP_DEINIT = 0x008E
RSI_BLE_RSP_SET_ANTENNA = 0x008F
RSI_BLE_RSP_ADD_SERVICE = 0x0092
RSI_BLE_RSP_ADD_ATTRIBUTE = 0x0093
RSI_BLE_RSP_SET_LOCAL_ATT_VALUE = 0x0094
RSI_BLE_RSP_GET_LOCAL_ATT_VALUE = 0x0095
RSI_BLE_RSP_NOTIFY = 0x0096
RSI_BLE_RSP_GET_LE_PING = 0x00A1
RSI_BLE_RSP_SET_LE_PING = 0x00A2
RSI_BLE_RSP_SET_RANDOM_ADDRESS = 0x00A3
RSI_BLE_RSP_ENCRYPT = 0x00A4
RSI_BLE_RSP_READ_RESP = 0x00A5
RSI_BLE_RSP_LE_ACCEPT_LIST = 0x00AA
RSI_BLE_RSP_REMOVE_SERVICE = 0x00AB
RSI_BLE_RSP_REMOVE_ATTRIBUTE = 0x00AC
RSI_BLE_RSP_PROCESS_RESOLV_LIST = 0x00AD
RSI_BLE_RSP_GET_RESOLVING_LIST_SIZE = 0x00AE
RSI_BLE_RSP_SET_ADDRESS_RESOLUTION_ENABLE = 0x00AF
RSI_BLE_RSP_READ_PHY = 0x00B0
RSI_BLE_RSP_SET_PHY = 0x00B1
RSI_BLE_RSP_SET_DATA_LEN = 0x00B2
RSI_BLE_RSP_READ_MAX_DATA_LEN = 0X00B3
RSI_BLE_RSP_PRIVACY_MODE = 0x00B4
RSI_BLE_RSP_CBFC_CONN_REQ = 0x00B5
RSI_BLE_RSP_CBFC_CONN_RESP = 0x00B6
RSI_BLE_RSP_CBFC_TX_DATA = 0x00B7
RSI_BLE_RSP_CBFC_DISCONN = 0x00B8
RSI_BLE_RSP_LE_LTK_REQ_REPLY = 0X00BA
RSI_BLE_RSP_RX_TEST_MODE = 0x00BB
RSI_BLE_RSP_TX_TEST_MODE = 0x00BC
RSI_BLE_RSP_END_TEST_MODE = 0x00BD
RSI_BLE_RSP_PER_TX_MODE = 0x00BE
RSI_BLE_RSP_PER_RX_MODE = 0x00BF
RSI_BLE_RSP_ATT_ERROR = 0x00C1
RSI_BLE_RSP_PROFILES_ASYNC = 0x00F2
RSI_BLE_RSP_PROFILE_ASYNC = 0x00F3
RSI_BLE_RSP_GET_CHARSERVICES_ASYNC = 0x00F4
RSI_BLE_RSP_GET_INCLUDESERVICES_ASYNC = 0x00F5
RSI_BLE_RSP_READCHARVALUEBYUUID_ASYNC = 0x00F6
RSI_BLE_RSP_GET_ATTRIBUTE_ASYNC = 0x00F7
RSI_BLE_RSP_GET_DESCRIPTORVALUE_ASYNC = 0x00F8
RSI_BLE_RSP_GET_MULTIPLEVALUES_ASYNC = 0x00F9
RSI_BLE_RSP_GET_LONGDESCVALUES_ASYNC = 0x00FA
RSI_BLE_RSP_SET_DESCVALUE_ASYNC = 0x00FB
RSI_BLE_RSP_SET_PREPAREWRITE_ASYNC = 0x00FC
RSI_BLE_RSP_EXECUTE_LONGDESCWRITE_ASYNC = 0x00FD
RSI_BLE_RSP_SET_SMP_PAIRING_CAPABILITY_DATA = 0x0101
RSI_BLE_RSP_CONN_PARAM_RESP = 0x0105
RSI_BLE_RSP_INDICATE_CONFIRMATION = 0x0106
RSI_BLE_RSP_MTU_EXCHANGE_REQUEST = 0x0107
RSI_BLE_RSP_SET_WWO_RESP_NOTIFY_BUF_INFO = 0x0108
RSI_BLE_RSP_SET_LOCAL_IRK = 0x010C
RSI_BLE_RSP_SMP_PAIRING_FAILED = 0x0111
RSI_BLE_RSP_SET_PROP_PROTOCOL_BLE_BANDEDGE_TXPOWER = 0x012A
RSI_BLE_RSP_MTU_EXCHANGE_RESP = 0x012B
RSI_BLE_RSP_SET_BLE_TX_POWER = 0x012D
RSI_BLE_RSP_AE = 0x0171
RSI_BLE_RSP_READ_TRANSMIT_POWER = 0x0172
RSI_BLE_RSP_READ_RF_PATH_COMP = 0x0173
RSI_BLE_RSP_WRITE_RF_PATH_COMP = 0x0174
}

Enumeration for BLE command response codes.

enum
RSI_BLE_EVENT_DISCONNECT = 0x1006
RSI_BLE_EVENT_GATT_ERROR_RESPONSE = 0x1500
RSI_BLE_EVENT_GATT_DESC_VAL_RESPONSE = 0x1501
RSI_BLE_EVENT_GATT_PRIMARY_SERVICE_BY_UUID = 0x1502
RSI_BLE_EVENT_GATT_READ_CHAR_SERVS = 0x1503
RSI_BLE_EVENT_GATT_READ_INC_SERVS = 0x1504
RSI_BLE_EVENT_GATT_READ_VAL_BY_UUID = 0x1505
RSI_BLE_EVENT_GATT_READ_RESP = 0x1506
RSI_BLE_EVENT_GATT_READ_BLOB_RESP = 0x1507
RSI_BLE_EVENT_GATT_READ_MULTIPLE_RESP = 0x1508
RSI_BLE_EVENT_GATT_PRIMARY_SERVICE_LIST = 0x1509
RSI_BLE_EVENT_GATT_WRITE_RESP = 0x150A
RSI_BLE_EVENT_GATT_PREPARE_WRITE_RESP = 0x150B
RSI_BLE_EVENT_GATT_EXECUTE_WRITE_RESP = 0x150C
RSI_BLE_EVENT_GATT_INDICATE_CONFIRMATION = 0x150D
RSI_BLE_EVENT_ADV_REPORT = 0x150E
RSI_BLE_EVENT_CONN_STATUS = 0x150F
RSI_BLE_EVENT_SMP_REQUEST = 0x1510
RSI_BLE_EVENT_SMP_RESPONSE = 0x1511
RSI_BLE_EVENT_SMP_PASSKEY = 0x1512
RSI_BLE_EVENT_SMP_FAILED = 0x1513
RSI_BLE_EVENT_GATT_NOTIFICATION = 0x1514
RSI_BLE_EVENT_GATT_INDICATION = 0x1515
RSI_BLE_EVENT_ENCRYPT_STARTED = 0x1516
RSI_BLE_EVENT_GATT_WRITE = 0x1517
RSI_BLE_EVENT_LE_PING_TIME_EXPIRED = 0x1518
RSI_BLE_EVENT_PREPARE_WRITE = 0x1519
RSI_BLE_EVENT_EXECUTE_WRITE = 0x151A
RSI_BLE_EVENT_READ_REQ = 0x151B
RSI_BLE_EVENT_MTU = 0x151C
RSI_BLE_EVENT_SMP_PASSKEY_DISPLAY_EVENT = 0x151D
RSI_BLE_EVENT_PHY_UPDATE_COMPLETE = 0x151E
RSI_BLE_EVENT_DATA_LENGTH_UPDATE_COMPLETE = 0x151F
RSI_BLE_EVENT_SC_PASSKEY = 0x1520
RSI_BLE_EVENT_ENHANCE_CONN_STATUS = 0x1521
RSI_BLE_EVENT_DIRECTED_ADV_REPORT = 0x1522
RSI_BLE_EVENT_SECURITY_KEYS = 0x1523
RSI_BLE_EVENT_PSM_CONN_REQ = 0x1524
RSI_BLE_EVENT_PSM_CONN_COMPLETE = 0x1525
RSI_BLE_EVENT_PSM_RX_DATA = 0x1526
RSI_BLE_EVENT_PSM_DISCONNECT = 0x1527
RSI_BLE_EVENT_LE_LTK_REQUEST = 0x152A
RSI_BLE_EVENT_CONN_UPDATE_COMPLETE = 0x152B
RSI_BLE_EVENT_REMOTE_FEATURES = 0x152C
RSI_BLE_EVENT_LE_MORE_DATA_REQ = 0x152D
RSI_BLE_EVENT_REMOTE_CONN_PARAMS_REQUEST = 0x153C
RSI_BLE_EVENT_CLI_SMP_RESPONSE = 0x153D
RSI_BLE_EVENT_CHIP_MEMORY_STATS = 0x1530
RSI_BLE_EVENT_SC_METHOD = 0x1540
RSI_BLE_EVENT_MTU_EXCHANGE_INFORMATION = 0x1541
RSI_BLE_EVENT_CTKD = 0x1542
RSI_BLE_EVENT_REMOTE_DEVICE_INFORMATION = 0x1543
RSI_BLE_EVENT_AE_ADVERTISING_REPORT = 0x1544
RSI_BLE_EVENT_PER_ADV_SYNC_ESTBL = 0x1545
RSI_BLE_EVENT_PER_ADV_REPORT = 0x1546
RSI_BLE_EVENT_PER_ADV_SYNC_LOST = 0x1547
RSI_BLE_EVENT_SCAN_TIMEOUT = 0x1548
RSI_BLE_EVENT_ADV_SET_TERMINATED = 0x1549
RSI_BLE_EVENT_SCAN_REQ_RECVD = 0x154a
RSI_BLE_EVENT_RCP_DATA_RCVD = 0x15FF
}

Enumeration for BLE event codes.

enum
RSI_SMP_PAIRING_NOT_SUPPORTED = 0x05
RSI_SMP_UNSPECIFIED_REASON = 0x08
RSI_SMP_REPEATED_ATTEMPTS = 0x09
}

Enumerations for smp failure error.

enum
RSI_BLE_ON_CTKD = 1
RSI_BLE_ON_ADV_EXT_ADVERTISE_REPORT_EVENT = 2
RSI_BLE_ON_ADV_EXT_PERIODIC_ADV_SYNC_ESTBL_EVENT = 3
RSI_BLE_ON_ADV_EXT_PERIODIC_ADVERTISE_REPORT_EVENT = 4
RSI_BLE_ON_ADV_EXT_PERIODIC_ADV_SYNC_LOST_EVENT = 5
RSI_BLE_ON_ADV_EXT_SCAN_TIMEOUT_EVENT = 6
RSI_BLE_ON_ADV_EXT_ADVERTISE_SET_TERMINATED_EVENT = 7
RSI_BLE_ON_ADV_EXT_SCAN_REQUEST_RECEIVED_EVENT = 8
}

Enumerations for call back types.

enum
RSI_BLE_ON_REMOTE_DEVICE_INFORMATION = 1
RSI_BLE_ON_RCP_EVENT = 2
}

Enumeration represents the BLE GAP extended callback types.

enum
RSI_BT_SET_LOCAL_NAME = 0x0001
RSI_BT_GET_LOCAL_NAME = 0x0002
RSI_BT_GET_RSSI = 0x0005
RSI_BT_GET_LOCAL_DEV_ADDR = 0x0007
RSI_BT_REQ_INIT = 0x008D
RSI_BT_REQ_DEINIT = 0x008E
RSI_BT_SET_ANTENNA_SELECT = 0x008F
RSI_BT_REQ_PER_CMD = 0x009A
RSI_BT_SET_FEATURES_BITMAP = 0x00A6
RSI_BT_VENDOR_SPECIFIC = 0x00BE
RSI_BT_SET_ANTENNA_TX_POWER_LEVEL = 0x00A7
RSI_BT_SET_GAIN_TABLE_OFFSET_OR_MAX_POWER_UPDATE = 0x012C
RSI_BT_SET_BD_ADDR_REQ = 0x012E
RSI_BT_GET_BT_STACK_VERSION = 0x012F
RSI_BLE_ONLY_OPER_MODE = 0x8010
RSI_BLE_REQ_PWRMODE = 0x8015
RSI_BLE_REQ_SOFTRESET = 0x801C
}

Enumeration of Bluetooth common command requests.

enum
RSI_BT_EVENT_CARD_READY = 0x0505
}

Enumeration of Bluetooth common events.

enum
RSI_BT_RSP_SET_LOCAL_NAME = 0x0001
RSI_BT_RSP_QUERY_LOCAL_NAME = 0x0002
RSI_BT_RSP_QUERY_RSSI = 0x0005
RSI_BT_RSP_QUERY_LOCAL_BD_ADDRESS = 0x0007
RSI_BT_RSP_INIT = 0x008D
RSI_BT_RSP_DEINIT = 0x008E
RSI_BT_RSP_ANTENNA_SELECT = 0x008F
RSI_BT_RSP_SET_FEATURES_BITMAP = 0x00A6
RSI_BT_RSP_ANTENNA_TX_POWER_LEVEL = 0x00A7
RSI_BT_RSP_SET_GAIN_TABLE_OFFSET_OR_MAX_POWER_UPDATE = 0x012C
RSI_BT_RSP_SET_BD_ADDR = 0x012E
RSI_BLE_RSP_ONLY_OPER_MODE = 0x8010
RSI_BLE_RSP_PWRMODE = 0x8015
RSI_BLE_RSP_SOFTRESET = 0x801C
}

Enumeration of Bluetooth common command responses.

Typedefs#

Enumeration for BLE advertising extension command request codes.

Enumeration for BLE command request codes.

typedef enum rsi_ble_cmd_resp_e

Enumeration for BLE command response codes.

typedef enum rsi_ble_event_e

Enumeration for BLE event codes.

Enumerations for call back types.

Enumeration represents the BLE GAP extended callback types.

Enumeration of Bluetooth common command requests.

Enumeration of Bluetooth common events.

Enumeration of Bluetooth common command responses.

Macros#

#define

Represents the BLE state when there is no active connection.

#define

Represents the BLE state when the device is connected.

#define

Represents the BLE state when the device is disconnected.

#define

Defines the maximum number of request list entries in BLE.

#define

Indicates that legacy BLE commands are used (BIT 0).

#define

Indicates that advertising extension commands are used (BIT 1).

#define

Command to check BLE status (BIT 15).

#define

Indicates that the buffer is available.

#define

Indicates that the buffer is full.

#define

Indicates that the buffer operation is in progress.

#define

Vendor-specific RF type command opcode.

#define

BLE_VENDOR_ACCEPTLIST_USING_ADV_DATA_PAYLOAD.

#define

Defines the maximum number of GAP extension callbacks.

#define

Defines the maximum number of advertising extension event callbacks.

#define

Advertising extension reporting is disabled.

#define

Advertising extension reporting is enabled.

#define

Enables periodic duplicate filtering.

#define

Disables periodic duplicate filtering.

#define

Periodic list usage flag.

#define

BLE protocol identifier.

#define

Proprietary protocol identifier.

#define

Advertising role identifier.

#define

Scanning and central role identifier.

#define

Peripheral role identifier.

#define

Connection role identifier.

#define

Indicates compatibility mode for BLE operations.

#define

Command to cancel an ongoing BLE connection attempt.

#define

Command to disconnect an established BLE connection.

#define

Attribute Protocol (ATT) Exchange MTU request.

#define

Attribute Protocol (ATT) Find Information request.

#define

Attribute Protocol (ATT) Find By Type Value request.

#define

Attribute Protocol (ATT) Read By Type request.

#define

Attribute Protocol (ATT) Read request.

#define

Attribute Protocol (ATT) Read Blob request.

#define

Attribute Protocol (ATT) Read Multiple request.

#define

Attribute Protocol (ATT) Read By Group Type request.

#define

Attribute Protocol (ATT) Write request.

#define

Attribute Protocol (ATT) Prepare Write request.

#define

Attribute Protocol (ATT) Execute Write request.

#define

Advertising Extension (AE) advertising data.

#define

Advertising Extension (AE) scan response data.

#define

Indicates the number of supported scanning physical channels.

#define

Command to create a periodic synchronization for Advertising Extension.

#define

Command to cancel the creation of a periodic synchronization for Advertising Extension.

#define

Command to terminate a periodic synchronization for Advertising Extension.

#define

Maximum number of response list for BLE.

#define

Maximum size of an advertising report.

#define

Size of the BLE passkey.

#define

Defines the output power front end loss for BLE.

#define

Host descriptor length.

#define

BLE write command event.

#define

BLE write request event.

#define

BLE notification event.

#define

BLE indication event.

#define

Indicates that the Maximum Transmission Unit (MTU) exchange was initiated by the peer device.

#define

Indicates that the MTU exchange was initiated by the local device.

#define

The maximum length of advertising data.

#define

Length of the device address in bytes.

#define

BLE Resolvable Private Address timeout value (in seconds)

#define

Maximum number of advertise reports to hold.

#define

Enabled for BLE PER Test.

#define

Attribute property for read operation in BLE.

#define

Attribute property allows writing without requiring a response.

#define

Attribute property is for write operations.

#define

Enables the BLE Attribute Property for Notification.

#define

Attribute property for indication.

#define

Memory length for driver.

#define

Enabling peripheral mode.

#define

Att record maintained by the stack.

#define

NO Auth and No Enc.

#define

UnAUTH with Enc.

#define

AUTH with Enc.

#define

AUTH LE_SC Pairing with Enc.

#define

BR/EDR link-only mode.

#define

LE link-only mode.

#define
TX_LEN 0x001e

The transmission length.

#define
TX_TIME 0x01f4

Transmission time configuration.

#define

The I/O capability for BLE Security Manager Protocol (SMP).

#define

The default Security Manager Protocol (SMP) passkey for BLE applications.

#define

The PHY rate for transmission.

#define

The PHY rate for RX (Receiver).

#define

Specifies the PHY rate for coded PHY.

#define

This macro defines the value 0 for enabling Network Privacy Mode.

#define

This macro defines the value 1 for enabling Device Privacy Mode.

#define
RSI_BLE_PRIVACY_MODE RSI_BLE_DEVICE_PRIVACY_MODE

The BLE privacy mode is set to the device privacy mode.

#define

Resovable list size.

#define

max data length

#define

Enable or disable adding devices to the BLE resolve list.

#define

Defines the value used to remove a device from the BLE resolve list.

#define

Clears the resolving list in the BLE stack.

#define

UUID for the Battery Service.

#define

UUID for BLE Characteristic Service.

#define

UUID for the BLE Client Characteristic Configuration Descriptor.

#define

UUID for the BLE Characteristic Presentation Format Descriptor.

#define

Defines the UUID for a new BLE service.

#define

Defines the UUID for a new BLE service.

#define

UUID for BLE Attribute 1.

#define

Defines the UUID for the second BLE attribute.

#define

UUID for the third BLE attribute.

#define

UUID for BLE Attribute 4.

#define
RSI_BLE_SET_RAND_ADDR "00:23:A7:12:34:56"

Defines the random Bluetooth address for BLE configuration.

#define

Clears the accept list.

#define

Adds a device to the accept list.

#define

Operation code for deleting a device from the accept list.

#define

Specify that all physical layer settings should be applied.

#define

Enable or disable BLE device address resolution.

#define

The operation mode for WLAN and BLE coexistence.

#define

Maximum number of Attribute Records.

#define

Defines the maximum number of Attribute Services supported by the BLE stack.

#define

Defines the maximum number of BLE peripheral devices that can be connected.

#define

Defines the maximum number of BLE central devices that can be connected simultaneously.

#define

Defines the number of BLE connection events.

#define

Defines the number of bytes to be received in a BLE operation.

#define
RSI_BLE_ADV_DIR_ADDR "00:15:83:6A:64:17"

Defines the Bluetooth Low Energy (BLE) advertising direct address.

#define

Defines the advertising channel map for BLE. Setting all bits to 1 (0x07) enables advertising on all three channels.

#define

LP chain.

#define

BLE Tx Power Index On Air per Gap role.

#define

Start the advertising process.

#define

Stop the advertising process.

#define

Advertising will be visible(discoverable) to all the devices.

#define

Advertising will be visible (discoverable) to the particular device mentioned in RSI_BLE_ADV_DIR_ADDR only.

#define

Advertising would be visible (discoverable) to all the devices.

#define

Advertising would be visible (discoverable) to all the devices.

#define

Advertising would be visible (discoverable) to the particular device mentioned in RSI_BLE_ADV_DIR_ADDR only.

#define
RSI_BLE_ADV_TYPE UNDIR_CONN

Defines the type of BLE advertisement.

#define

Limited Discoverable mode.

#define

LE General Discoverable Mode.

#define

BR/EDR (Basic Rate/Enhanced Data Rate) is not supported.

#define

Allow any scan request and any connection request.

#define

Allows scan requests from devices in the accept list and connection requests from any device.

#define

Allows scan requests from any device and connection requests only from devices in the accept list.

#define

Allows both scan and connection requests only from devices in the accept list.

#define
RSI_BLE_ADV_FILTER_TYPE ALLOW_SCAN_REQ_ANY_CONN_REQ_ANY

Sets the advertising filter policy to allow both scan and connection requests from any device.

#define

Defines the public address type used in BLE communication.

#define

Defines the type for a random address used in BLE communication.

#define

Defines the resolvable public address type used in communication.

#define

Defines the resolvable random address type used in communication.

#define
RSI_BLE_ADV_DIR_ADDR_TYPE LE_PUBLIC_ADDRESS

Defines the directed advertising address type used in communication.

#define

Defines the peripheral latency used in communication.

#define

Defines the supervision timeout used in BLE communication.

#define

Defines the command to start scanning for BLE devices.

#define

Defines the command to stop scanning for BLE devices.

#define

Defines the active scan type for BLE communication.

#define

Defines the passive scan type for BLE communication.

#define

Defines the scan filter type to accept all advertising packets.

#define

Defines the scan filter type to accept only advertising packets from devices in the accept list.

#define
RSI_BLE_SCAN_TYPE SCAN_TYPE_ACTIVE

Configures the BLE scan type to active scanning.

#define
RSI_BLE_SCAN_FILTER_TYPE SCAN_FILTER_TYPE_ALL

Configures the BLE scan filter to accept all advertising packets.

#define

Disables duty cycling for BLE operations.

#define

Enables duty cycling for BLE operations.

#define

Enables duty cycling for BLE operations.

#define

Enables power save mode for BLE 4.x operations.

#define
RSI_BLE_PWR_SAVE_OPTIONS BLE_DISABLE_DUTY_CYCLING

Configures power save options for BLE operations.

#define

Selects the internal antenna for BLE operations.

#define

Selects the external antenna for BLE operations.

#define
RSI_SEL_ANTENNA RSI_SEL_INTERNAL_ANTENNA

Antenna Selection - RSI_SEL_EXTERNAL_ANTENNA / RSI_SEL_INTERNAL_ANTENNA.

#define

Enables or disables asynchronous GATT operations.

#define

Initializes the GATT in Firmware for BLE operations.

#define

Configures indication confirmation from the host.

#define

Configures whether the MTU exchange process is initiated by the host.

#define

Configures scan response data from the host.

#define

Configures the disabling of coded PHY from the host.

#define

Minimum advertising interval.

#define

Maximum advertising interval.

#define

Minimum connection interval.

#define

Maximum connection interval.

#define

Scan interval.

#define

Scan window.

#define

disabled by default

#define

default number of Advertising sets in extended advertising (Max value = 3)

#define

Specifies the packet type is Bluetooth HCI command packet.

#define

Represents the HCI ACL packet type.

#define

Specifies the number of packets that can be sent per HCI command.

#define

Indicates dual mode operation in Bluetooth.

#define

This macro is used to enable the Bluetooth Low Energy (BLE) protocol.

#define

This macro is used to enable the Bluetooth Classic protocol.

#define

This macro is used to enable the proprietary protocol. It sets the 8th bit of the property.

#define
BT_DUAL_MODE_PROTO_ENABLE (BLE_PROTO_ENABLE | BT_CLASSIC_PROTO_ENABLE)

Enable both BLE and Classic Bluetooth protocols.

#define
RSI_BT_BLE_MODE_BITS (BIT(2) | BIT(3))

Define the bits for Bluetooth Low Energy (BLE) mode.

#define

Offset of the BT status in the Bluetooth module.

#define

Offset value for the response type in the Bluetooth module.

#define

Offset value for the length field in the Bluetooth response.

#define

Mask used to extract the response length from a Bluetooth response.

#define

Protocol identifier for Bluetooth Common.

#define

Bluetooth protocol type for classic Bluetooth.

#define

Defines the protocol value for Bluetooth Low Energy (BLE).

#define

Definition of the Bluetooth Low Energy (BLE) stack protocol.

#define

The maximum length of the device name.

#define

Length of the device address in bytes.

#define

Length of the Attribute Protocol (ATT) buffer for the device.

#define

Defines the Bluetooth classic device type.

#define

Defines the Bluetooth Low Energy (LE) device type.

#define

Macro definition for an unknown Bluetooth device. The value of this macro is 0xFF.

#define

Defines the stack mode for Bluetooth.

#define

Defines the stack mode for Bluetooth Low Energy (BLE).

#define

Specify the external RF mode.

#define

Specify the internal RF mode.

#define
RSI_RF_TYPE RSI_INTERNAL_RF

Defines the RF type for the Bluetooth module.

#define

Maximum number of attributes supported by the Bluetooth module.

#define

Defines the operating mode for WLAN and Bluetooth dual mode.

#define

Bluetooth state indicating none.

#define

Defines the state value which indicates that the Bluetooth operation mode is done.

#define

Mask to extract the lower nibble of a byte.

#define

Maximum number of remote BLE devices.

#define

HCI command ID for Bluetooth Packet Error Rate (PER) statistics.

#define

HCI command ID for BLE transmit command.

#define

HCI command ID for BLE receive command.

#define

HCI command ID for Bluetooth transmit command.

#define

HCI command ID for Bluetooth receive command.

#define

success return value

#define

failure return value

#define

length of the Bluetooth device address array

#define

size of the link key reply

#define

operation mode for WLAN and Bluetooth Classic

#define

operation mode for Bluetooth and BLE dual mode

#define

size of the global buffer for Bluetooth operations

#define

command to start device discovery

#define

command to start limited discovery mode

#define

command to stop discovery mode

#define

state indicating the device is connectable

#define

state indicating the device is non-connectable

#define
ACCEPT 0x01

SSP confirmation command parameter indicating acceptance.

#define
REJECT 0x00

SSP confirmation command parameter indicating rejection.

#define

bitmask to enable the SPP profile in Bluetooth Classic (BIT(0))

#define

bitmask to enable the A2DP profile in Bluetooth Classic (BIT(1))

#define

bitmask to enable the AVRCP profile in Bluetooth Classic (BIT(2))

#define

bitmask to enable the HFP profile in Bluetooth Classic (BIT(3))

#define
RSI_PBAP_PROFILE_BIT BIT(4) #define RSI_PBAP_PROFILE_BIT BIT(4)

bitmask to enable the PBAP profile in Bluetooth Classic (BIT(4))

#define

A2DP profile setting for burst mode , 0 - Disable, 1 - Enable.

#define

Number of PCM/MP3 packets buffered.

#define

Audio mode using PCM (Pulse Code Modulation)

#define

Audio mode using SBC (Subband Coding)

#define

Audio mode using MP3 (MPEG-1 Audio Layer 3)

#define

Defines the audio data type for the A2DP profile as SBC (Subband Coding) (Value = SBC_AUDIO)

#define

Size of the PCM input buffer in bytes.

#define

Size of the MP3 input buffer in bytes.

#define

File type indicating binary format.

#define

Array type for Bluetooth data.

#define

File type indicating a binary format for SD.

#define

Defines the audio data source as a binary file (Value = BIN_FILE)

#define

Length of the pre-encoded buffer (Value = 8)

#define

AVDTP role indicating the acceptor (Value = 1)

#define

AVDTP role indicating the initiator (Value = 2)

#define

AVDTP role indicating any role.

#define

BT MTU size changes //310 /* Max supported is 200, but 190 gives optimum Tx throughput */.

#define

1 - HP chain

#define

Flag to use only the remote MTU size.

#define

Encoder type based on TA.

Enumeration Documentation#

RSI_BLE_CMD_AE_opcode_e#

RSI_BLE_CMD_AE_opcode_e

Enumeration for BLE advertising extension command request codes.

Enumerator
RSI_BLE_GET_AE_MAX_NO_OF_ADV_SETS
RSI_BLE_GET_AE_MAX_ADV_DATA_LEN
RSI_BLE_SET_AE_SET_RANDOM_ADDR
RSI_BLE_SET_AE_PARAMS
RSI_BLE_SET_AE_DATA
RSI_BLE_SET_AE_ENABLE
RSI_BLE_ADV_SET_CLEAR_OR_REMOVE
RSI_BLE_SET_AE_PERIODIC_ADV_PARAMS
RSI_BLE_SET_AE_PERIODIC_ADV_ENABLE
RSI_BLE_SET_AE_SCAN_PARAMS
RSI_BLE_SET_AE_SCAN_ENABLE
RSI_BLE_SET_AE_PERIODIC_SYNC
RSI_BLE_AE_DEV_TO_PERIODIC_LIST
RSI_BLE_AE_READ_PERIODIC_LIST_SIZE
RSI_BLE_AE_EXTENDED_CREATE_CONNECT

Definition at line 90 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

rsi_ble_cmd_request_e#

rsi_ble_cmd_request_e

Enumeration for BLE command request codes.

Enumerator
RSI_BLE_REQ_HCI_RAW
RSI_BLE_REQ_ADV
RSI_BLE_REQ_SCAN
RSI_BLE_REQ_CONN
RSI_BLE_REQ_DISCONNECT
RSI_BLE_GET_DEV_STATE
RSI_BLE_CMD_CONN_PARAMS_UPDATE
RSI_BLE_REQ_START_ENCRYPTION
RSI_BLE_REQ_SMP_PAIR
RSI_BLE_SMP_PAIR_RESPONSE
RSI_BLE_SMP_PASSKEY
RSI_BLE_REQ_PROFILES
RSI_BLE_REQ_PROFILE
RSI_BLE_REQ_CHAR_SERVICES
RSI_BLE_REQ_INC_SERVICES
RSI_BLE_REQ_READ_BY_UUID
RSI_BLE_REQ_DESC
RSI_BLE_REQ_READ_VAL
RSI_BLE_REQ_MULTIPLE_READ
RSI_BLE_REQ_LONG_READ
RSI_BLE_REQ_WRITE
RSI_BLE_REQ_WRITE_NO_ACK
RSI_BLE_REQ_LONG_WRITE
RSI_BLE_REQ_PREPARE_WRITE
RSI_BLE_REQ_EXECUTE_WRITE
RSI_BLE_ADD_SERVICE
RSI_BLE_ADD_ATTRIBUTE
RSI_BLE_SET_LOCAL_ATT_VALUE
RSI_BLE_GET_LOCAL_ATT_VALUE
RSI_BLE_CMD_NOTIFY
RSI_BLE_CMD_INDICATE
RSI_BLE_SET_ADVERTISE_DATA
RSI_BLE_GET_LE_PING
RSI_BLE_SET_LE_PING
RSI_BLE_SET_RANDOM_ADDRESS
RSI_BLE_ENCRYPT
RSI_BLE_CMD_READ_RESP
RSI_BLE_SET_SCAN_RESPONSE_DATA
RSI_BLE_LE_ACCEPT_LIST
RSI_BLE_CMD_REMOVE_SERVICE
RSI_BLE_CMD_REMOVE_ATTRIBUTE
RSI_BLE_PROCESS_RESOLV_LIST
RSI_BLE_GET_RESOLVING_LIST_SIZE
RSI_BLE_SET_ADDRESS_RESOLUTION_ENABLE
RSI_BLE_REQ_READ_PHY
RSI_BLE_REQ_SET_PHY
RSI_BLE_SET_DATA_LEN
RSI_BLE_READ_MAX_DATA_LEN
RSI_BLE_SET_PRIVACY_MODE
RSI_BLE_CBFC_CONN_REQ
RSI_BLE_CBFC_CONN_RESP
RSI_BLE_CBFC_TX_DATA
RSI_BLE_CBFC_DISCONN
RSI_BLE_LE_LTK_REQ_REPLY
RSI_BLE_RX_TEST_MODE
RSI_BLE_TX_TEST_MODE
RSI_BLE_END_TEST_MODE
RSI_BLE_PER_TX_MODE
RSI_BLE_PER_RX_MODE
RSI_BLE_CMD_ATT_ERROR
RSI_BLE_REQ_PROFILES_ASYNC
RSI_BLE_REQ_PROFILE_ASYNC
RSI_BLE_GET_CHARSERVICES_ASYNC
RSI_BLE_GET_INCLUDESERVICES_ASYNC
RSI_BLE_READCHARVALUEBYUUID_ASYNC
RSI_BLE_GET_ATTRIBUTE_ASYNC
RSI_BLE_GET_DESCRIPTORVALUE_ASYNC
RSI_BLE_GET_MULTIPLEVALUES_ASYNC
RSI_BLE_GET_LONGDESCVALUES_ASYNC
RSI_BLE_SET_DESCVALUE_ASYNC
RSI_BLE_SET_PREPAREWRITE_ASYNC
RSI_BLE_EXECUTE_LONGDESCWRITE_ASYNC
RSI_BLE_SET_SMP_PAIRING_CAPABILITY_DATA
RSI_BLE_CONN_PARAM_RESP_CMD
RSI_BLE_CMD_INDICATE_CONFIRMATION
RSI_BLE_MTU_EXCHANGE_REQUEST
RSI_BLE_CMD_SET_WWO_RESP_NOTIFY_BUF_INFO
RSI_BLE_CMD_WRITE_RESP
RSI_BLE_CMD_PREPARE_WRITE_RESP
RSI_BLE_CMD_SET_LOCAL_IRK
RSI_BLE_REQ_SMP_PAIRING_FAILED
RSI_BLE_CMD_SET_PROP_PROTOCOL_BLE_BANDEDGE_TXPOWER
RSI_BLE_CMD_MTU_EXCHANGE_RESP
RSI_BLE_CMD_SET_BLE_TX_POWER
RSI_BLE_CMD_INDICATE_SYNC
RSI_BLE_CMD_AE
RSI_BLE_CMD_READ_TRANSMIT_POWER
RSI_BLE_CMD_READ_RF_PATH_COMP
RSI_BLE_CMD_WRITE_RF_PATH_COMP
RSI_BLE_REQ_CONN_ENHANCE

Definition at line 109 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

rsi_ble_cmd_resp_e#

rsi_ble_cmd_resp_e

Enumeration for BLE command response codes.

Enumerator
RSI_BLE_RSP_ADVERTISE
RSI_BLE_RSP_SCAN
RSI_BLE_RSP_CONNECT
RSI_BLE_RSP_DISCONNECT
RSI_BLE_RSP_QUERY_DEVICE_STATE
RSI_BLE_RSP_CONN_PARAMS_UPDATE
RSI_BLE_RSP_START_ENCRYPTION
RSI_BLE_RSP_SMP_PAIR
RSI_BLE_RSP_SMP_PAIR_RESPONSE
RSI_BLE_RSP_SMP_PASSKEY
RSI_BLE_RSP_PROFILES
RSI_BLE_RSP_PROFILE
RSI_BLE_RSP_CHAR_SERVICES
RSI_BLE_RSP_INC_SERVICES
RSI_BLE_RSP_READ_BY_UUID
RSI_BLE_RSP_DESC
RSI_BLE_RSP_READ_VAL
RSI_BLE_RSP_MULTIPLE_READ
RSI_BLE_RSP_LONG_READ
RSI_BLE_RSP_WRITE
RSI_BLE_RSP_WRITE_NO_ACK
RSI_BLE_RSP_LONG_WRITE
RSI_BLE_RSP_PREPARE_WRITE
RSI_BLE_RSP_EXECUTE_WRITE
RSI_BLE_RSP_INIT
RSI_BLE_RSP_DEINIT
RSI_BLE_RSP_SET_ANTENNA
RSI_BLE_RSP_ADD_SERVICE
RSI_BLE_RSP_ADD_ATTRIBUTE
RSI_BLE_RSP_SET_LOCAL_ATT_VALUE
RSI_BLE_RSP_GET_LOCAL_ATT_VALUE
RSI_BLE_RSP_NOTIFY
RSI_BLE_RSP_GET_LE_PING
RSI_BLE_RSP_SET_LE_PING
RSI_BLE_RSP_SET_RANDOM_ADDRESS
RSI_BLE_RSP_ENCRYPT
RSI_BLE_RSP_READ_RESP
RSI_BLE_RSP_LE_ACCEPT_LIST
RSI_BLE_RSP_REMOVE_SERVICE
RSI_BLE_RSP_REMOVE_ATTRIBUTE
RSI_BLE_RSP_PROCESS_RESOLV_LIST
RSI_BLE_RSP_GET_RESOLVING_LIST_SIZE
RSI_BLE_RSP_SET_ADDRESS_RESOLUTION_ENABLE
RSI_BLE_RSP_READ_PHY
RSI_BLE_RSP_SET_PHY
RSI_BLE_RSP_SET_DATA_LEN
RSI_BLE_RSP_READ_MAX_DATA_LEN
RSI_BLE_RSP_PRIVACY_MODE
RSI_BLE_RSP_CBFC_CONN_REQ
RSI_BLE_RSP_CBFC_CONN_RESP
RSI_BLE_RSP_CBFC_TX_DATA
RSI_BLE_RSP_CBFC_DISCONN
RSI_BLE_RSP_LE_LTK_REQ_REPLY
RSI_BLE_RSP_RX_TEST_MODE
RSI_BLE_RSP_TX_TEST_MODE
RSI_BLE_RSP_END_TEST_MODE
RSI_BLE_RSP_PER_TX_MODE
RSI_BLE_RSP_PER_RX_MODE
RSI_BLE_RSP_ATT_ERROR
RSI_BLE_RSP_PROFILES_ASYNC
RSI_BLE_RSP_PROFILE_ASYNC
RSI_BLE_RSP_GET_CHARSERVICES_ASYNC
RSI_BLE_RSP_GET_INCLUDESERVICES_ASYNC
RSI_BLE_RSP_READCHARVALUEBYUUID_ASYNC
RSI_BLE_RSP_GET_ATTRIBUTE_ASYNC
RSI_BLE_RSP_GET_DESCRIPTORVALUE_ASYNC
RSI_BLE_RSP_GET_MULTIPLEVALUES_ASYNC
RSI_BLE_RSP_GET_LONGDESCVALUES_ASYNC
RSI_BLE_RSP_SET_DESCVALUE_ASYNC
RSI_BLE_RSP_SET_PREPAREWRITE_ASYNC
RSI_BLE_RSP_EXECUTE_LONGDESCWRITE_ASYNC
RSI_BLE_RSP_SET_SMP_PAIRING_CAPABILITY_DATA
RSI_BLE_RSP_CONN_PARAM_RESP
RSI_BLE_RSP_INDICATE_CONFIRMATION
RSI_BLE_RSP_MTU_EXCHANGE_REQUEST
RSI_BLE_RSP_SET_WWO_RESP_NOTIFY_BUF_INFO
RSI_BLE_RSP_SET_LOCAL_IRK
RSI_BLE_RSP_SMP_PAIRING_FAILED
RSI_BLE_RSP_SET_PROP_PROTOCOL_BLE_BANDEDGE_TXPOWER
RSI_BLE_RSP_MTU_EXCHANGE_RESP
RSI_BLE_RSP_SET_BLE_TX_POWER
RSI_BLE_RSP_AE
RSI_BLE_RSP_READ_TRANSMIT_POWER
RSI_BLE_RSP_READ_RF_PATH_COMP
RSI_BLE_RSP_WRITE_RF_PATH_COMP

Definition at line 203 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

rsi_ble_event_e#

rsi_ble_event_e

Enumeration for BLE event codes.

Enumerator
RSI_BLE_EVENT_DISCONNECT
RSI_BLE_EVENT_GATT_ERROR_RESPONSE
RSI_BLE_EVENT_GATT_DESC_VAL_RESPONSE
RSI_BLE_EVENT_GATT_PRIMARY_SERVICE_BY_UUID
RSI_BLE_EVENT_GATT_READ_CHAR_SERVS
RSI_BLE_EVENT_GATT_READ_INC_SERVS
RSI_BLE_EVENT_GATT_READ_VAL_BY_UUID
RSI_BLE_EVENT_GATT_READ_RESP
RSI_BLE_EVENT_GATT_READ_BLOB_RESP
RSI_BLE_EVENT_GATT_READ_MULTIPLE_RESP
RSI_BLE_EVENT_GATT_PRIMARY_SERVICE_LIST
RSI_BLE_EVENT_GATT_WRITE_RESP
RSI_BLE_EVENT_GATT_PREPARE_WRITE_RESP
RSI_BLE_EVENT_GATT_EXECUTE_WRITE_RESP
RSI_BLE_EVENT_GATT_INDICATE_CONFIRMATION
RSI_BLE_EVENT_ADV_REPORT
RSI_BLE_EVENT_CONN_STATUS
RSI_BLE_EVENT_SMP_REQUEST
RSI_BLE_EVENT_SMP_RESPONSE
RSI_BLE_EVENT_SMP_PASSKEY
RSI_BLE_EVENT_SMP_FAILED
RSI_BLE_EVENT_GATT_NOTIFICATION
RSI_BLE_EVENT_GATT_INDICATION
RSI_BLE_EVENT_ENCRYPT_STARTED
RSI_BLE_EVENT_GATT_WRITE
RSI_BLE_EVENT_LE_PING_TIME_EXPIRED
RSI_BLE_EVENT_PREPARE_WRITE
RSI_BLE_EVENT_EXECUTE_WRITE
RSI_BLE_EVENT_READ_REQ
RSI_BLE_EVENT_MTU
RSI_BLE_EVENT_SMP_PASSKEY_DISPLAY_EVENT
RSI_BLE_EVENT_PHY_UPDATE_COMPLETE
RSI_BLE_EVENT_DATA_LENGTH_UPDATE_COMPLETE
RSI_BLE_EVENT_SC_PASSKEY
RSI_BLE_EVENT_ENHANCE_CONN_STATUS
RSI_BLE_EVENT_DIRECTED_ADV_REPORT
RSI_BLE_EVENT_SECURITY_KEYS
RSI_BLE_EVENT_PSM_CONN_REQ
RSI_BLE_EVENT_PSM_CONN_COMPLETE
RSI_BLE_EVENT_PSM_RX_DATA
RSI_BLE_EVENT_PSM_DISCONNECT
RSI_BLE_EVENT_LE_LTK_REQUEST
RSI_BLE_EVENT_CONN_UPDATE_COMPLETE
RSI_BLE_EVENT_REMOTE_FEATURES
RSI_BLE_EVENT_LE_MORE_DATA_REQ
RSI_BLE_EVENT_REMOTE_CONN_PARAMS_REQUEST
RSI_BLE_EVENT_CLI_SMP_RESPONSE
RSI_BLE_EVENT_CHIP_MEMORY_STATS
RSI_BLE_EVENT_SC_METHOD
RSI_BLE_EVENT_MTU_EXCHANGE_INFORMATION
RSI_BLE_EVENT_CTKD
RSI_BLE_EVENT_REMOTE_DEVICE_INFORMATION
RSI_BLE_EVENT_AE_ADVERTISING_REPORT
RSI_BLE_EVENT_PER_ADV_SYNC_ESTBL
RSI_BLE_EVENT_PER_ADV_REPORT
RSI_BLE_EVENT_PER_ADV_SYNC_LOST
RSI_BLE_EVENT_SCAN_TIMEOUT
RSI_BLE_EVENT_ADV_SET_TERMINATED
RSI_BLE_EVENT_SCAN_REQ_RECVD
RSI_BLE_EVENT_RCP_DATA_RCVD

Definition at line 297 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

smp_failure_error#

smp_failure_error

Enumerations for smp failure error.

Enumerator
RSI_SMP_PAIRING_NOT_SUPPORTED
RSI_SMP_UNSPECIFIED_REASON
RSI_SMP_REPEATED_ATTEMPTS

Definition at line 362 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

rsi_ble_callback_id_e#

rsi_ble_callback_id_e

Enumerations for call back types.

Enumerator
RSI_BLE_ON_CTKD
RSI_BLE_ON_ADV_EXT_ADVERTISE_REPORT_EVENT
RSI_BLE_ON_ADV_EXT_PERIODIC_ADV_SYNC_ESTBL_EVENT
RSI_BLE_ON_ADV_EXT_PERIODIC_ADVERTISE_REPORT_EVENT
RSI_BLE_ON_ADV_EXT_PERIODIC_ADV_SYNC_LOST_EVENT
RSI_BLE_ON_ADV_EXT_SCAN_TIMEOUT_EVENT
RSI_BLE_ON_ADV_EXT_ADVERTISE_SET_TERMINATED_EVENT
RSI_BLE_ON_ADV_EXT_SCAN_REQUEST_RECEIVED_EVENT

Definition at line 369 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

rsi_ble_gap_extended_callbacks_s#

rsi_ble_gap_extended_callbacks_s

Enumeration represents the BLE GAP extended callback types.

This enumeration defines the possible callback types for the BLE GAP extended feature.

Enumerator
RSI_BLE_ON_REMOTE_DEVICE_INFORMATION

Callback type for remote device information events.

RSI_BLE_ON_RCP_EVENT

Callback type for RCP (Remote Control Protocol) events.


Definition at line 1669 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

rsi_bt_common_cmd_request_e#

rsi_bt_common_cmd_request_e

Enumeration of Bluetooth common command requests.

Defines various command requests for Bluetooth operations, which includes setting and getting local device information, initializing and deinitializing the device, and configuring antenna and power settings.

Enumerator
RSI_BT_SET_LOCAL_NAME

Set the local device name.

RSI_BT_GET_LOCAL_NAME

Get the local device name.

RSI_BT_GET_RSSI

Get the Received Signal Strength Indicator (RSSI).

RSI_BT_GET_LOCAL_DEV_ADDR

Get the local device address.

RSI_BT_REQ_INIT

Initialize the BT classic protocol.

RSI_BT_REQ_DEINIT

De-Initialize the BT classic protocol.

RSI_BT_SET_ANTENNA_SELECT

Select the antenna.

RSI_BT_REQ_PER_CMD

Request Packet Error Rate (PER) command.

RSI_BT_SET_FEATURES_BITMAP

Set the features bitmap.

RSI_BT_VENDOR_SPECIFIC

Vendor-specific command.

RSI_BT_SET_ANTENNA_TX_POWER_LEVEL

Set the antenna transmission power level.

RSI_BT_SET_GAIN_TABLE_OFFSET_OR_MAX_POWER_UPDATE

Set gain table offset or update maximum power.

RSI_BT_SET_BD_ADDR_REQ

Set the Bluetooth device address.

RSI_BT_GET_BT_STACK_VERSION

Get the Bluetooth stack version.

RSI_BLE_ONLY_OPER_MODE

Set BLE-only operation mode.

RSI_BLE_REQ_PWRMODE

Request BLE power mode.

RSI_BLE_REQ_SOFTRESET

Request BLE soft reset.


Definition at line 160 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

rsi_bt_common_event_e#

rsi_bt_common_event_e

Enumeration of Bluetooth common events.

Defines various events for Bluetooth operations, which includes the event that indicates the Bluetooth card is ready.

Enumerator
RSI_BT_EVENT_CARD_READY

Event indicates that the Bluetooth card is ready.


Definition at line 188 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

rsi_bt_common_cmd_resp_e#

rsi_bt_common_cmd_resp_e

Enumeration of Bluetooth common command responses.

Defines various command responses for Bluetooth operations, which includes responses for setting and querying local device information, initializing and deinitializing the device, and configuring antenna and power settings.

Enumerator
RSI_BT_RSP_SET_LOCAL_NAME

Response for setting the local device name.

RSI_BT_RSP_QUERY_LOCAL_NAME

Response for querying the local device name.

RSI_BT_RSP_QUERY_RSSI

Response for querying the Received Signal Strength Indicator (RSSI).

RSI_BT_RSP_QUERY_LOCAL_BD_ADDRESS

Response for querying the local device address.

RSI_BT_RSP_INIT

Response for initializing the BT classic protocol.

RSI_BT_RSP_DEINIT

Response for deinitializing the BT classic protocol.

RSI_BT_RSP_ANTENNA_SELECT

Response for selecting the antenna.

RSI_BT_RSP_SET_FEATURES_BITMAP

Response for setting the features bitmap.

RSI_BT_RSP_ANTENNA_TX_POWER_LEVEL

Response for setting the antenna transmission power level.

RSI_BT_RSP_SET_GAIN_TABLE_OFFSET_OR_MAX_POWER_UPDATE

Response for setting gain table offset or updating maximum power.

RSI_BT_RSP_SET_BD_ADDR

Response for setting the Bluetooth device address.

RSI_BLE_RSP_ONLY_OPER_MODE

Response for setting BLE-only operation mode.

RSI_BLE_RSP_PWRMODE

Response for requesting BLE power mode.

RSI_BLE_RSP_SOFTRESET

Response for requesting BLE soft reset.


Definition at line 200 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

Typedef Documentation#

RSI_BLE_CMD_AE_opcode_t#

typedef enum RSI_BLE_CMD_AE_opcode_e RSI_BLE_CMD_AE_opcode_t

Enumeration for BLE advertising extension command request codes.


Definition at line 106 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

rsi_ble_cmd_request_t#

typedef enum rsi_ble_cmd_request_e rsi_ble_cmd_request_t

Enumeration for BLE command request codes.


Definition at line 200 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

rsi_ble_cmd_resp_t#

typedef enum rsi_ble_cmd_resp_e rsi_ble_cmd_resp_t

Enumeration for BLE command response codes.


Definition at line 294 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

rsi_ble_event_t#

typedef enum rsi_ble_event_e rsi_ble_event_t

Enumeration for BLE event codes.


Definition at line 359 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

rsi_ble_callback_id_t#

typedef enum rsi_ble_callback_id_e rsi_ble_callback_id_t

Enumerations for call back types.


Definition at line 378 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

rsi_ble_gap_extended_callbacks_t#

typedef enum rsi_ble_gap_extended_callbacks_s rsi_ble_gap_extended_callbacks_t

Enumeration represents the BLE GAP extended callback types.

This enumeration defines the possible callback types for the BLE GAP extended feature.


Definition at line 1674 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

rsi_bt_common_cmd_request_t#

typedef enum rsi_bt_common_cmd_request_e rsi_bt_common_cmd_request_t

Enumeration of Bluetooth common command requests.

Defines various command requests for Bluetooth operations, which includes setting and getting local device information, initializing and deinitializing the device, and configuring antenna and power settings.


Definition at line 179 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

rsi_bt_common_event_t#

typedef enum rsi_bt_common_event_e rsi_bt_common_event_t

Enumeration of Bluetooth common events.

Defines various events for Bluetooth operations, which includes the event that indicates the Bluetooth card is ready.


Definition at line 190 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

rsi_bt_common_cmd_resp_t#

typedef enum rsi_bt_common_cmd_resp_e rsi_bt_common_cmd_resp_t

Enumeration of Bluetooth common command responses.

Defines various command responses for Bluetooth operations, which includes responses for setting and querying local device information, initializing and deinitializing the device, and configuring antenna and power settings.


Definition at line 217 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

Macro Definition Documentation#

RSI_BLE_STATE_NONE#

#define RSI_BLE_STATE_NONE
Value:
0x00

Represents the BLE state when there is no active connection.


Definition at line 44 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_STATE_CONNECTION#

#define RSI_BLE_STATE_CONNECTION
Value:
0x01

Represents the BLE state when the device is connected.


Definition at line 46 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_STATE_DSICONNECT#

#define RSI_BLE_STATE_DSICONNECT
Value:
0x02

Represents the BLE state when the device is disconnected.


Definition at line 48 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_MAX_REQ_LIST#

#define RSI_BLE_MAX_REQ_LIST
Value:
0x05

Defines the maximum number of request list entries in BLE.


Definition at line 50 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_LEGACY_CMD_USED#

#define RSI_BLE_LEGACY_CMD_USED
Value:
(1 << 0)

Indicates that legacy BLE commands are used (BIT 0).


Definition at line 52 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_ADV_EXT_CMD_USED#

#define RSI_BLE_ADV_EXT_CMD_USED
Value:
(1 << 1)

Indicates that advertising extension commands are used (BIT 1).


Definition at line 54 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_CHECK_CMD#

#define RSI_BLE_CHECK_CMD
Value:
(1 << 15)

Command to check BLE status (BIT 15).


Definition at line 56 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

SI_LE_BUFFER_AVL#

#define SI_LE_BUFFER_AVL
Value:
0

Indicates that the buffer is available.


Definition at line 58 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

SI_LE_BUFFER_FULL#

#define SI_LE_BUFFER_FULL
Value:
1

Indicates that the buffer is full.


Definition at line 60 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

SI_LE_BUFFER_IN_PROGRESS#

#define SI_LE_BUFFER_IN_PROGRESS
Value:
2

Indicates that the buffer operation is in progress.


Definition at line 62 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

BLE_VENDOR_RF_TYPE_CMD_OPCODE#

#define BLE_VENDOR_RF_TYPE_CMD_OPCODE
Value:
0xFC14

Vendor-specific RF type command opcode.


Definition at line 64 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

BLE_VENDOR_ACCEPTLIST_USING_ADV_DATA_PAYLOAD#

#define BLE_VENDOR_ACCEPTLIST_USING_ADV_DATA_PAYLOAD
Value:
0xFC1B

BLE_VENDOR_ACCEPTLIST_USING_ADV_DATA_PAYLOAD.


Definition at line 66 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_MAX_NUM_GAP_EXT_CALLBACKS#

#define RSI_BLE_MAX_NUM_GAP_EXT_CALLBACKS
Value:
2

Defines the maximum number of GAP extension callbacks.


Definition at line 68 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_MAX_NUM_ADV_EXT_EVENT_CALLBACKS#

#define RSI_BLE_MAX_NUM_ADV_EXT_EVENT_CALLBACKS
Value:
0x08

Defines the maximum number of advertising extension event callbacks.


Definition at line 70 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

BLE_AE_REPORTING_DISABLED#

#define BLE_AE_REPORTING_DISABLED
Value:
0x01

Advertising extension reporting is disabled.


Definition at line 72 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

BLE_AE_REPORTING_ENABLED#

#define BLE_AE_REPORTING_ENABLED
Value:
0x00

Advertising extension reporting is enabled.


Definition at line 74 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

BLE_AE_PERODIC_DUPLICATE_FILTERING_ENABLED#

#define BLE_AE_PERODIC_DUPLICATE_FILTERING_ENABLED
Value:
0x01

Enables periodic duplicate filtering.


Definition at line 76 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

BLE_AE_PERODIC_DUPLICATE_FILTERING_DISABLED#

#define BLE_AE_PERODIC_DUPLICATE_FILTERING_DISABLED
Value:
0x00

Disables periodic duplicate filtering.


Definition at line 78 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

BLE_AE_PERIODIC_LIST_USED#

#define BLE_AE_PERIODIC_LIST_USED
Value:
0x01

Periodic list usage flag.


Definition at line 80 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

BLE_PROTOCOL#

#define BLE_PROTOCOL
Value:
0x01

BLE protocol identifier.


Definition at line 552 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

PROP_PROTOCOL#

#define PROP_PROTOCOL
Value:
0x02

Proprietary protocol identifier.


Definition at line 554 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

ADV_ROLE#

#define ADV_ROLE
Value:
0x01

Advertising role identifier.


Definition at line 556 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

SCAN_AND_CENTRAL_ROLE#

#define SCAN_AND_CENTRAL_ROLE
Value:
0x02

Scanning and central role identifier.


Definition at line 558 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

PERIPHERAL_ROLE#

#define PERIPHERAL_ROLE
Value:
0x03

Peripheral role identifier.


Definition at line 561 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

CONN_ROLE#

#define CONN_ROLE
Value:
0x04

Connection role identifier.


Definition at line 564 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

COMPATABILITY#

#define COMPATABILITY
Value:
0

Indicates compatibility mode for BLE operations.


Definition at line 787 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

BLE_CONNECT_CANCEL#

#define BLE_CONNECT_CANCEL
Value:
1

Command to cancel an ongoing BLE connection attempt.


Definition at line 789 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

BLE_DISCONNECT#

#define BLE_DISCONNECT
Value:
2

Command to disconnect an established BLE connection.


Definition at line 791 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_ATT_EXCHANGE_MTU_REQUEST#

#define RSI_BLE_ATT_EXCHANGE_MTU_REQUEST
Value:
0x02

Attribute Protocol (ATT) Exchange MTU request.


Definition at line 1677 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_ATT_FIND_INFORMATION_REQUEST#

#define RSI_BLE_ATT_FIND_INFORMATION_REQUEST
Value:
0x04

Attribute Protocol (ATT) Find Information request.


Definition at line 1679 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_ATT_FIND_BY_TYPE_VALUE_REQUEST#

#define RSI_BLE_ATT_FIND_BY_TYPE_VALUE_REQUEST
Value:
0x06

Attribute Protocol (ATT) Find By Type Value request.


Definition at line 1681 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_ATT_READ_BY_TYPE_REQUEST#

#define RSI_BLE_ATT_READ_BY_TYPE_REQUEST
Value:
0x08

Attribute Protocol (ATT) Read By Type request.


Definition at line 1683 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_ATT_READ_REQUEST#

#define RSI_BLE_ATT_READ_REQUEST
Value:
0x0A

Attribute Protocol (ATT) Read request.


Definition at line 1685 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_ATT_READ_BLOB_REQUEST#

#define RSI_BLE_ATT_READ_BLOB_REQUEST
Value:
0x0C

Attribute Protocol (ATT) Read Blob request.


Definition at line 1687 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_ATT_READ_MULTIPLE_REQUEST#

#define RSI_BLE_ATT_READ_MULTIPLE_REQUEST
Value:
0x0E

Attribute Protocol (ATT) Read Multiple request.


Definition at line 1689 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_ATT_READ_BY_GROUP_TYPE_REQUEST#

#define RSI_BLE_ATT_READ_BY_GROUP_TYPE_REQUEST
Value:
0x10

Attribute Protocol (ATT) Read By Group Type request.


Definition at line 1691 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_ATT_WRITE_REQUEST#

#define RSI_BLE_ATT_WRITE_REQUEST
Value:
0x12

Attribute Protocol (ATT) Write request.


Definition at line 1693 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_ATT_PREPARE_WRITE_REQUEST#

#define RSI_BLE_ATT_PREPARE_WRITE_REQUEST
Value:
0x16

Attribute Protocol (ATT) Prepare Write request.


Definition at line 1695 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_ATT_EXECUTE_WRITE_REQUEST#

#define RSI_BLE_ATT_EXECUTE_WRITE_REQUEST
Value:
0x18

Attribute Protocol (ATT) Execute Write request.


Definition at line 1697 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

AE_ADV_DATA#

#define AE_ADV_DATA
Value:
0x01

Advertising Extension (AE) advertising data.


Definition at line 1921 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

AE_SCAN_RSP_DATA#

#define AE_SCAN_RSP_DATA
Value:
0x02

Advertising Extension (AE) scan response data.


Definition at line 1923 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

SUPPORTED_SCNNING_PHYS#

#define SUPPORTED_SCNNING_PHYS
Value:
2

Indicates the number of supported scanning physical channels.


Definition at line 2053 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

BLE_AE_PERIODIC_SYNC_CREATE#

#define BLE_AE_PERIODIC_SYNC_CREATE
Value:
0x01

Command to create a periodic synchronization for Advertising Extension.


Definition at line 2198 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

BLE_AE_PERIODIC_SYNC_CREATE_CANCEL#

#define BLE_AE_PERIODIC_SYNC_CREATE_CANCEL
Value:
0x02

Command to cancel the creation of a periodic synchronization for Advertising Extension.


Definition at line 2200 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

BLE_AE_PERIODIC_SYNC_TERMINATE#

#define BLE_AE_PERIODIC_SYNC_TERMINATE
Value:
0x03

Command to terminate a periodic synchronization for Advertising Extension.


Definition at line 2202 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble.h

RSI_BLE_MAX_RESP_LIST#

#define RSI_BLE_MAX_RESP_LIST
Value:
0x05

Maximum number of response list for BLE.


Definition at line 43 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

RSI_MAX_ADV_REPORT_SIZE#

#define RSI_MAX_ADV_REPORT_SIZE
Value:
31

Maximum size of an advertising report.


Definition at line 45 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

BLE_PASSKEY_SIZE#

#define BLE_PASSKEY_SIZE
Value:
6

Size of the BLE passkey.


Definition at line 47 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

BLE_OUTPUT_POWER_FRONT_END_LOSS#

#define BLE_OUTPUT_POWER_FRONT_END_LOSS
Value:
0 /* db */

Defines the output power front end loss for BLE.


Definition at line 51 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

RSI_HOST_DESC_LENGTH#

#define RSI_HOST_DESC_LENGTH
Value:
16

Host descriptor length.


Definition at line 55 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

RSI_BLE_WRITE_CMD_EVENT#

#define RSI_BLE_WRITE_CMD_EVENT
Value:
0x01

BLE write command event.


Definition at line 1039 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

RSI_BLE_WRITE_REQUEST_EVENT#

#define RSI_BLE_WRITE_REQUEST_EVENT
Value:
0x02

BLE write request event.


Definition at line 1041 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

RSI_BLE_NOTIFICATION_EVENT#

#define RSI_BLE_NOTIFICATION_EVENT
Value:
0x03

BLE notification event.


Definition at line 1043 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

RSI_BLE_INDICATION_EVENT#

#define RSI_BLE_INDICATION_EVENT
Value:
0x04

BLE indication event.


Definition at line 1045 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

PEER_DEVICE_INITATED_MTU_EXCHANGE#

#define PEER_DEVICE_INITATED_MTU_EXCHANGE
Value:
  0x1

Indicates that the Maximum Transmission Unit (MTU) exchange was initiated by the peer device.


Definition at line 1131 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

LOCAL_DEVICE_INITATED_MTU_EXCHANGE#

#define LOCAL_DEVICE_INITATED_MTU_EXCHANGE
Value:
0x2

Indicates that the MTU exchange was initiated by the local device.


Definition at line 1133 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

ADV_DATA_LEN#

#define ADV_DATA_LEN
Value:
210

The maximum length of advertising data.


Definition at line 1686 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

DEVICE_ADDR_LEN#

#define DEVICE_ADDR_LEN
Value:
6

Length of the device address in bytes.


Definition at line 1688 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

RSI_BLE_SET_RESOLVABLE_PRIV_ADDR_TOUT#

#define RSI_BLE_SET_RESOLVABLE_PRIV_ADDR_TOUT
Value:
120

BLE Resolvable Private Address timeout value (in seconds)


Definition at line 38 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

NO_OF_ADV_REPORTS#

#define NO_OF_ADV_REPORTS
Value:
10

Maximum number of advertise reports to hold.


Definition at line 41 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

BLE_CP_BUFF_SIZE_512#

#define BLE_CP_BUFF_SIZE_512
Value:
0

Enabled for BLE PER Test.


Definition at line 44 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ATT_PROPERTY_READ#

#define RSI_BLE_ATT_PROPERTY_READ
Value:
0x02

Attribute property for read operation in BLE.


Definition at line 50 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ATT_PROPERTY_WRITE_NO_RESPONSE#

#define RSI_BLE_ATT_PROPERTY_WRITE_NO_RESPONSE
Value:
0x04

Attribute property allows writing without requiring a response.


Definition at line 53 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ATT_PROPERTY_WRITE#

#define RSI_BLE_ATT_PROPERTY_WRITE
Value:
0x08

Attribute property is for write operations.


Definition at line 56 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ATT_PROPERTY_NOTIFY#

#define RSI_BLE_ATT_PROPERTY_NOTIFY
Value:
0x10

Enables the BLE Attribute Property for Notification.


Definition at line 59 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ATT_PROPERTY_INDICATE#

#define RSI_BLE_ATT_PROPERTY_INDICATE
Value:
0x20

Attribute property for indication.


Definition at line 62 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

BT_GLOBAL_BUFF_LEN#

#define BT_GLOBAL_BUFF_LEN
Value:
10000

Memory length for driver.


Definition at line 65 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

BLE_PERIPHERAL_MODE_ENABLE#

#define BLE_PERIPHERAL_MODE_ENABLE
Value:
1

Enabling peripheral mode.


Definition at line 68 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

ATT_REC_MAINTAIN_IN_HOST#

#define ATT_REC_MAINTAIN_IN_HOST
Value:
BIT(0)

Att record maintained by the stack.


Definition at line 73 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

SEC_MODE_1_LEVEL_1#

#define SEC_MODE_1_LEVEL_1
Value:
BIT(1)

NO Auth and No Enc.


Definition at line 74 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

SEC_MODE_1_LEVEL_2#

#define SEC_MODE_1_LEVEL_2
Value:
BIT(2)

UnAUTH with Enc.


Definition at line 75 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

SEC_MODE_1_LEVEL_3#

#define SEC_MODE_1_LEVEL_3
Value:
BIT(3)

AUTH with Enc.


Definition at line 76 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

SEC_MODE_1_LEVEL_4#

#define SEC_MODE_1_LEVEL_4
Value:
BIT(4)

AUTH LE_SC Pairing with Enc.


Definition at line 77 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

ON_BR_EDR_LINK_ONLY#

#define ON_BR_EDR_LINK_ONLY
Value:
BIT(5)

BR/EDR link-only mode.


Definition at line 78 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

ON_LE_LINK_ONLY#

#define ON_LE_LINK_ONLY
Value:
BIT(6)

LE link-only mode.


Definition at line 79 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

TX_LEN#

#define TX_LEN
Value:
0x001e

The transmission length.


Definition at line 84 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

TX_TIME#

#define TX_TIME
Value:
0x01f4

Transmission time configuration.


Definition at line 87 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_SMP_IO_CAPABILITY#

#define RSI_BLE_SMP_IO_CAPABILITY
Value:
0x00

The I/O capability for BLE Security Manager Protocol (SMP).


Definition at line 90 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_APP_SMP_PASSKEY#

#define RSI_BLE_APP_SMP_PASSKEY
Value:
0

The default Security Manager Protocol (SMP) passkey for BLE applications.


Definition at line 93 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

TX_PHY_RATE#

#define TX_PHY_RATE
Value:
0x02

The PHY rate for transmission.


Definition at line 99 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RX_PHY_RATE#

#define RX_PHY_RATE
Value:
0x02

The PHY rate for RX (Receiver).


Definition at line 102 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

CODDED_PHY_RATE#

#define CODDED_PHY_RATE
Value:
0x00

Specifies the PHY rate for coded PHY.


Definition at line 105 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_NETWORK_PRIVACY_MODE#

#define RSI_BLE_NETWORK_PRIVACY_MODE
Value:
0

This macro defines the value 0 for enabling Network Privacy Mode.


Definition at line 112 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_DEVICE_PRIVACY_MODE#

#define RSI_BLE_DEVICE_PRIVACY_MODE
Value:
1

This macro defines the value 1 for enabling Device Privacy Mode.


Definition at line 115 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_PRIVACY_MODE#

#define RSI_BLE_PRIVACY_MODE
Value:
RSI_BLE_DEVICE_PRIVACY_MODE

The BLE privacy mode is set to the device privacy mode.


Definition at line 118 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_RESOLVING_LIST_SIZE#

#define RSI_BLE_RESOLVING_LIST_SIZE
Value:
5

Resovable list size.


Definition at line 122 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_MAX_DATA_LEN#

#define RSI_BLE_MAX_DATA_LEN
Value:
20

max data length


Definition at line 125 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ADD_TO_RESOLVE_LIST#

#define RSI_BLE_ADD_TO_RESOLVE_LIST
Value:
1

Enable or disable adding devices to the BLE resolve list.


Definition at line 131 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_REMOVE_FROM_RESOLVE_LIST#

#define RSI_BLE_REMOVE_FROM_RESOLVE_LIST
Value:
2

Defines the value used to remove a device from the BLE resolve list.


Definition at line 134 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_CLEAR_RESOLVE_LIST#

#define RSI_BLE_CLEAR_RESOLVE_LIST
Value:
3

Clears the resolving list in the BLE stack.


Definition at line 137 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_BATTERY_SERVICE_UUID#

#define RSI_BLE_BATTERY_SERVICE_UUID
Value:
0x180F

UUID for the Battery Service.


Definition at line 143 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_CHAR_SERV_UUID#

#define RSI_BLE_CHAR_SERV_UUID
Value:
0x2803

UUID for BLE Characteristic Service.


Definition at line 146 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_CLIENT_CHAR_UUID#

#define RSI_BLE_CLIENT_CHAR_UUID
Value:
0x2902

UUID for the BLE Client Characteristic Configuration Descriptor.


Definition at line 149 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_CHAR_PRESENTATION_FORMATE_UUID#

#define RSI_BLE_CHAR_PRESENTATION_FORMATE_UUID
Value:
  0x2904

UUID for the BLE Characteristic Presentation Format Descriptor.


Definition at line 152 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_NEW_SERVICE_UUID#

#define RSI_BLE_NEW_SERVICE_UUID
Value:
0xAABB

Defines the UUID for a new BLE service.


Definition at line 159 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_NEW_SERVICE_UUID2#

#define RSI_BLE_NEW_SERVICE_UUID2
Value:
0xCCDD

Defines the UUID for a new BLE service.


Definition at line 162 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ATTRIBUTE_1_UUID#

#define RSI_BLE_ATTRIBUTE_1_UUID
Value:
0x1AA1

UUID for BLE Attribute 1.


Definition at line 165 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ATTRIBUTE_2_UUID#

#define RSI_BLE_ATTRIBUTE_2_UUID
Value:
0x1BB1

Defines the UUID for the second BLE attribute.


Definition at line 168 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ATTRIBUTE_3_UUID#

#define RSI_BLE_ATTRIBUTE_3_UUID
Value:
0x1CC1

UUID for the third BLE attribute.


Definition at line 171 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ATTRIBUTE_4_UUID#

#define RSI_BLE_ATTRIBUTE_4_UUID
Value:
0x1DD1

UUID for BLE Attribute 4.


Definition at line 174 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_SET_RAND_ADDR#

#define RSI_BLE_SET_RAND_ADDR
Value:
"00:23:A7:12:34:56"

Defines the random Bluetooth address for BLE configuration.


Definition at line 178 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

CLEAR_ACCEPTLIST#

#define CLEAR_ACCEPTLIST
Value:
0x00

Clears the accept list.


Definition at line 182 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

ADD_DEVICE_TO_ACCEPTLIST#

#define ADD_DEVICE_TO_ACCEPTLIST
Value:
0x01

Adds a device to the accept list.


Definition at line 185 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

DELETE_DEVICE_FROM_ACCEPTLIST#

#define DELETE_DEVICE_FROM_ACCEPTLIST
Value:
0x02

Operation code for deleting a device from the accept list.


Definition at line 188 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

ALL_PHYS#

#define ALL_PHYS
Value:
0x00

Specify that all physical layer settings should be applied.


Definition at line 192 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_DEV_ADDR_RESOLUTION_ENABLE#

#define RSI_BLE_DEV_ADDR_RESOLUTION_ENABLE
Value:
0

Enable or disable BLE device address resolution.


Definition at line 196 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_OPERMODE_WLAN_BLE#

#define RSI_OPERMODE_WLAN_BLE
Value:
13

The operation mode for WLAN and BLE coexistence.


Definition at line 200 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_MAX_NBR_ATT_REC#

#define RSI_BLE_MAX_NBR_ATT_REC
Value:
80

Maximum number of Attribute Records.


Definition at line 204 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_MAX_NBR_ATT_SERV#

#define RSI_BLE_MAX_NBR_ATT_SERV
Value:
10

Defines the maximum number of Attribute Services supported by the BLE stack.


Definition at line 207 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_MAX_NBR_PERIPHERALS#

#define RSI_BLE_MAX_NBR_PERIPHERALS
Value:
3

Defines the maximum number of BLE peripheral devices that can be connected.


Definition at line 211 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_MAX_NBR_CENTRALS#

#define RSI_BLE_MAX_NBR_CENTRALS
Value:
  2

Defines the maximum number of BLE central devices that can be connected simultaneously.


Definition at line 214 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_NUM_CONN_EVENTS#

#define RSI_BLE_NUM_CONN_EVENTS
Value:
20

Defines the number of BLE connection events.


Definition at line 218 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_NUM_REC_BYTES#

#define RSI_BLE_NUM_REC_BYTES
Value:
0x40

Defines the number of bytes to be received in a BLE operation.


Definition at line 223 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ADV_DIR_ADDR#

#define RSI_BLE_ADV_DIR_ADDR
Value:
"00:15:83:6A:64:17"

Defines the Bluetooth Low Energy (BLE) advertising direct address.


Definition at line 229 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ADV_CHANNEL_MAP#

#define RSI_BLE_ADV_CHANNEL_MAP
Value:
  0x07

Defines the advertising channel map for BLE. Setting all bits to 1 (0x07) enables advertising on all three channels.

BLE Tx Power Index On Air


Definition at line 233 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_PWR_INX#

#define RSI_BLE_PWR_INX
Value:
30

LP chain.


Definition at line 241 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_PWR_INX_DBM#

#define RSI_BLE_PWR_INX_DBM
Value:
0

BLE Tx Power Index On Air per Gap role.


Definition at line 246 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_START_ADV#

#define RSI_BLE_START_ADV
Value:
0x01

Start the advertising process.


Definition at line 250 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_STOP_ADV#

#define RSI_BLE_STOP_ADV
Value:
0x00

Stop the advertising process.


Definition at line 253 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

UNDIR_CONN#

#define UNDIR_CONN
Value:
0x80

Advertising will be visible(discoverable) to all the devices.

Scanning/Connection is also accepted from all devices


Definition at line 264 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

DIR_CONN#

#define DIR_CONN
Value:
0x81

Advertising will be visible (discoverable) to the particular device mentioned in RSI_BLE_ADV_DIR_ADDR only.

Scanning and Connection will be accepted from that device only.


Definition at line 273 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

UNDIR_SCAN#

#define UNDIR_SCAN
Value:
0x82

Advertising would be visible (discoverable) to all the devices.

Scanning will be accepted from all the devices. Connection will be not be accepted from any device.


Definition at line 282 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

UNDIR_NON_CONN#

#define UNDIR_NON_CONN
Value:
0x83

Advertising would be visible (discoverable) to all the devices.

Scanning and Connection would not be accepted from any device.


Definition at line 290 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

DIR_CONN_LOW_DUTY_CYCLE#

#define DIR_CONN_LOW_DUTY_CYCLE
Value:
0x84

Advertising would be visible (discoverable) to the particular device mentioned in RSI_BLE_ADV_DIR_ADDR only.

Scanning and Connection would be accepted from that device only.


Definition at line 299 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ADV_TYPE#

#define RSI_BLE_ADV_TYPE
Value:
UNDIR_CONN

Defines the type of BLE advertisement.

This macro sets the type of Bluetooth Low Energy (BLE) advertisement. The value UNDIR_CONN indicates that the advertisement type is undirected connectable.

Possible values:

  • UNDIR_CONN: Undirected connectable advertisement.

  • Other values might be defined based on the BLE stack being used.

Example usage:

#define RSI_BLE_ADV_TYPE UNDIR_CONN

Definition at line 319 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

LE_LIMITED_DISCOVERABLE#

#define LE_LIMITED_DISCOVERABLE
Value:
0x01

Limited Discoverable mode.

The Limited Discoverable mode is used to indicate that the device is discoverable for a limited period of time. This mode is applicable for the devices that are not discoverable always, and becomes discoverable only for a short duration.


Definition at line 333 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

LE_GENERAL_DISCOVERABLE#

#define LE_GENERAL_DISCOVERABLE
Value:
0x02

LE General Discoverable Mode.

This macro defines the value for the LE General Discoverable mode. It is used to set the device in a mode where it can be discovered by other Bluetooth Low Energy (BLE) devices.


Definition at line 345 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

LE_BR_EDR_NOT_SUPPORTED#

#define LE_BR_EDR_NOT_SUPPORTED
Value:
0x04

BR/EDR (Basic Rate/Enhanced Data Rate) is not supported.

The value 0x04 is used to signify that the device does not support BR/EDR.

Note

  • Ensure that this macro is used in contexts where the absence of BR/EDR support is relevant.


Definition at line 357 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

ALLOW_SCAN_REQ_ANY_CONN_REQ_ANY#

#define ALLOW_SCAN_REQ_ANY_CONN_REQ_ANY
Value:
0x00

Allow any scan request and any connection request.

Allow any device to send a scan request and any device to send a connection request.

Note

  • This setting might be used in scenarios where the device needs to be discoverable and connectable by any other BLE device without restrictions.


Definition at line 372 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

ALLOW_SCAN_REQ_ACCEPT_LIST_CONN_REQ_ANY#

#define ALLOW_SCAN_REQ_ACCEPT_LIST_CONN_REQ_ANY
Value:
0x01

Allows scan requests from devices in the accept list and connection requests from any device.

Configures the device to:

  • Accept scan requests only from devices in the accept list.

  • Accept connection requests from any device, regardless of whether it is in the accept list.


Definition at line 382 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

ALLOW_SCAN_REQ_ANY_CONN_REQ_ACCEPT_LIST#

#define ALLOW_SCAN_REQ_ANY_CONN_REQ_ACCEPT_LIST
Value:
0x02

Allows scan requests from any device and connection requests only from devices in the accept list.

Configures the device to:

  • Accept scan requests from any device, regardless of whether it is in the accept list.

  • Accept connection requests only from devices in the accept list.


Definition at line 392 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

ALLOW_SCAN_REQ_ACCEPT_LIST_CONN_REQ_ACCEPT_LIST#

#define ALLOW_SCAN_REQ_ACCEPT_LIST_CONN_REQ_ACCEPT_LIST
Value:
0x03

Allows both scan and connection requests only from devices in the accept list.

Configures the device to:

  • Accept scan requests only from devices in the accept list.

  • Accept connection requests only from devices in the accept list.


Definition at line 402 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ADV_FILTER_TYPE#

#define RSI_BLE_ADV_FILTER_TYPE
Value:
ALLOW_SCAN_REQ_ANY_CONN_REQ_ANY

Sets the advertising filter policy to allow both scan and connection requests from any device.

Configures the advertising filter policy to:

  • Accept scan requests from any device, regardless of whether it is in the accept list.

  • Accept connection requests from any device, regardless of whether it is in the accept list.

Uses the ALLOW_SCAN_REQ_ANY_CONN_REQ_ANY setting.


Definition at line 414 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

LE_PUBLIC_ADDRESS#

#define LE_PUBLIC_ADDRESS
Value:
0x00

Defines the public address type used in BLE communication.

Represents the public address type with a value of 0x00.


Definition at line 426 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

LE_RANDOM_ADDRESS#

#define LE_RANDOM_ADDRESS
Value:
0x01

Defines the type for a random address used in BLE communication.

Specifies the value for a random address type with a value of 0x01.


Definition at line 435 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

LE_RESOLVABLE_PUBLIC_ADDRESS#

#define LE_RESOLVABLE_PUBLIC_ADDRESS
Value:
0x02

Defines the resolvable public address type used in communication.

Represents the resolvable public address type with a value of 0x02.


Definition at line 444 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

LE_RESOLVABLE_RANDOM_ADDRESS#

#define LE_RESOLVABLE_RANDOM_ADDRESS
Value:
0x03

Defines the resolvable random address type used in communication.

Represents the resolvable random address type with a value of 0x03.


Definition at line 453 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ADV_DIR_ADDR_TYPE#

#define RSI_BLE_ADV_DIR_ADDR_TYPE
Value:
LE_PUBLIC_ADDRESS

Defines the directed advertising address type used in communication.

Represents the directed advertising address type, set to LE_PUBLIC_ADDRESS.


Definition at line 462 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

CONNECTION_LATENCY#

#define CONNECTION_LATENCY
Value:
0x0000

Defines the peripheral latency used in communication.

Represents the peripheral latency with a value of 0x0000.

Peripheral latency is the number of connection events the peripheral device can skip. A value of 0x0000 means no events are skipped.


Definition at line 477 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

SUPERVISION_TIMEOUT#

#define SUPERVISION_TIMEOUT
Value:
0x07D0

Defines the supervision timeout used in BLE communication.

Represents the supervision timeout with a value of 0x07D0 (2000).

The supervision timeout is the maximum time, in milliseconds, that a connection can remain idle before being considered lost and terminated.


Definition at line 489 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_START_SCAN#

#define RSI_BLE_START_SCAN
Value:
0x01

Defines the command to start scanning for BLE devices.

Represents the command to initiate scanning with a value of 0x01.


Definition at line 503 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_STOP_SCAN#

#define RSI_BLE_STOP_SCAN
Value:
0x00

Defines the command to stop scanning for BLE devices.

Represents the command to stop scanning with a value of 0x00.


Definition at line 512 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

SCAN_TYPE_ACTIVE#

#define SCAN_TYPE_ACTIVE
Value:
0x01

Defines the active scan type for BLE communication.

In active scanning, the scanner sends scan request packets to advertising devices to obtain additional information.


Definition at line 523 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

SCAN_TYPE_PASSIVE#

#define SCAN_TYPE_PASSIVE
Value:
0x00

Defines the passive scan type for BLE communication.

In passive scanning, the scanner listens for advertising packets without sending scan request packets to the advertising devices.


Definition at line 532 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

SCAN_FILTER_TYPE_ALL#

#define SCAN_FILTER_TYPE_ALL
Value:
0x00

Defines the scan filter type to accept all advertising packets.

Configures the scanner to accept all advertising packets, regardless of their address or data content.


Definition at line 546 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

SCAN_FILTER_TYPE_ONLY_ACCEPT_LIST#

#define SCAN_FILTER_TYPE_ONLY_ACCEPT_LIST
Value:
0x01

Defines the scan filter type to accept only advertising packets from devices in the accept list.

Configures the scanner to accept advertising packets only from devices that are included in the accept list, ignoring packets from other devices.


Definition at line 556 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_SCAN_TYPE#

#define RSI_BLE_SCAN_TYPE
Value:
SCAN_TYPE_ACTIVE

Configures the BLE scan type to active scanning.

Sets the scan type to active, where the scanner sends scan request packets to advertising devices to obtain additional information.

Uses the SCAN_TYPE_ACTIVE setting.


Definition at line 568 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_SCAN_FILTER_TYPE#

#define RSI_BLE_SCAN_FILTER_TYPE
Value:
SCAN_FILTER_TYPE_ALL

Configures the BLE scan filter to accept all advertising packets.

Sets the scan filter type to accept all advertising packets, regardless of their address or data content.

Uses the SCAN_FILTER_TYPE_ALL setting.


Definition at line 580 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

BLE_DISABLE_DUTY_CYCLING#

#define BLE_DISABLE_DUTY_CYCLING
Value:
0

Disables duty cycling for BLE operations.

Configures the device to disable duty cycling, which means that BLE operations would run continuously without the power-saving sleep cycles.


Definition at line 591 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

BLE_DUTY_CYCLING#

#define BLE_DUTY_CYCLING
Value:
1

Enables duty cycling for BLE operations.

Configures the device to enable duty cycling, which means that BLE operations would include power-saving sleep cycles to conserve energy.


Definition at line 601 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

BLR_DUTY_CYCLING#

#define BLR_DUTY_CYCLING
Value:
2

Enables duty cycling for BLE operations.

Configures the device to enable duty cycling, which includes power-saving sleep cycles to conserve energy. The value 2 indicates the specific duty cycling mode.


Definition at line 611 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

BLE_4X_PWR_SAVE_MODE#

#define BLE_4X_PWR_SAVE_MODE
Value:
4

Enables power save mode for BLE 4.x operations.


Definition at line 619 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_PWR_SAVE_OPTIONS#

#define RSI_BLE_PWR_SAVE_OPTIONS
Value:
BLE_DISABLE_DUTY_CYCLING

Configures power save options for BLE operations.

Disables duty cycling to keep the device active and avoid power-saving sleep cycles.


Definition at line 628 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_SEL_INTERNAL_ANTENNA#

#define RSI_SEL_INTERNAL_ANTENNA
Value:
0x00

Selects the internal antenna for BLE operations.

Configures the device to use the internal antenna. The value 0x00 indicates the selection of the internal antenna.


Definition at line 639 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_SEL_EXTERNAL_ANTENNA#

#define RSI_SEL_EXTERNAL_ANTENNA
Value:
0x01

Selects the external antenna for BLE operations.

Configures the device to use the external antenna. The value 0x01 indicates the selection of the external antenna.


Definition at line 649 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_SEL_ANTENNA#

#define RSI_SEL_ANTENNA
Value:
RSI_SEL_INTERNAL_ANTENNA

Antenna Selection - RSI_SEL_EXTERNAL_ANTENNA / RSI_SEL_INTERNAL_ANTENNA.


Definition at line 654 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_GATT_ASYNC_ENABLE#

#define RSI_BLE_GATT_ASYNC_ENABLE
Value:
0

Enables or disables asynchronous GATT operations.

Configures the device to enable or disable asynchronous GATT operations. The value 0 indicates that asynchronous GATT operations are disabled.


Definition at line 666 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_GATT_INIT#

#define RSI_BLE_GATT_INIT
Value:
0

Initializes the GATT in Firmware for BLE operations.

0 - GATT Init in Firmware: Both the GAP service and GATT service would be maintained by Firmware. 1 - GATT Init in Host: GAP service and GATT service should be created by the APP/Host/User, and the ATT transactions like read, write, notify, and indicate should be handled by the APP/Host/User. Default: GATT Init in Firmware.


Definition at line 678 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_INDICATE_CONFIRMATION_FROM_HOST#

#define RSI_BLE_INDICATE_CONFIRMATION_FROM_HOST
Value:
0

Configures indication confirmation from the host.

When this macro is enabled, the host needs to provide confirmation for the indicatation. If it is disabled, the firmware would send the confirmation automatically.


Definition at line 688 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_MTU_EXCHANGE_FROM_HOST#

#define RSI_BLE_MTU_EXCHANGE_FROM_HOST
Value:
0

Configures whether the MTU exchange process is initiated by the host.

If this macro is disabled, the firmware would initiate the MTU request to the remote device on the successful connection. And if Peer initiates MTU exchange Request, then firmware will send Exchange MTU Response in reply to a received Exchange MTU Request. If this macro is enabled then APP/Host/User needs to initiate the MTU request by using the rsi_ble_mtu_exchange_event API. And if Peer initiates MTU exchange Request, then APP/Host/User should send Exchange MTU Response in reply to a received Exchange MTU Request using rsi_ble_mtu_exchange_resp API.


Definition at line 700 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_SET_SCAN_RESP_DATA_FROM_HOST#

#define RSI_BLE_SET_SCAN_RESP_DATA_FROM_HOST
Value:
0

Configures scan response data from the host.

Device would maintains some default scan response data and would be used in the scan_response controller frame. By enabling this bit we can make the default data as Null (empty) in the controller and set scan resp data from APP/Host/User.


Definition at line 711 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_DISABLE_CODED_PHY_FROM_HOST#

#define RSI_BLE_DISABLE_CODED_PHY_FROM_HOST
Value:
0

Configures the disabling of coded PHY from the host.

Device will support the LE-coded phy feature (that is, LR - 125 kbps and 500 kbps) by default. If this bit is enabled, the device will not the support the LE-coded phy rates.


Definition at line 721 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ADV_INT_MIN#

#define RSI_BLE_ADV_INT_MIN
Value:
0x100

Minimum advertising interval.


Definition at line 726 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ADV_INT_MAX#

#define RSI_BLE_ADV_INT_MAX
Value:
0x200

Maximum advertising interval.


Definition at line 729 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

CONNECTION_INTERVAL_MIN#

#define CONNECTION_INTERVAL_MIN
Value:
0x00A0

Minimum connection interval.


Definition at line 733 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

CONNECTION_INTERVAL_MAX#

#define CONNECTION_INTERVAL_MAX
Value:
0x00A0

Maximum connection interval.


Definition at line 736 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

LE_SCAN_INTERVAL#

#define LE_SCAN_INTERVAL
Value:
0x0100

Scan interval.


Definition at line 740 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

LE_SCAN_WINDOW#

#define LE_SCAN_WINDOW
Value:
0x0050

Scan window.


Definition at line 743 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_ENABLE_ADV_EXTN#

#define RSI_BLE_ENABLE_ADV_EXTN
Value:
0

disabled by default


Definition at line 750 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BLE_AE_MAX_ADV_SETS#

#define RSI_BLE_AE_MAX_ADV_SETS
Value:
2

default number of Advertising sets in extended advertising (Max value = 3)


Definition at line 754 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_common_config.h

RSI_BT_HCI_CMD_PKT#

#define RSI_BT_HCI_CMD_PKT
Value:
0x1

Specifies the packet type is Bluetooth HCI command packet.


Definition at line 45 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_BT_HCI_ACL_PKT#

#define RSI_BT_HCI_ACL_PKT
Value:
0x2

Represents the HCI ACL packet type.


Definition at line 47 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_BT_HCI_PER_CMD_PKT#

#define RSI_BT_HCI_PER_CMD_PKT
Value:
0x3

Specifies the number of packets that can be sent per HCI command.


Definition at line 49 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_BT_DUAL_MODE#

#define RSI_BT_DUAL_MODE
Value:
0x8

Indicates dual mode operation in Bluetooth.


Definition at line 51 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

BLE_PROTO_ENABLE#

#define BLE_PROTO_ENABLE
Value:
BIT(2)

This macro is used to enable the Bluetooth Low Energy (BLE) protocol.


Definition at line 53 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

BT_CLASSIC_PROTO_ENABLE#

#define BT_CLASSIC_PROTO_ENABLE
Value:
BIT(3)

This macro is used to enable the Bluetooth Classic protocol.


Definition at line 55 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

PROP_PROTO_ENABLE#

#define PROP_PROTO_ENABLE
Value:
(BIT(8))

This macro is used to enable the proprietary protocol. It sets the 8th bit of the property.


Definition at line 57 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

BT_DUAL_MODE_PROTO_ENABLE#

#define BT_DUAL_MODE_PROTO_ENABLE
Value:
(BLE_PROTO_ENABLE | BT_CLASSIC_PROTO_ENABLE)

Enable both BLE and Classic Bluetooth protocols.


Definition at line 59 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_BT_BLE_MODE_BITS#

#define RSI_BT_BLE_MODE_BITS
Value:
(BIT(2) | BIT(3))

Define the bits for Bluetooth Low Energy (BLE) mode.


Definition at line 61 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_BT_STATUS_OFFSET#

#define RSI_BT_STATUS_OFFSET
Value:
0x0C

Offset of the BT status in the Bluetooth module.


Definition at line 63 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_BT_RSP_TYPE_OFFSET#

#define RSI_BT_RSP_TYPE_OFFSET
Value:
0x02

Offset value for the response type in the Bluetooth module.


Definition at line 65 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_BT_RSP_LEN_OFFSET#

#define RSI_BT_RSP_LEN_OFFSET
Value:
0x00

Offset value for the length field in the Bluetooth response.


Definition at line 67 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_BT_RSP_LEN_MASK#

#define RSI_BT_RSP_LEN_MASK
Value:
0x0FFF

Mask used to extract the response length from a Bluetooth response.


Definition at line 69 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_PROTO_BT_COMMON#

#define RSI_PROTO_BT_COMMON
Value:
0x01

Protocol identifier for Bluetooth Common.


Definition at line 71 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_PROTO_BT_CLASSIC#

#define RSI_PROTO_BT_CLASSIC
Value:
0x02

Bluetooth protocol type for classic Bluetooth.


Definition at line 73 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_PROTO_BLE#

#define RSI_PROTO_BLE
Value:
0x03

Defines the protocol value for Bluetooth Low Energy (BLE).


Definition at line 75 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_PROTO_BT_BLE_STACK#

#define RSI_PROTO_BT_BLE_STACK
Value:
0x05

Definition of the Bluetooth Low Energy (BLE) stack protocol.


Definition at line 77 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_DEV_NAME_LEN#

#define RSI_DEV_NAME_LEN
Value:
50

The maximum length of the device name.


Definition at line 79 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_DEV_ADDR_LEN#

#define RSI_DEV_ADDR_LEN
Value:
6

Length of the device address in bytes.


Definition at line 81 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_DEV_ATT_LEN#

#define RSI_DEV_ATT_LEN
Value:
240

Length of the Attribute Protocol (ATT) buffer for the device.


Definition at line 83 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_BT_CLASSIC_DEVICE#

#define RSI_BT_CLASSIC_DEVICE
Value:
0x00

Defines the Bluetooth classic device type.


Definition at line 85 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_BT_LE_DEVICE#

#define RSI_BT_LE_DEVICE
Value:
0x01

Defines the Bluetooth Low Energy (LE) device type.


Definition at line 87 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_BT_UNKWON_DEVICE#

#define RSI_BT_UNKWON_DEVICE
Value:
0xFF

Macro definition for an unknown Bluetooth device. The value of this macro is 0xFF.


Definition at line 89 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

STACK_BT_MODE#

#define STACK_BT_MODE
Value:
0x01

Defines the stack mode for Bluetooth.


Definition at line 91 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

STACK_BTLE_MODE#

#define STACK_BTLE_MODE
Value:
0x02

Defines the stack mode for Bluetooth Low Energy (BLE).


Definition at line 93 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_EXTERNAL_RF#

#define RSI_EXTERNAL_RF
Value:
0x00

Specify the external RF mode.


Definition at line 96 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_INTERNAL_RF#

#define RSI_INTERNAL_RF
Value:
0x01

Specify the internal RF mode.


Definition at line 98 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_RF_TYPE#

#define RSI_RF_TYPE
Value:
RSI_INTERNAL_RF

Defines the RF type for the Bluetooth module.

This macro is used to specify the RF type for the Bluetooth module. The value RSI_INTERNAL_RF indicates that the module uses an internal RF.

Note

  • This macro should be defined before including the header file.


Definition at line 107 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_MAX_ATT#

#define RSI_MAX_ATT
Value:
5

Maximum number of attributes supported by the Bluetooth module.


Definition at line 109 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_OPERMODE_WLAN_BT_DUAL_MODE#

#define RSI_OPERMODE_WLAN_BT_DUAL_MODE
Value:
9

Defines the operating mode for WLAN and Bluetooth dual mode.

This macro is used to specify the operating mode for WLAN and Bluetooth dual mode. The value 9 represents the dual mode operation.


Definition at line 116 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_BT_STATE_NONE#

#define RSI_BT_STATE_NONE
Value:
0

Bluetooth state indicating none.


Definition at line 118 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_BT_STATE_OPERMODE_DONE#

#define RSI_BT_STATE_OPERMODE_DONE
Value:
1

Defines the state value which indicates that the Bluetooth operation mode is done.


Definition at line 120 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

LOWERNIBBLE#

#define LOWERNIBBLE
Value:
0x0F

Mask to extract the lower nibble of a byte.


Definition at line 122 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

MAX_REMOTE_BLE_DEVICES#

#define MAX_REMOTE_BLE_DEVICES
Value:
10

Maximum number of remote BLE devices.


Definition at line 322 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

HCI_BT_PER_STATS_CMD_ID#

#define HCI_BT_PER_STATS_CMD_ID
Value:
0x08

HCI command ID for Bluetooth Packet Error Rate (PER) statistics.


Definition at line 531 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

HCI_BLE_TRANSMIT_CMD_ID#

#define HCI_BLE_TRANSMIT_CMD_ID
Value:
0x13

HCI command ID for BLE transmit command.


Definition at line 532 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

HCI_BLE_RECEIVE_CMD_ID#

#define HCI_BLE_RECEIVE_CMD_ID
Value:
0x14

HCI command ID for BLE receive command.


Definition at line 533 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

HCI_BT_TRANSMIT_CMD_ID#

#define HCI_BT_TRANSMIT_CMD_ID
Value:
0x15

HCI command ID for Bluetooth transmit command.


Definition at line 534 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

HCI_BT_RECEIVE_CMD_ID#

#define HCI_BT_RECEIVE_CMD_ID
Value:
0x16

HCI command ID for Bluetooth receive command.


Definition at line 535 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h

RSI_SUCCESS#

#define RSI_SUCCESS
Value:
0

success return value


Definition at line 45 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_apis.h

RSI_FAILURE#

#define RSI_FAILURE
Value:
-1

failure return value


Definition at line 48 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_apis.h

BD_ADDR_ARRAY_LEN#

#define BD_ADDR_ARRAY_LEN
Value:
18

length of the Bluetooth device address array


Definition at line 38 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

RSI_LINKKEY_REPLY_SIZE#

#define RSI_LINKKEY_REPLY_SIZE
Value:
16

size of the link key reply


Definition at line 41 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

RSI_OPERMODE_WLAN_BT_CLASSIC#

#define RSI_OPERMODE_WLAN_BT_CLASSIC
Value:
5

operation mode for WLAN and Bluetooth Classic


Definition at line 45 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

RSI_BT_BLE_DUAL_MODE#

#define RSI_BT_BLE_DUAL_MODE
Value:
9

operation mode for Bluetooth and BLE dual mode


Definition at line 48 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

BT_GLOBAL_BUFF_LEN#

#define BT_GLOBAL_BUFF_LEN
Value:
10000

size of the global buffer for Bluetooth operations


Definition at line 52 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

START_DISCOVERY#

#define START_DISCOVERY
Value:
0x01

command to start device discovery


Definition at line 61 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

START_LIMITED_DISCOVERY#

#define START_LIMITED_DISCOVERY
Value:
0x02

command to start limited discovery mode


Definition at line 66 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

STOP_DISCOVERY#

#define STOP_DISCOVERY
Value:
0x00

command to stop discovery mode


Definition at line 71 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

CONNECTABLE#

#define CONNECTABLE
Value:
0x01

state indicating the device is connectable


Definition at line 80 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

NON_CONNECTABLE#

#define NON_CONNECTABLE
Value:
0x00

state indicating the device is non-connectable


Definition at line 85 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

ACCEPT#

#define ACCEPT
Value:
0x01

SSP confirmation command parameter indicating acceptance.


Definition at line 94 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

REJECT#

#define REJECT
Value:
0x00

SSP confirmation command parameter indicating rejection.


Definition at line 99 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

RSI_SPP_PROFILE_BIT#

#define RSI_SPP_PROFILE_BIT
Value:
BIT(0)

bitmask to enable the SPP profile in Bluetooth Classic (BIT(0))


Definition at line 105 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

RSI_A2DP_PROFILE_BIT#

#define RSI_A2DP_PROFILE_BIT
Value:
BIT(1)

bitmask to enable the A2DP profile in Bluetooth Classic (BIT(1))


Definition at line 109 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

RSI_AVRCP_PROFILE_BIT#

#define RSI_AVRCP_PROFILE_BIT
Value:
BIT(2)

bitmask to enable the AVRCP profile in Bluetooth Classic (BIT(2))


Definition at line 113 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

RSI_HFP_PROFILE_BIT#

#define RSI_HFP_PROFILE_BIT
Value:
BIT(3)

bitmask to enable the HFP profile in Bluetooth Classic (BIT(3))


Definition at line 117 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

RSI_PBAP_PROFILE_BIT#

#define RSI_PBAP_PROFILE_BIT
Value:
  BIT(4) #define RSI_PBAP_PROFILE_BIT BIT(4)

bitmask to enable the PBAP profile in Bluetooth Classic (BIT(4))


Definition at line 121 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

A2DP_BURST_MODE#

#define A2DP_BURST_MODE
Value:
1

A2DP profile setting for burst mode , 0 - Disable, 1 - Enable.


Definition at line 129 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

A2DP_BURST_SIZE#

#define A2DP_BURST_SIZE
Value:
1

Number of PCM/MP3 packets buffered.


Definition at line 133 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

PCM_AUDIO#

#define PCM_AUDIO
Value:
1

Audio mode using PCM (Pulse Code Modulation)


Definition at line 137 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

SBC_AUDIO#

#define SBC_AUDIO
Value:
2

Audio mode using SBC (Subband Coding)


Definition at line 140 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

MP3_AUDIO#

#define MP3_AUDIO
Value:
3

Audio mode using MP3 (MPEG-1 Audio Layer 3)


Definition at line 143 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

RSI_AUDIO_DATA_TYPE#

#define RSI_AUDIO_DATA_TYPE
Value:
SBC_AUDIO

Defines the audio data type for the A2DP profile as SBC (Subband Coding) (Value = SBC_AUDIO)


Definition at line 147 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

PCM_INPUT_BUFFER_SIZE#

#define PCM_INPUT_BUFFER_SIZE
Value:
(30 * 512)

Size of the PCM input buffer in bytes.


Definition at line 151 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

MP3_INPUT_BUFFER_SIZE#

#define MP3_INPUT_BUFFER_SIZE
Value:
(10 * 512)

Size of the MP3 input buffer in bytes.


Definition at line 155 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

BIN_FILE#

#define BIN_FILE
Value:
1

File type indicating binary format.


Definition at line 159 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

BT_ARRAY#

#define BT_ARRAY
Value:
2

Array type for Bluetooth data.


Definition at line 162 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

SD_BIN_FILE#

#define SD_BIN_FILE
Value:
3

File type indicating a binary format for SD.


Definition at line 165 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

RSI_AUDIO_DATA_SRC#

#define RSI_AUDIO_DATA_SRC
Value:
BIN_FILE

Defines the audio data source as a binary file (Value = BIN_FILE)


Definition at line 169 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

PRE_ENC_BUF_LEN#

#define PRE_ENC_BUF_LEN
Value:
8

Length of the pre-encoded buffer (Value = 8)


Definition at line 173 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

ACCEPTOR_ROLE#

#define ACCEPTOR_ROLE
Value:
1

AVDTP role indicating the acceptor (Value = 1)


Definition at line 178 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

INITIATOR_ROLE#

#define INITIATOR_ROLE
Value:
2

AVDTP role indicating the initiator (Value = 2)


Definition at line 181 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

ANY_ROLE#

#define ANY_ROLE
Value:
3

AVDTP role indicating any role.


Definition at line 184 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

RSI_BT_MAX_PAYLOAD_SIZE#

#define RSI_BT_MAX_PAYLOAD_SIZE
Value:
  1040

BT MTU size changes //310 /* Max supported is 200, but 190 gives optimum Tx throughput */.


Definition at line 188 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

BT_BDR_MODE#

#define BT_BDR_MODE
Value:
0

1 - HP chain


Definition at line 193 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

USE_REM_MTU_SIZE_ONLY#

#define USE_REM_MTU_SIZE_ONLY
Value:
1

Flag to use only the remote MTU size.


Definition at line 197 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h

TA_BASED_ENCODER#

#define TA_BASED_ENCODER
Value:
0

Encoder type based on TA.


Definition at line 201 of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common_config.h