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
RSI_BLE_STATE_NONE 0x00

Represents the BLE state when there is no active connection.

#define
RSI_BLE_STATE_CONNECTION 0x01

Represents the BLE state when the device is connected.

#define
RSI_BLE_STATE_DSICONNECT 0x02

Represents the BLE state when the device is disconnected.

#define
RSI_BLE_MAX_REQ_LIST 0x05

Defines the maximum number of request list entries in BLE.

#define
RSI_BLE_LEGACY_CMD_USED (1 << 0)

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

#define
RSI_BLE_ADV_EXT_CMD_USED (1 << 1)

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

#define
RSI_BLE_CHECK_CMD (1 << 15)

Command to check BLE status (BIT 15).

#define
SI_LE_BUFFER_AVL 0

Indicates that the buffer is available.

#define
SI_LE_BUFFER_FULL 1

Indicates that the buffer is full.

#define
SI_LE_BUFFER_IN_PROGRESS 2

Indicates that the buffer operation is in progress.

#define
BLE_VENDOR_RF_TYPE_CMD_OPCODE 0xFC14

Vendor-specific RF type command opcode.

#define
BLE_VENDOR_ACCEPTLIST_USING_ADV_DATA_PAYLOAD 0xFC1B

BLE_VENDOR_ACCEPTLIST_USING_ADV_DATA_PAYLOAD.

#define
RSI_BLE_MAX_NUM_GAP_EXT_CALLBACKS 2

Defines the maximum number of GAP extension callbacks.

#define
RSI_BLE_MAX_NUM_ADV_EXT_EVENT_CALLBACKS 0x08

Defines the maximum number of advertising extension event callbacks.

#define
BLE_AE_REPORTING_DISABLED 0x01

Advertising extension reporting is disabled.

#define
BLE_AE_REPORTING_ENABLED 0x00

Advertising extension reporting is enabled.

#define
BLE_AE_PERODIC_DUPLICATE_FILTERING_ENABLED 0x01

Enables periodic duplicate filtering.

#define
BLE_AE_PERODIC_DUPLICATE_FILTERING_DISABLED 0x00

Disables periodic duplicate filtering.

#define
BLE_AE_PERIODIC_LIST_USED 0x01

Periodic list usage flag.

#define
BLE_PROTOCOL 0x01

BLE protocol identifier.

#define
PROP_PROTOCOL 0x02

Proprietary protocol identifier.

#define
ADV_ROLE 0x01

Advertising role identifier.

#define
SCAN_AND_CENTRAL_ROLE 0x02

Scanning and central role identifier.

#define
PERIPHERAL_ROLE 0x03

Peripheral role identifier.

#define
CONN_ROLE 0x04

Connection role identifier.

#define
COMPATABILITY 0

Indicates compatibility mode for BLE operations.

#define
BLE_CONNECT_CANCEL 1

Command to cancel an ongoing BLE connection attempt.

#define
BLE_DISCONNECT 2

Command to disconnect an established BLE connection.

#define
RSI_BLE_ATT_EXCHANGE_MTU_REQUEST 0x02

Attribute Protocol (ATT) Exchange MTU request.

#define
RSI_BLE_ATT_FIND_INFORMATION_REQUEST 0x04

Attribute Protocol (ATT) Find Information request.

#define
RSI_BLE_ATT_FIND_BY_TYPE_VALUE_REQUEST 0x06

Attribute Protocol (ATT) Find By Type Value request.

#define
RSI_BLE_ATT_READ_BY_TYPE_REQUEST 0x08

Attribute Protocol (ATT) Read By Type request.

#define
RSI_BLE_ATT_READ_REQUEST 0x0A

Attribute Protocol (ATT) Read request.

#define
RSI_BLE_ATT_READ_BLOB_REQUEST 0x0C

Attribute Protocol (ATT) Read Blob request.

#define
RSI_BLE_ATT_READ_MULTIPLE_REQUEST 0x0E

Attribute Protocol (ATT) Read Multiple request.

#define
RSI_BLE_ATT_READ_BY_GROUP_TYPE_REQUEST 0x10

Attribute Protocol (ATT) Read By Group Type request.

#define
RSI_BLE_ATT_WRITE_REQUEST 0x12

Attribute Protocol (ATT) Write request.

#define
RSI_BLE_ATT_PREPARE_WRITE_REQUEST 0x16

Attribute Protocol (ATT) Prepare Write request.

#define
RSI_BLE_ATT_EXECUTE_WRITE_REQUEST 0x18

Attribute Protocol (ATT) Execute Write request.

#define
AE_ADV_DATA 0x01

Advertising Extension (AE) advertising data.

#define
AE_SCAN_RSP_DATA 0x02

Advertising Extension (AE) scan response data.

#define
SUPPORTED_SCNNING_PHYS 2

Indicates the number of supported scanning physical channels.

#define
BLE_AE_PERIODIC_SYNC_CREATE 0x01

Command to create a periodic synchronization for Advertising Extension.

#define
BLE_AE_PERIODIC_SYNC_CREATE_CANCEL 0x02

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

#define
BLE_AE_PERIODIC_SYNC_TERMINATE 0x03

Command to terminate a periodic synchronization for Advertising Extension.

#define
RSI_BLE_MAX_RESP_LIST 0x05

Maximum number of response list for Bluetooth Low Energy (BLE).

#define
RSI_MAX_ADV_REPORT_SIZE 31

Maximum size of an advertising report.

#define
BLE_PASSKEY_SIZE 6

Size of the passkey.

#define
BLE_OUTPUT_POWER_FRONT_END_LOSS 0 /* db */

Defines the output power front end loss.

#define
RSI_HOST_DESC_LENGTH 16

Host descriptor length.

#define
RSI_BLE_WRITE_CMD_EVENT 0x01

BLE write command event.

#define
RSI_BLE_WRITE_REQUEST_EVENT 0x02

BLE write request event.

#define
RSI_BLE_NOTIFICATION_EVENT 0x03

BLE notification event.

#define
RSI_BLE_INDICATION_EVENT 0x04

BLE indication event.

#define
PEER_DEVICE_INITATED_MTU_EXCHANGE 0x1

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

#define
LOCAL_DEVICE_INITATED_MTU_EXCHANGE 0x2

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

#define
ADV_DATA_LEN 210

The maximum length of advertising data.

#define
DEVICE_ADDR_LEN 6

Length of the device address in bytes.

#define
RSI_BLE_SET_RESOLVABLE_PRIV_ADDR_TOUT 120

BLE Resolvable Private Address timeout value (in seconds)

#define
NO_OF_ADV_REPORTS 10

Maximum number of advertise reports to hold.

#define
BLE_CP_BUFF_SIZE_512 0

Enabled for BLE PER Test.

#define
RSI_BLE_ATT_PROPERTY_READ 0x02

Attribute property for read operation in BLE.

#define
RSI_BLE_ATT_PROPERTY_WRITE_NO_RESPONSE 0x04

Attribute property allows writing without requiring a response.

#define
RSI_BLE_ATT_PROPERTY_WRITE 0x08

Attribute property is for write operations.

#define
RSI_BLE_ATT_PROPERTY_NOTIFY 0x10

Enables the BLE Attribute Property for Notification.

#define
RSI_BLE_ATT_PROPERTY_INDICATE 0x20

Attribute property for indication.

#define
BT_GLOBAL_BUFF_LEN 10000

Memory length for driver.

#define
BLE_PERIPHERAL_MODE_ENABLE 1

Enabling peripheral mode.

#define
ATT_REC_MAINTAIN_IN_HOST BIT(0)

Att record maintained by the stack.

#define
SEC_MODE_1_LEVEL_1 BIT(1)

NO Auth and No Enc.

#define
SEC_MODE_1_LEVEL_2 BIT(2)

UnAUTH with Enc.

#define
SEC_MODE_1_LEVEL_3 BIT(3)

AUTH with Enc.

#define
SEC_MODE_1_LEVEL_4 BIT(4)

AUTH LE_SC Pairing with Enc.

#define
ON_BR_EDR_LINK_ONLY BIT(5)

BR/EDR link-only mode.

#define
ON_LE_LINK_ONLY BIT(6)

LE link-only mode.

#define
TX_LEN 0x001e

The transmission length.

#define
TX_TIME 0x01f4

Transmission time configuration.

#define
RSI_BLE_SMP_IO_CAPABILITY 0x00

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

#define
RSI_BLE_APP_SMP_PASSKEY 0

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

#define
TX_PHY_RATE 0x02

The PHY rate for transmission.

#define
RX_PHY_RATE 0x02

The PHY rate for RX (Receiver).

#define
CODDED_PHY_RATE 0x00

Specifies the PHY rate for coded PHY.

#define
RSI_BLE_NETWORK_PRIVACY_MODE 0

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

#define
RSI_BLE_DEVICE_PRIVACY_MODE 1

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
RSI_BLE_RESOLVING_LIST_SIZE 5

Resovable list size.

#define
RSI_BLE_MAX_DATA_LEN 20

max data length

#define
RSI_BLE_ADD_TO_RESOLVE_LIST 1

Enable or disable adding devices to the BLE resolve list.

#define
RSI_BLE_REMOVE_FROM_RESOLVE_LIST 2

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

#define
RSI_BLE_CLEAR_RESOLVE_LIST 3

Clears the resolving list in the BLE stack.

#define
RSI_BLE_BATTERY_SERVICE_UUID 0x180F

UUID for the Battery Service.

#define
RSI_BLE_CHAR_SERV_UUID 0x2803

UUID for BLE Characteristic Service.

#define
RSI_BLE_CLIENT_CHAR_UUID 0x2902

UUID for the BLE Client Characteristic Configuration Descriptor.

#define
RSI_BLE_CHAR_PRESENTATION_FORMATE_UUID 0x2904

UUID for the BLE Characteristic Presentation Format Descriptor.

#define
RSI_BLE_NEW_SERVICE_UUID 0xAABB

Defines the UUID for a new BLE service.

#define
RSI_BLE_NEW_SERVICE_UUID2 0xCCDD

Defines the UUID for a new BLE service.

#define
RSI_BLE_ATTRIBUTE_1_UUID 0x1AA1

UUID for BLE Attribute 1.

#define
RSI_BLE_ATTRIBUTE_2_UUID 0x1BB1

Defines the UUID for the second BLE attribute.

#define
RSI_BLE_ATTRIBUTE_3_UUID 0x1CC1

UUID for the third BLE attribute.

#define
RSI_BLE_ATTRIBUTE_4_UUID 0x1DD1

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
CLEAR_ACCEPTLIST 0x00

Clears the accept list.

#define
ADD_DEVICE_TO_ACCEPTLIST 0x01

Adds a device to the accept list.

#define
DELETE_DEVICE_FROM_ACCEPTLIST 0x02

Operation code for deleting a device from the accept list.

#define
ALL_PHYS 0x00

Specify that all physical layer settings should be applied.

#define
RSI_BLE_DEV_ADDR_RESOLUTION_ENABLE 0

Enable or disable BLE device address resolution.

#define
RSI_OPERMODE_WLAN_BLE 13

The operation mode for WLAN and BLE coexistence.

#define
RSI_BLE_MAX_NBR_ATT_REC 80

Maximum number of Attribute Records.

#define
RSI_BLE_MAX_NBR_ATT_SERV 10

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

#define
RSI_BLE_MAX_NBR_PERIPHERALS 3

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

#define
RSI_BLE_MAX_NBR_CENTRALS 2

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

#define
RSI_BLE_NUM_CONN_EVENTS 20

Defines the number of BLE connection events.

#define
RSI_BLE_NUM_REC_BYTES 0x40

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
RSI_BLE_ADV_CHANNEL_MAP 0x07

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

#define
RSI_BLE_PWR_INX 30

LP chain.

#define
RSI_BLE_PWR_INX_DBM 0

BLE Tx Power Index On Air per Gap role.

#define
RSI_BLE_START_ADV 0x01

Start the advertising process.

#define
RSI_BLE_STOP_ADV 0x00

Stop the advertising process.

#define
UNDIR_CONN 0x80

Advertising will be visible(discoverable) to all the devices. Scanning/Connection is also accepted from all devices.

#define
DIR_CONN 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.

#define
UNDIR_SCAN 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.

#define
UNDIR_NON_CONN 0x83

Advertising would be visible (discoverable) to all the devices. Scanning and Connection would not be accepted from any device.

#define
DIR_CONN_LOW_DUTY_CYCLE 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.

#define
RSI_BLE_ADV_TYPE UNDIR_CONN

Defines the type of BLE advertisement.

#define
LE_LIMITED_DISCOVERABLE 0x01

Limited Discoverable mode.

#define
LE_GENERAL_DISCOVERABLE 0x02

LE General Discoverable Mode.

#define
LE_BR_EDR_NOT_SUPPORTED 0x04

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

#define
ALLOW_SCAN_REQ_ANY_CONN_REQ_ANY 0x00

Allow any scan request and any connection request.

#define
ALLOW_SCAN_REQ_ACCEPT_LIST_CONN_REQ_ANY 0x01

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

#define
ALLOW_SCAN_REQ_ANY_CONN_REQ_ACCEPT_LIST 0x02

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

#define
ALLOW_SCAN_REQ_ACCEPT_LIST_CONN_REQ_ACCEPT_LIST 0x03

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
LE_PUBLIC_ADDRESS 0x00

Defines the public address type used in BLE communication.

#define
LE_RANDOM_ADDRESS 0x01

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

#define
LE_RESOLVABLE_PUBLIC_ADDRESS 0x02

Defines the resolvable public address type used in communication.

#define
LE_RESOLVABLE_RANDOM_ADDRESS 0x03

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
CONNECTION_LATENCY 0x0000

Defines the peripheral latency used in communication.

#define
SUPERVISION_TIMEOUT 0x07D0

Defines the supervision timeout used in BLE communication.

#define
RSI_BLE_START_SCAN 0x01

Defines the command to start scanning for BLE devices.

#define
RSI_BLE_STOP_SCAN 0x00

Defines the command to stop scanning for BLE devices.

#define
SCAN_TYPE_ACTIVE 0x01

Defines the active scan type for BLE communication.

#define
SCAN_TYPE_PASSIVE 0x00

Defines the passive scan type for BLE communication.

#define
SCAN_FILTER_TYPE_ALL 0x00

Defines the scan filter type to accept all advertising packets.

#define
SCAN_FILTER_TYPE_ONLY_ACCEPT_LIST 0x01

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
BLE_DISABLE_DUTY_CYCLING 0

Disables duty cycling for BLE operations.

#define
BLE_DUTY_CYCLING 1

Enables duty cycling for BLE operations.

#define
BLR_DUTY_CYCLING 2

Enables duty cycling for BLE operations.

#define
BLE_4X_PWR_SAVE_MODE 4

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
RSI_SEL_INTERNAL_ANTENNA 0x00

Selects the internal antenna for BLE operations.

#define
RSI_SEL_EXTERNAL_ANTENNA 0x01

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
RSI_BLE_GATT_ASYNC_ENABLE 0

Enables or disables asynchronous GATT operations.

#define
RSI_BLE_GATT_INIT 0

Initializes the GATT in Firmware for BLE operations.

#define
RSI_BLE_INDICATE_CONFIRMATION_FROM_HOST 0

Configures indication confirmation from the host.

#define
RSI_BLE_MTU_EXCHANGE_FROM_HOST 0

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

#define
RSI_BLE_SET_SCAN_RESP_DATA_FROM_HOST 0

Configures scan response data from the host.

#define
RSI_BLE_DISABLE_CODED_PHY_FROM_HOST 0

Configures the disabling of coded PHY from the host.

#define
RSI_BLE_ADV_INT_MIN 0x100

Minimum advertising interval.

#define
RSI_BLE_ADV_INT_MAX 0x200

Maximum advertising interval.

#define
CONNECTION_INTERVAL_MIN 0x00A0

Minimum connection interval.

#define
CONNECTION_INTERVAL_MAX 0x00A0

Maximum connection interval.

#define
LE_SCAN_INTERVAL 0x0100

Scan interval.

#define
LE_SCAN_WINDOW 0x0050

Scan window.

#define
RSI_BLE_ENABLE_ADV_EXTN 0

disabled by default

#define
RSI_BLE_AE_MAX_ADV_SETS 2

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

#define
RSI_BT_HCI_CMD_PKT 0x1

Specifies the packet type is Bluetooth HCI command packet.

#define
RSI_BT_HCI_ACL_PKT 0x2

Represents the HCI ACL packet type.

#define
RSI_BT_HCI_PER_CMD_PKT 0x3

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

#define
RSI_BT_DUAL_MODE 0x8

Indicates dual mode operation in Bluetooth.

#define
BLE_PROTO_ENABLE BIT(2)

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

#define
BT_CLASSIC_PROTO_ENABLE BIT(3)

This macro is used to enable the Bluetooth Classic protocol.

#define
PROP_PROTO_ENABLE (BIT(8))

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
RSI_BT_STATUS_OFFSET 0x0C

Offset of the BT status in the Bluetooth module.

#define
RSI_BT_RSP_TYPE_OFFSET 0x02

Offset value for the response type in the Bluetooth module.

#define
RSI_BT_RSP_LEN_OFFSET 0x00

Offset value for the length field in the Bluetooth response.

#define
RSI_BT_RSP_LEN_MASK 0x0FFF

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

#define
RSI_PROTO_BT_COMMON 0x01

Protocol identifier for Bluetooth Common.

#define
RSI_PROTO_BT_CLASSIC 0x02

Bluetooth protocol type for classic Bluetooth.

#define
RSI_PROTO_BLE 0x03

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

#define
RSI_PROTO_BT_BLE_STACK 0x05

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

#define
RSI_DEV_NAME_LEN 50

The maximum length of the device name.

#define
RSI_DEV_ADDR_LEN 6

Length of the device address in bytes.

#define
RSI_DEV_ATT_LEN 240

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

#define
RSI_BT_CLASSIC_DEVICE 0x00

Defines the Bluetooth classic device type.

#define
RSI_BT_LE_DEVICE 0x01

Defines the Bluetooth Low Energy (LE) device type.

#define
RSI_BT_UNKWON_DEVICE 0xFF

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

#define
STACK_BT_MODE 0x01

Defines the stack mode for Bluetooth.

#define
STACK_BTLE_MODE 0x02

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

#define
RSI_EXTERNAL_RF 0x00

Specify the external RF mode.

#define
RSI_INTERNAL_RF 0x01

Specify the internal RF mode.

#define
RSI_RF_TYPE RSI_INTERNAL_RF

Defines the RF type for the Bluetooth module.

#define
RSI_MAX_ATT 5

Maximum number of attributes supported by the Bluetooth module.

#define
RSI_OPERMODE_WLAN_BT_DUAL_MODE 9

Defines the operating mode for WLAN and Bluetooth dual mode.

#define
RSI_BT_STATE_NONE 0

Bluetooth state indicating none.

#define
RSI_BT_STATE_OPERMODE_DONE 1

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

#define
LOWERNIBBLE 0x0F

Mask to extract the lower nibble of a byte.

#define
MAX_REMOTE_BLE_DEVICES 10
#define
HCI_BT_PER_STATS_CMD_ID 0x08

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

#define
HCI_BLE_TRANSMIT_CMD_ID 0x13

HCI command ID for BLE transmit command.

#define
HCI_BLE_RECEIVE_CMD_ID 0x14

HCI command ID for BLE receive command.

#define
HCI_BT_TRANSMIT_CMD_ID 0x15

HCI command ID for Bluetooth transmit command.

#define
HCI_BT_RECEIVE_CMD_ID 0x16

HCI command ID for Bluetooth receive command.

#define
RSI_SUCCESS 0

success return value

#define
RSI_FAILURE -1

failure return value

#define
BD_ADDR_ARRAY_LEN 18

length of the Bluetooth device address array

#define
RSI_LINKKEY_REPLY_SIZE 16

size of the link key reply

#define
RSI_OPERMODE_WLAN_BT_CLASSIC 5

operation mode for WLAN and Bluetooth Classic

#define
RSI_BT_BLE_DUAL_MODE 9

operation mode for Bluetooth and BLE dual mode

#define
BT_GLOBAL_BUFF_LEN 10000

size of the global buffer for Bluetooth operations

#define
START_DISCOVERY 0x01

command to start device discovery

#define
START_LIMITED_DISCOVERY 0x02

command to start limited discovery mode

#define
STOP_DISCOVERY 0x00

command to stop discovery mode

#define
CONNECTABLE 0x01

state indicating the device is connectable

#define
NON_CONNECTABLE 0x00

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
RSI_SPP_PROFILE_BIT BIT(0)

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

#define
RSI_A2DP_PROFILE_BIT BIT(1)

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

#define
RSI_AVRCP_PROFILE_BIT BIT(2)

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

#define
RSI_HFP_PROFILE_BIT BIT(3)

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_BURST_MODE 1

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

#define
A2DP_BURST_SIZE 1

Number of PCM/MP3 packets buffered.

#define
PCM_AUDIO 1

Audio mode using PCM (Pulse Code Modulation)

#define
SBC_AUDIO 2

Audio mode using SBC (Subband Coding)

#define
MP3_AUDIO 3

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

#define
RSI_AUDIO_DATA_TYPE SBC_AUDIO

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

#define
PCM_INPUT_BUFFER_SIZE (30 * 512)

Size of the PCM input buffer in bytes.

#define
MP3_INPUT_BUFFER_SIZE (10 * 512)

Size of the MP3 input buffer in bytes.

#define
BIN_FILE 1

File type indicating binary format.

#define
BT_ARRAY 2

Array type for Bluetooth data.

#define
SD_BIN_FILE 3

File type indicating a binary format for SD.

#define
RSI_AUDIO_DATA_SRC BIN_FILE

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

#define
PRE_ENC_BUF_LEN 8

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

#define
ACCEPTOR_ROLE 1

AVDTP role indicating the acceptor (Value = 1)

#define
INITIATOR_ROLE 2

AVDTP role indicating the initiator (Value = 2)

#define
ANY_ROLE 3

AVDTP role indicating any role.

#define
RSI_BT_MAX_PAYLOAD_SIZE 1040

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

#define
BT_BDR_MODE 0

1 - HP chain

#define
USE_REM_MTU_SIZE_ONLY 1

Flag to use only the remote MTU size.

#define
TA_BASED_ENCODER 0

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