ESP-IDF
btc_ble_gattc_args_t
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
btc_ble_gattc_args_t
btc_ble_gattc_args_t union
Syntax
Show:
Summary
Declaration
from
btc_gattc.h:44
typedef
union
{
struct
app_reg_arg
{
uint16_t
app_id
;
}
app_reg
;
struct
app_unreg_arg
{
esp_gatt_if_t
gattc_if
;
}
app_unreg
;
struct
open_arg
{
esp_gatt_if_t
gattc_if
;
esp_bd_addr_t
remote_bda
;
esp_ble_addr_type_t
remote_addr_type
;
bool
is_direct
;
bool
is_aux
;
esp_ble_addr_type_t
own_addr_type
;
esp_ble_phy_mask_t
phy_mask
;
esp_ble_conn_params_t
phy_1m_conn_params
;
esp_ble_conn_params_t
phy_2m_conn_params
;
esp_ble_conn_params_t
phy_coded_conn_params
;
}
open
;
struct
close_arg
{
uint16_t
conn_id
;
}
close
;
struct
cfg_mtu_arg
{
uint16_t
conn_id
;
}
cfg_mtu
;
struct
search_srvc_arg
{
uint16_t
conn_id
;
bool
filter_uuid_enable
;
esp_bt_uuid_t
filter_uuid
;
}
search_srvc
;
struct
get_char_arg
{
uint16_t
conn_id
;
uint16_t
handle
;
}
get_char
;
struct
get_descr_arg
{
uint16_t
conn_id
;
uint16_t
handle
;
}
get_descr
;
struct
get_first_incl_srvc_arg
{
uint16_t
conn_id
;
uint16_t
handle
;
}
get_first_incl_srvc
;
struct
get_next_incl_srvc_arg
{
uint16_t
conn_id
;
uint16_t
handle
;
}
get_next_incl_srvc
;
struct
read_char_arg
{
uint16_t
conn_id
;
uint16_t
handle
;
esp_gatt_auth_req_t
auth_req
;
}
read_char
;
struct
read_multiple_arg
{
uint16_t
conn_id
;
uint8_t
num_attr
;
uint16_t
handles
[
ESP_GATT_MAX_READ_MULTI_HANDLES
]
;
esp_gatt_auth_req_t
auth_req
;
}
read_multiple
;
struct
read_descr_arg
{
uint16_t
conn_id
;
uint16_t
handle
;
esp_gatt_auth_req_t
auth_req
;
}
read_descr
;
struct
read_by_type_arg
{
uint16_t
conn_id
;
uint16_t
s_handle
;
uint16_t
e_handle
;
esp_bt_uuid_t
uuid
;
esp_gatt_auth_req_t
auth_req
;
}
read_by_type
;
struct
write_char_arg
{
uint16_t
conn_id
;
uint16_t
value_len
;
uint16_t
handle
;
uint8_t
*
value
;
esp_gatt_write_type_t
write_type
;
esp_gatt_auth_req_t
auth_req
;
}
write_char
;
struct
write_descr_arg
{
uint16_t
conn_id
;
uint16_t
value_len
;
uint16_t
handle
;
uint8_t
*
value
;
esp_gatt_write_type_t
write_type
;
esp_gatt_auth_req_t
auth_req
;
}
write_descr
;
struct
prep_write_arg
{
uint16_t
conn_id
;
uint16_t
handle
;
uint16_t
offset
;
uint16_t
value_len
;
uint8_t
*
value
;
esp_gatt_auth_req_t
auth_req
;
}
prep_write
;
struct
prep_write_descr_arg
{
uint16_t
conn_id
;
uint16_t
handle
;
uint16_t
offset
;
uint16_t
value_len
;
uint8_t
*
value
;
esp_gatt_auth_req_t
auth_req
;
}
prep_write_descr
;
struct
exec_write_arg
{
uint16_t
conn_id
;
bool
is_execute
;
}
exec_write
;
struct
reg_for_notify_arg
{
esp_gatt_if_t
gattc_if
;
esp_bd_addr_t
remote_bda
;
uint16_t
handle
;
}
reg_for_notify
;
struct
unreg_for_notify_arg
{
esp_gatt_if_t
gattc_if
;
esp_bd_addr_t
remote_bda
;
uint16_t
handle
;
}
unreg_for_notify
;
struct
cache_refresh_arg
{
esp_bd_addr_t
remote_bda
;
}
cache_refresh
;
struct
cache_assoc_arg
{
esp_gatt_if_t
gattc_if
;
esp_bd_addr_t
src_addr
;
esp_bd_addr_t
assoc_addr
;
bool
is_assoc
;
}
cache_assoc
;
struct
cache_get_addr_list_arg
{
esp_gatt_if_t
gattc_if
;
}
get_addr_list
;
struct
cache_clean_arg
{
esp_bd_addr_t
remote_bda
;
}
cache_clean
;
}
btc_ble_gattc_args_t
;
Fields
Field
Declared as
btc_ble_gattc_args_t::app_reg
struct
app_reg_arg
{
uint16_t
app_id
;
}
btc_ble_gattc_args_t::app_unreg
struct
app_unreg_arg
{
esp_gatt_if_t
gattc_if
;
}
btc_ble_gattc_args_t::open
struct
open_arg
{
esp_gatt_if_t
gattc_if
;
esp_bd_addr_t
remote_bda
;
esp_ble_addr_type_t
remote_addr_type
;
bool
is_direct
;
bool
is_aux
;
esp_ble_addr_type_t
own_addr_type
;
esp_ble_phy_mask_t
phy_mask
;
esp_ble_conn_params_t
phy_1m_conn_params
;
esp_ble_conn_params_t
phy_2m_conn_params
;
esp_ble_conn_params_t
phy_coded_conn_params
;
}
btc_ble_gattc_args_t::close
struct
close_arg
{
uint16_t
conn_id
;
}
btc_ble_gattc_args_t::cfg_mtu
struct
cfg_mtu_arg
{
uint16_t
conn_id
;
}
btc_ble_gattc_args_t::search_srvc
struct
search_srvc_arg
{
uint16_t
conn_id
;
bool
filter_uuid_enable
;
esp_bt_uuid_t
filter_uuid
;
}
btc_ble_gattc_args_t::get_char
struct
get_char_arg
{
uint16_t
conn_id
;
uint16_t
handle
;
}
btc_ble_gattc_args_t::get_descr
struct
get_descr_arg
{
uint16_t
conn_id
;
uint16_t
handle
;
}
btc_ble_gattc_args_t::get_first_incl_srvc
struct
get_first_incl_srvc_arg
{
uint16_t
conn_id
;
uint16_t
handle
;
}
btc_ble_gattc_args_t::get_next_incl_srvc
struct
get_next_incl_srvc_arg
{
uint16_t
conn_id
;
uint16_t
handle
;
}
btc_ble_gattc_args_t::read_char
struct
read_char_arg
{
uint16_t
conn_id
;
uint16_t
handle
;
esp_gatt_auth_req_t
auth_req
;
}
btc_ble_gattc_args_t::read_multiple
struct
read_multiple_arg
{
uint16_t
conn_id
;
uint8_t
num_attr
;
uint16_t
handles
[
ESP_GATT_MAX_READ_MULTI_HANDLES
]
;
esp_gatt_auth_req_t
auth_req
;
}
btc_ble_gattc_args_t::read_descr
struct
read_descr_arg
{
uint16_t
conn_id
;
uint16_t
handle
;
esp_gatt_auth_req_t
auth_req
;
}
btc_ble_gattc_args_t::read_by_type
struct
read_by_type_arg
{
uint16_t
conn_id
;
uint16_t
s_handle
;
uint16_t
e_handle
;
esp_bt_uuid_t
uuid
;
esp_gatt_auth_req_t
auth_req
;
}
btc_ble_gattc_args_t::write_char
struct
write_char_arg
{
uint16_t
conn_id
;
uint16_t
value_len
;
uint16_t
handle
;
uint8_t
*
value
;
esp_gatt_write_type_t
write_type
;
esp_gatt_auth_req_t
auth_req
;
}
btc_ble_gattc_args_t::write_descr
struct
write_descr_arg
{
uint16_t
conn_id
;
uint16_t
value_len
;
uint16_t
handle
;
uint8_t
*
value
;
esp_gatt_write_type_t
write_type
;
esp_gatt_auth_req_t
auth_req
;
}
btc_ble_gattc_args_t::prep_write
struct
prep_write_arg
{
uint16_t
conn_id
;
uint16_t
handle
;
uint16_t
offset
;
uint16_t
value_len
;
uint8_t
*
value
;
esp_gatt_auth_req_t
auth_req
;
}
btc_ble_gattc_args_t::prep_write_descr
struct
prep_write_descr_arg
{
uint16_t
conn_id
;
uint16_t
handle
;
uint16_t
offset
;
uint16_t
value_len
;
uint8_t
*
value
;
esp_gatt_auth_req_t
auth_req
;
}
btc_ble_gattc_args_t::exec_write
struct
exec_write_arg
{
uint16_t
conn_id
;
bool
is_execute
;
}
btc_ble_gattc_args_t::reg_for_notify
struct
reg_for_notify_arg
{
esp_gatt_if_t
gattc_if
;
esp_bd_addr_t
remote_bda
;
uint16_t
handle
;
}
btc_ble_gattc_args_t::unreg_for_notify
struct
unreg_for_notify_arg
{
esp_gatt_if_t
gattc_if
;
esp_bd_addr_t
remote_bda
;
uint16_t
handle
;
}
btc_ble_gattc_args_t::cache_refresh
struct
cache_refresh_arg
{
esp_bd_addr_t
remote_bda
;
}
btc_ble_gattc_args_t::cache_assoc
struct
cache_assoc_arg
{
esp_gatt_if_t
gattc_if
;
esp_bd_addr_t
src_addr
;
esp_bd_addr_t
assoc_addr
;
bool
is_assoc
;
}
btc_ble_gattc_args_t::get_addr_list
struct
cache_get_addr_list_arg
{
esp_gatt_if_t
gattc_if
;
}
btc_ble_gattc_args_t::cache_clean
struct
cache_clean_arg
{
esp_bd_addr_t
remote_bda
;
}
Related Functions
Found 18 other functions taking a
btc_ble_gattc_args_t
argument:
Function
btc_gattc_app_register()
btc_gattc_app_unregister()
btc_gattc_open()
btc_gattc_close()
btc_gattc_cfg_mtu()
btc_gattc_search_service()
btc_gattc_read_char()
btc_gattc_read_multiple_char()
btc_gattc_read_multiple_variable_char()
btc_gattc_read_char_descr()
btc_gattc_read_by_type()
btc_gattc_write_char()
btc_gattc_write_char_descr()
btc_gattc_prepare_write()
btc_gattc_prepare_write_char_descr()
btc_gattc_execute_write()
btc_gattc_reg_for_notify()
btc_gattc_unreg_for_notify()
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out