Data Structures#

This section provides a reference to Bluetooth Low Energy (BLE) API data types.

Modules#

rsi_ble_req_rand_s

rsi_ble_req_adv_s

rsi_ble_req_adv_data_s

rsi_ble_req_whitelist_using_payload_s

rsi_ble_set_prop_protocol_ble_bandedge_tx_power_s

rsi_ble_set_ble_tx_power_s

rsi_ble_req_scanrsp_data_s

rsi_ble_req_scan_s

rsi_ble_encrypt_s

rsi_data_packet_s

rsi_ble_white_list_s

rsi_ble_req_conn_s

rsi_ble_req_enhance_conn_s

rsi_ble_req_disconnect_s

rsi_ble_start_encryption_s

rsi_ble_req_smp_pair_s

rsi_ble_smp_response_s

rsi_ble_smp_passkey_s

rsi_ble_get_le_ping_timeout_s

rsi_ble_rsp_get_le_ping_timeout_s

rsi_ble_set_le_ping_timeout_s

rsi_ble_resolvlist_s

rsi_ble_get_resolving_list_size_s

rsi_ble_set_addr_resolution_enable_s

rsi_ble_cmd_conn_params_update_s

rsi_ble_req_read_phy_s

rsi_ble_set_phy_s

rsi_ble_setdatalength_s

rsi_ble_set_privacy_mode_s

rsi_ble_cbfc_conn_req_s

rsi_ble_tx_test_mode_s

rsi_ble_end_test_mode_s

rsi_ble_set_le_ltkreqreply_s

rsi_ble_req_smp_pair_failed_s

rsi_ble_req_profiles_list_s

rsi_ble_req_profile_s

rsi_ble_req_char_services_s

rsi_ble_req_inc_services_s

rsi_ble_req_char_val_by_uuid_s

rsi_ble_req_att_descs_s

rsi_ble_req_att_value_s

rsi_ble_req_multiple_att_val_s

rsi_ble_req_long_att_value_s

rsi_ble_set_att_val_s

rsi_ble_set_att_cmd_s

rsi_ble_set_long_att_val_s

rsi_ble_req_prepare_write_s

rsi_ble_req_execute_write_s

rsi_ble_cmd_conn_param_resp

rsi_ble_req_add_serv_s

rsi_ble_set_local_att_value_s

rsi_ble_notify_att_value_s

rsi_ble_set_wo_resp_notify_buf_info_s

rsi_ble_indicate_confirm_s

rsi_ble_get_local_att_value_s

rsi_ble_gatt_read_response_s

rsi_ble_gatt_write_response_s

rsi_ble_gatt_prepare_write_response_s

rsi_ble_set_local_irk_s

rsi_ble_att_error_response_s

rsi_ble_gatt_remove_serv_s

rsi_ble_gatt_remove_att_s

rsi_ble_vendor_rf_type_s

rsi_ble_mtu_exchange_s

rsi_ble_mtu_exchange_resp_s

rsi_ble_ae_get_supported_no_of_adv_sets_s

rsi_ble_ae_read_supported_max_adv_data_s

rsi_ble_ae_set_random_address_s

ae_adv_params_s

rsi_ble_ae_data_s

rsi_ble_ae_adv_enabel_s

rsi_ble_ae_adv_set_clear_or_remove_s

ae_periodic_adv_params

ae_periodic_adv_enable

ae_scan_params_s

rsi_ble_ae_set_scan_params_s

rsi_ble_ae_set_scan_enable_s

rsi_ble_ae_set_periodic_adv_create_sync_s

rsi_ble_ae_set_periodic_adv_terminate_sync_s

rsi_ble_ae_set_periodic_sync_s

rsi_ble_ae_dev_to_periodic_list_s

rsi_ble_initiation_params_s

rsi_ble_ae_extended_create_connect_s

rsi_ble_tx_pwr_s

rsi_ble_query_rf_path_comp_s

rsi_ble_write_rf_path_comp_s

rsi_ble_ae_pdu

Enumerations#

enum
RSI_BLE_ON_REMOTE_DEVICE_INFORMATION = 1
RSI_BLE_ON_RCP_EVENT = 2
}

Typedefs#

typedef enum rsi_ble_gap_extended_callbacks_s

Functions#

__attribute__((__packed__)) rsi_ble_ae_adv_params_t

AE Advertising Params.

Variables#

AE Advertising Params.

Enumeration Documentation#

rsi_ble_gap_extended_callbacks_s#

rsi_ble_gap_extended_callbacks_s
Enumerator
RSI_BLE_ON_REMOTE_DEVICE_INFORMATION
RSI_BLE_ON_RCP_EVENT

Definition at line 1021 of file components/si91x/ble/inc/rsi_ble.h

Typedef Documentation#

rsi_ble_req_rand_t#

typedef struct rsi_ble_req_rand_s rsi_ble_req_rand_t

Definition at line 352 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_adv_t#

typedef struct rsi_ble_req_adv_s rsi_ble_req_adv_t

Definition at line 405 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_adv_data_t#

typedef struct rsi_ble_req_adv_data_s rsi_ble_req_adv_data_t

Definition at line 413 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_whitelist_using_payload_t#

typedef struct rsi_ble_req_whitelist_using_payload_s rsi_ble_req_whitelist_using_payload_t

Definition at line 423 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_set_prop_protocol_ble_bandedge_tx_power_t#

typedef struct rsi_ble_set_prop_protocol_ble_bandedge_tx_power_s rsi_ble_set_prop_protocol_ble_bandedge_tx_power_t

Definition at line 431 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_set_ble_tx_power_t#

typedef struct rsi_ble_set_ble_tx_power_s rsi_ble_set_ble_tx_power_t

Definition at line 445 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_scanrsp_data_t#

typedef struct rsi_ble_req_scanrsp_data_s rsi_ble_req_scanrsp_data_t

Definition at line 453 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_scan_t#

typedef struct rsi_ble_req_scan_s rsi_ble_req_scan_t

Definition at line 492 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_encrypt_t#

typedef struct rsi_ble_encrypt_s rsi_ble_encrypt_t

Definition at line 501 of file components/si91x/ble/inc/rsi_ble.h

rsi_data_packet_t#

typedef struct rsi_data_packet_s rsi_data_packet_t

Definition at line 505 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_white_list_t#

typedef struct rsi_ble_white_list_s rsi_ble_white_list_t

Definition at line 516 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_conn_t#

typedef struct rsi_ble_req_conn_s rsi_ble_req_conn_t

Definition at line 536 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_enhance_conn_t#

typedef struct rsi_ble_req_enhance_conn_s rsi_ble_req_enhance_conn_t

Definition at line 563 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_disconnect_t#

typedef struct rsi_ble_req_disconnect_s rsi_ble_req_disconnect_t

Definition at line 573 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_strat_encryption_t#

typedef struct rsi_ble_start_encryption_s rsi_ble_strat_encryption_t

Definition at line 587 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_smp_pair_t#

typedef struct rsi_ble_req_smp_pair_s rsi_ble_req_smp_pair_t

Definition at line 594 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_smp_response_t#

typedef struct rsi_ble_smp_response_s rsi_ble_smp_response_t

Definition at line 601 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_smp_passkey_t#

typedef struct rsi_ble_smp_passkey_s rsi_ble_smp_passkey_t

Definition at line 608 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_get_le_ping_timeout_t#

typedef struct rsi_ble_get_le_ping_timeout_s rsi_ble_get_le_ping_timeout_t

Definition at line 613 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_rsp_get_le_ping_timeout_t#

typedef struct rsi_ble_rsp_get_le_ping_timeout_s rsi_ble_rsp_get_le_ping_timeout_t

Definition at line 619 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_set_le_ping_timeout_t#

typedef struct rsi_ble_set_le_ping_timeout_s rsi_ble_set_le_ping_timeout_t

Definition at line 625 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_resolvlist_t#

typedef struct rsi_ble_resolvlist_s rsi_ble_resolvlist_t

Definition at line 634 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_get_resolving_list_size_t#

typedef struct rsi_ble_get_resolving_list_size_s rsi_ble_get_resolving_list_size_t

Definition at line 640 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_set_addr_resolution_enable_t#

typedef struct rsi_ble_set_addr_resolution_enable_s rsi_ble_set_addr_resolution_enable_t

Definition at line 648 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_cmd_conn_params_update_t#

typedef struct rsi_ble_cmd_conn_params_update_s rsi_ble_cmd_conn_params_update_t

Definition at line 657 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_read_phy_t#

typedef struct rsi_ble_req_read_phy_s rsi_ble_req_read_phy_t

Definition at line 662 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_set_phy_t#

typedef struct rsi_ble_set_phy_s rsi_ble_set_phy_t

Definition at line 672 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_setdatalength_t#

typedef struct rsi_ble_setdatalength_s rsi_ble_setdatalength_t

Definition at line 679 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_set_privacy_mode_t#

typedef struct rsi_ble_set_privacy_mode_s rsi_ble_set_privacy_mode_t

Definition at line 686 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_cbfc_conn_req_t#

typedef struct rsi_ble_cbfc_conn_req_s rsi_ble_cbfc_conn_req_t

Definition at line 692 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_tx_test_mode_t#

typedef struct rsi_ble_tx_test_mode_s rsi_ble_tx_test_mode_t

Definition at line 731 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_end_test_mode_t#

typedef struct rsi_ble_end_test_mode_s rsi_ble_end_test_mode_t

Definition at line 736 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_set_le_ltkreqreply_t#

typedef struct rsi_ble_set_le_ltkreqreply_s rsi_ble_set_le_ltkreqreply_t

Definition at line 742 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_smp_pair_failed_t#

typedef struct rsi_ble_req_smp_pair_failed_s rsi_ble_req_smp_pair_failed_t

Definition at line 748 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_profiles_list_t#

typedef struct rsi_ble_req_profiles_list_s rsi_ble_req_profiles_list_t

Definition at line 760 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_profile_t#

typedef struct rsi_ble_req_profile_s rsi_ble_req_profile_t

Definition at line 770 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_char_services_t#

typedef struct rsi_ble_req_char_services_s rsi_ble_req_char_services_t

Definition at line 783 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_inc_services_t#

typedef struct rsi_ble_req_inc_services_s rsi_ble_req_inc_services_t

Definition at line 793 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_char_val_by_uuid_t#

typedef struct rsi_ble_req_char_val_by_uuid_s rsi_ble_req_char_val_by_uuid_t

Definition at line 807 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_att_descs_t#

typedef struct rsi_ble_req_att_descs_s rsi_ble_req_att_descs_t

Definition at line 820 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_att_value_t#

typedef struct rsi_ble_req_att_value_s rsi_ble_req_att_value_t

Definition at line 828 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_multi_att_values_t#

typedef struct rsi_ble_req_multiple_att_val_s rsi_ble_req_multi_att_values_t

Definition at line 841 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_long_att_value_t#

typedef struct rsi_ble_req_long_att_value_s rsi_ble_req_long_att_value_t

Definition at line 854 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_set_att_value_t#

typedef struct rsi_ble_set_att_val_s rsi_ble_set_att_value_t

Definition at line 869 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_set_att_cmd_t#

typedef struct rsi_ble_set_att_cmd_s rsi_ble_set_att_cmd_t

Definition at line 881 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_set_long_att_value_t#

typedef struct rsi_ble_set_long_att_val_s rsi_ble_set_long_att_value_t

Definition at line 895 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_prepare_write_t#

typedef struct rsi_ble_req_prepare_write_s rsi_ble_req_prepare_write_t

Definition at line 909 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_execute_write_t#

typedef struct rsi_ble_req_execute_write_s rsi_ble_req_execute_write_t

Definition at line 917 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_cmd_conn_param_resp_t#

typedef struct rsi_ble_cmd_conn_param_resp rsi_ble_cmd_conn_param_resp_t

Definition at line 925 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_req_add_serv_t#

typedef struct rsi_ble_req_add_serv_s rsi_ble_req_add_serv_t

Definition at line 938 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_set_local_att_value_t#

typedef struct rsi_ble_set_local_att_value_s rsi_ble_set_local_att_value_t

Definition at line 948 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_notify_att_value_t#

typedef struct rsi_ble_notify_att_value_s rsi_ble_notify_att_value_t

Definition at line 959 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_set_wo_resp_notify_buf_info_t#

typedef struct rsi_ble_set_wo_resp_notify_buf_info_s rsi_ble_set_wo_resp_notify_buf_info_t

Definition at line 969 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_indicate_confirm_t#

typedef struct rsi_ble_indicate_confirm_s rsi_ble_indicate_confirm_t

Definition at line 974 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_get_local_att_value_t#

typedef struct rsi_ble_get_local_att_value_s rsi_ble_get_local_att_value_t

Definition at line 980 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_gatt_read_response_t#

typedef struct rsi_ble_gatt_read_response_s rsi_ble_gatt_read_response_t

Definition at line 994 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_gatt_write_response_t#

typedef struct rsi_ble_gatt_write_response_s rsi_ble_gatt_write_response_t

Definition at line 1002 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_gatt_prepare_write_response_t#

typedef struct rsi_ble_gatt_prepare_write_response_s rsi_ble_gatt_prepare_write_response_t

Definition at line 1012 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_set_local_irk_t#

typedef struct rsi_ble_set_local_irk_s rsi_ble_set_local_irk_t

Definition at line 1018 of file components/si91x/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

Definition at line 1025 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_att_error_response_t#

typedef struct rsi_ble_att_error_response_s rsi_ble_att_error_response_t

Definition at line 1046 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_gatt_remove_serv_t#

typedef struct rsi_ble_gatt_remove_serv_s rsi_ble_gatt_remove_serv_t

Definition at line 1051 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_gatt_remove_att_t#

typedef struct rsi_ble_gatt_remove_att_s rsi_ble_gatt_remove_att_t

Definition at line 1057 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_vendor_rf_type_t#

typedef struct rsi_ble_vendor_rf_type_s rsi_ble_vendor_rf_type_t

Definition at line 1063 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_mtu_exchange_t#

typedef struct rsi_ble_mtu_exchange_s rsi_ble_mtu_exchange_t

Definition at line 1069 of file components/si91x/ble/inc/rsi_ble.h

rsi_ble_mtu_exchange_resp_t#

typedef struct rsi_ble_mtu_exchange_resp_s rsi_ble_mtu_exchange_resp_t

Definition at line 1075 of file components/si91x/ble/inc/rsi_ble.h

Function Documentation#

__attribute__#

struct rsi_ble_ae_get_supported_no_of_adv_sets_s __attribute__ ((__packed__) )

AE Advertising Params.

Parameters
N/A

AE Advertising enable.


Definition at line 1 of file components/si91x/ble/inc/rsi_ble.h

Macro Definition Documentation#

BLE_PROTOCOL#

#define BLE_PROTOCOL
Value:
0x01

Definition at line 425 of file components/si91x/ble/inc/rsi_ble.h

PROP_PROTOCOL#

#define PROP_PROTOCOL
Value:
0x02

Definition at line 426 of file components/si91x/ble/inc/rsi_ble.h

ADV_ROLE#

#define ADV_ROLE
Value:
0x01

Definition at line 433 of file components/si91x/ble/inc/rsi_ble.h

SCAN_AND_CENTRAL_ROLE#

#define SCAN_AND_CENTRAL_ROLE
Value:
0x02

Definition at line 434 of file components/si91x/ble/inc/rsi_ble.h

PERIPHERAL_ROLE#

#define PERIPHERAL_ROLE
Value:
0x03

Definition at line 436 of file components/si91x/ble/inc/rsi_ble.h

CONN_ROLE#

#define CONN_ROLE
Value:
0x04

Definition at line 438 of file components/si91x/ble/inc/rsi_ble.h

RSI_BLE_ATT_EXCHANGE_MTU_REQUEST#

#define RSI_BLE_ATT_EXCHANGE_MTU_REQUEST
Value:
0x02

Definition at line 1028 of file components/si91x/ble/inc/rsi_ble.h

RSI_BLE_ATT_FIND_INFORMATION_REQUEST#

#define RSI_BLE_ATT_FIND_INFORMATION_REQUEST
Value:
0x04

Definition at line 1029 of file components/si91x/ble/inc/rsi_ble.h

RSI_BLE_ATT_FIND_BY_TYPE_VALUE_REQUEST#

#define RSI_BLE_ATT_FIND_BY_TYPE_VALUE_REQUEST
Value:
0x06

Definition at line 1030 of file components/si91x/ble/inc/rsi_ble.h

RSI_BLE_ATT_READ_BY_TYPE_REQUEST#

#define RSI_BLE_ATT_READ_BY_TYPE_REQUEST
Value:
0x08

Definition at line 1031 of file components/si91x/ble/inc/rsi_ble.h

RSI_BLE_ATT_READ_REQUEST#

#define RSI_BLE_ATT_READ_REQUEST
Value:
0x0A

Definition at line 1032 of file components/si91x/ble/inc/rsi_ble.h

RSI_BLE_ATT_READ_BLOB_REQUEST#

#define RSI_BLE_ATT_READ_BLOB_REQUEST
Value:
0x0C

Definition at line 1033 of file components/si91x/ble/inc/rsi_ble.h

RSI_BLE_ATT_READ_MULTIPLE_REQUEST#

#define RSI_BLE_ATT_READ_MULTIPLE_REQUEST
Value:
0x0E

Definition at line 1034 of file components/si91x/ble/inc/rsi_ble.h

RSI_BLE_ATT_READ_BY_GROUP_TYPE_REQUEST#

#define RSI_BLE_ATT_READ_BY_GROUP_TYPE_REQUEST
Value:
0x10

Definition at line 1035 of file components/si91x/ble/inc/rsi_ble.h

RSI_BLE_ATT_WRITE_REQUEST#

#define RSI_BLE_ATT_WRITE_REQUEST
Value:
0x12

Definition at line 1036 of file components/si91x/ble/inc/rsi_ble.h

RSI_BLE_ATT_PREPARE_WRITE_REQUEST#

#define RSI_BLE_ATT_PREPARE_WRITE_REQUEST
Value:
0x16

Definition at line 1037 of file components/si91x/ble/inc/rsi_ble.h

RSI_BLE_ATT_EXECUTE_WRITE_REQUEST#

#define RSI_BLE_ATT_EXECUTE_WRITE_REQUEST
Value:
0x18

Definition at line 1038 of file components/si91x/ble/inc/rsi_ble.h

SUPPORTED_SCNNING_PHYS#

#define SUPPORTED_SCNNING_PHYS
Value:
2

Definition at line 1287 of file components/si91x/ble/inc/rsi_ble.h

Variable Documentation#

__attribute__#

union @3 __attribute__

AE Advertising Params.

AE Advertising enable.


Definition at line 1617 of file components/si91x/ble/inc/rsi_ble.h