Constants#
Enumerations#
Enumeration for BLE advertising extension command request codes.
Enumeration for BLE command request codes.
Enumeration for BLE command response codes.
Enumeration for BLE event codes.
Enumerations for smp failure error.
Enumerations for call back types.
Enumeration represents the BLE GAP extended callback types.
Enumeration of Bluetooth common command requests.
Enumeration of Bluetooth common command responses.
Typedefs#
Enumeration for BLE advertising extension command request codes.
Enumeration for BLE command request codes.
Enumeration for BLE command response codes.
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#
Represents the BLE state when there is no active connection.
Represents the BLE state when the device is connected.
Represents the BLE state when the device is disconnected.
Defines the maximum number of request list entries in BLE.
Indicates that legacy BLE commands are used (BIT 0).
Indicates that advertising extension commands are used (BIT 1).
Command to check BLE status (BIT 15).
Indicates that the buffer is available.
Indicates that the buffer is full.
Indicates that the buffer operation is in progress.
Vendor-specific RF type command opcode.
BLE_VENDOR_ACCEPTLIST_USING_ADV_DATA_PAYLOAD.
Defines the maximum number of GAP extension callbacks.
Defines the maximum number of advertising extension event callbacks.
Advertising extension reporting is disabled.
Advertising extension reporting is enabled.
Enables periodic duplicate filtering.
Disables periodic duplicate filtering.
Periodic list usage flag.
BLE protocol identifier.
Proprietary protocol identifier.
Advertising role identifier.
Scanning and central role identifier.
Peripheral role identifier.
Connection role identifier.
Indicates compatibility mode for BLE operations.
Command to cancel an ongoing BLE connection attempt.
Command to disconnect an established BLE connection.
Attribute Protocol (ATT) Exchange MTU request.
Attribute Protocol (ATT) Find Information request.
Attribute Protocol (ATT) Find By Type Value request.
Attribute Protocol (ATT) Read By Type request.
Attribute Protocol (ATT) Read request.
Attribute Protocol (ATT) Read Blob request.
Attribute Protocol (ATT) Read Multiple request.
Attribute Protocol (ATT) Read By Group Type request.
Attribute Protocol (ATT) Write request.
Attribute Protocol (ATT) Prepare Write request.
Attribute Protocol (ATT) Execute Write request.
Advertising Extension (AE) advertising data.
Advertising Extension (AE) scan response data.
Indicates the number of supported scanning physical channels.
Command to create a periodic synchronization for Advertising Extension.
Command to cancel the creation of a periodic synchronization for Advertising Extension.
Command to terminate a periodic synchronization for Advertising Extension.
Maximum number of response list for Bluetooth Low Energy (BLE).
Maximum size of an advertising report.
Size of the passkey.
Defines the output power front end loss.
Host descriptor length.
BLE write command event.
BLE write request event.
BLE notification event.
BLE indication event.
Indicates that the Maximum Transmission Unit (MTU) exchange was initiated by the peer device.
Indicates that the MTU exchange was initiated by the local device.
The maximum length of advertising data.
Length of the device address in bytes.
BLE Resolvable Private Address timeout value (in seconds)
Maximum number of advertise reports to hold.
Enabled for BLE PER Test.
Attribute property for read operation in BLE.
Attribute property allows writing without requiring a response.
Attribute property is for write operations.
Enables the BLE Attribute Property for Notification.
Attribute property for indication.
Memory length for driver.
Enabling peripheral mode.
Att record maintained by the stack.
NO Auth and No Enc.
UnAUTH with Enc.
AUTH with Enc.
AUTH LE_SC Pairing with Enc.
BR/EDR link-only mode.
LE link-only mode.
The transmission length.
Transmission time configuration.
The I/O capability for BLE Security Manager Protocol (SMP).
The default Security Manager Protocol (SMP) passkey for BLE applications.
The PHY rate for transmission.
The PHY rate for RX (Receiver).
Specifies the PHY rate for coded PHY.
This macro defines the value 0
for enabling Network Privacy Mode.
This macro defines the value 1
for enabling Device Privacy Mode.
The BLE privacy mode is set to the device privacy mode.
Resovable list size.
max data length
Enable or disable adding devices to the BLE resolve list.
Defines the value used to remove a device from the BLE resolve list.
Clears the resolving list in the BLE stack.
UUID for the Battery Service.
UUID for BLE Characteristic Service.
UUID for the BLE Client Characteristic Configuration Descriptor.
UUID for the BLE Characteristic Presentation Format Descriptor.
Defines the UUID for a new BLE service.
Defines the UUID for a new BLE service.
UUID for BLE Attribute 1.
Defines the UUID for the second BLE attribute.
UUID for the third BLE attribute.
UUID for BLE Attribute 4.
Defines the random Bluetooth address for BLE configuration.
Clears the accept list.
Adds a device to the accept list.
Operation code for deleting a device from the accept list.
Specify that all physical layer settings should be applied.
Enable or disable BLE device address resolution.
The operation mode for WLAN and BLE coexistence.
Maximum number of Attribute Records.
Defines the maximum number of Attribute Services supported by the BLE stack.
Defines the maximum number of BLE peripheral devices that can be connected.
Defines the maximum number of BLE central devices that can be connected simultaneously.
Defines the number of BLE connection events.
Defines the number of bytes to be received in a BLE operation.
Defines the Bluetooth Low Energy (BLE) advertising direct address.
Defines the advertising channel map for BLE. Setting all bits to 1 (0x07) enables advertising on all three channels.
LP chain.
BLE Tx Power Index On Air per Gap role.
Start the advertising process.
Stop the advertising process.
Advertising will be visible(discoverable) to all the devices. Scanning/Connection is also accepted from all devices.
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.
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.
Advertising would be visible (discoverable) to all the devices. Scanning and Connection would not be accepted from any device.
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.
Defines the type of BLE advertisement.
Limited Discoverable mode.
LE General Discoverable Mode.
BR/EDR (Basic Rate/Enhanced Data Rate) is not supported.
Allow any scan request and any connection request.
Allows scan requests from devices in the accept list and connection requests from any device.
Allows scan requests from any device and connection requests only from devices in the accept list.
Allows both scan and connection requests only from devices in the accept list.
Sets the advertising filter policy to allow both scan and connection requests from any device.
Defines the public address type used in BLE communication.
Defines the type for a random address used in BLE communication.
Defines the resolvable public address type used in communication.
Defines the resolvable random address type used in communication.
Defines the directed advertising address type used in communication.
Defines the peripheral latency used in communication.
Defines the supervision timeout used in BLE communication.
Defines the command to start scanning for BLE devices.
Defines the command to stop scanning for BLE devices.
Defines the active scan type for BLE communication.
Defines the passive scan type for BLE communication.
Defines the scan filter type to accept all advertising packets.
Defines the scan filter type to accept only advertising packets from devices in the accept list.
Configures the BLE scan type to active scanning.
Configures the BLE scan filter to accept all advertising packets.
Disables duty cycling for BLE operations.
Enables duty cycling for BLE operations.
Enables duty cycling for BLE operations.
Enables power save mode for BLE 4.x operations.
Configures power save options for BLE operations.
Selects the internal antenna for BLE operations.
Selects the external antenna for BLE operations.
Antenna Selection - RSI_SEL_EXTERNAL_ANTENNA / RSI_SEL_INTERNAL_ANTENNA.
Enables or disables asynchronous GATT operations.
Initializes the GATT in Firmware for BLE operations.
Configures indication confirmation from the host.
Configures whether the MTU exchange process is initiated by the host.
Configures scan response data from the host.
Configures the disabling of coded PHY from the host.
Minimum advertising interval.
Maximum advertising interval.
Minimum connection interval.
Maximum connection interval.
Scan interval.
Scan window.
disabled by default
default number of Advertising sets in extended advertising (Max value = 3)
Specifies the packet type is Bluetooth HCI command packet.
Represents the HCI ACL packet type.
Specifies the number of packets that can be sent per HCI command.
Indicates dual mode operation in Bluetooth.
This macro is used to enable the Bluetooth Low Energy (BLE) protocol.
This macro is used to enable the Bluetooth Classic protocol.
This macro is used to enable the proprietary protocol. It sets the 8th bit of the property.
Enable both BLE and Classic Bluetooth protocols.
Define the bits for Bluetooth Low Energy (BLE) mode.
Offset of the BT status in the Bluetooth module.
Offset value for the response type in the Bluetooth module.
Offset value for the length field in the Bluetooth response.
Mask used to extract the response length from a Bluetooth response.
Protocol identifier for Bluetooth Common.
Bluetooth protocol type for classic Bluetooth.
Defines the protocol value for Bluetooth Low Energy (BLE).
Definition of the Bluetooth Low Energy (BLE) stack protocol.
The maximum length of the device name.
Length of the device address in bytes.
Length of the Attribute Protocol (ATT) buffer for the device.
Defines the Bluetooth classic device type.
Defines the Bluetooth Low Energy (LE) device type.
Macro definition for an unknown Bluetooth device. The value of this macro is 0xFF.
Defines the stack mode for Bluetooth.
Defines the stack mode for Bluetooth Low Energy (BLE).
Specify the external RF mode.
Specify the internal RF mode.
Defines the RF type for the Bluetooth module.
Maximum number of attributes supported by the Bluetooth module.
Defines the operating mode for WLAN and Bluetooth dual mode.
Bluetooth state indicating none.
Defines the state value which indicates that the Bluetooth operation mode is done.
Mask to extract the lower nibble of a byte.
HCI command ID for Bluetooth Packet Error Rate (PER) statistics.
HCI command ID for BLE transmit command.
HCI command ID for BLE receive command.
HCI command ID for Bluetooth transmit command.
HCI command ID for Bluetooth receive command.
success return value
failure return value
length of the Bluetooth device address array
size of the link key reply
operation mode for WLAN and Bluetooth Classic
operation mode for Bluetooth and BLE dual mode
size of the global buffer for Bluetooth operations
command to start device discovery
command to start limited discovery mode
command to stop discovery mode
state indicating the device is connectable
state indicating the device is non-connectable
SSP confirmation command parameter indicating acceptance.
SSP confirmation command parameter indicating rejection.
bitmask to enable the SPP profile in Bluetooth Classic (BIT(0))
bitmask to enable the A2DP profile in Bluetooth Classic (BIT(1))
bitmask to enable the AVRCP profile in Bluetooth Classic (BIT(2))
bitmask to enable the HFP profile in Bluetooth Classic (BIT(3))
bitmask to enable the PBAP profile in Bluetooth Classic (BIT(4))
A2DP profile setting for burst mode , 0 - Disable, 1 - Enable.
Number of PCM/MP3 packets buffered.
Audio mode using PCM (Pulse Code Modulation)
Audio mode using SBC (Subband Coding)
Audio mode using MP3 (MPEG-1 Audio Layer 3)
Defines the audio data type for the A2DP profile as SBC (Subband Coding) (Value = SBC_AUDIO)
Size of the PCM input buffer in bytes.
Size of the MP3 input buffer in bytes.
File type indicating binary format.
Array type for Bluetooth data.
File type indicating a binary format for SD.
Defines the audio data source as a binary file (Value = BIN_FILE)
Length of the pre-encoded buffer (Value = 8)
AVDTP role indicating the acceptor (Value = 1)
AVDTP role indicating the initiator (Value = 2)
AVDTP role indicating any role.
BT MTU size changes //310 /* Max supported is 200, but 190 gives optimum Tx throughput */.
1 - HP chain
Flag to use only the remote MTU size.
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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. |
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. |
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. |
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.
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.
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.
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.
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.
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.
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.
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.
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.
217
of file components/device/silabs/si91x/wireless/ble/inc/rsi_bt_common.h