Bluetooth LE Stack
gatt_client
is only used within Bluetooth LE Stack.
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
Raspberry Pi Pico SDK and Examples
Bluetooth LE Stack
gatt_client
gatt_client struct
Syntax
Show:
Summary
Declaration
from
gatt_client.h:172
typedef
struct
gatt_client
{
btstack_linked_item_t
item
;
gatt_client_state_t
state
;
btstack_packet_handler_t
callback
;
btstack_packet_handler_t
write_without_response_callback
;
btstack_linked_list_t
write_without_response_requests
;
btstack_linked_list_t
query_requests
;
hci_con_handle_t
con_handle
;
att_bearer_type_t
bearer_type
;
#ifdef
ENABLE_GATT_OVER_CLASSIC
bd_addr_t
addr
;
uint16_t
l2cap_psm
;
uint16_t
l2cap_cid
;
btstack_context_callback_registration_t
callback_request
;
#endif
#ifdef
ENABLE_GATT_OVER_EATT
gatt_client_eatt_state_t
eatt_state
;
btstack_linked_list_t
eatt_clients
;
uint8_t
*
eatt_storage_buffer
;
uint16_t
eatt_storage_size
;
uint8_t
eatt_num_clients
;
uint8_t
gatt_server_supported_features
;
uint16_t
gatt_service_start_group_handle
;
uint16_t
gatt_service_end_group_handle
;
uint16_t
gatt_client_supported_features_handle
;
#endif
uint16_t
mtu
;
gatt_client_mtu_t
mtu_state
;
uint16_t
uuid16
;
uint8_t
uuid128
[
16
]
;
uint16_t
start_group_handle
;
uint16_t
end_group_handle
;
uint16_t
query_start_handle
;
uint16_t
query_end_handle
;
uint8_t
characteristic_properties
;
uint16_t
characteristic_start_handle
;
uint16_t
attribute_handle
;
uint16_t
attribute_offset
;
uint16_t
attribute_length
;
uint8_t
*
attribute_value
;
uint16_t
read_multiple_handle_count
;
uint16_t
*
read_multiple_handles
;
uint16_t
client_characteristic_configuration_handle
;
uint8_t
client_characteristic_configuration_value
[
2
]
;
bool
filter_with_uuid
;
bool
send_confirmation
;
int
le_device_index
;
uint8_t
cmac
[
8
]
;
btstack_timer_source_t
gc_timeout
;
uint8_t
security_counter
;
bool
wait_for_authentication_complete
;
uint8_t
pending_error_code
;
bool
reencryption_active
;
uint8_t
reencryption_result
;
gap_security_level_t
security_level
;
}
gatt_client_t
;
Fields
Field
Declared as
gatt_client::item
btstack_linked_item_t
gatt_client::state
gatt_client_state_t
gatt_client::callback
btstack_packet_handler_t
gatt_client::write_without_response_callback
btstack_packet_handler_t
gatt_client::write_without_response_requests
btstack_linked_list_t
gatt_client::query_requests
btstack_linked_list_t
gatt_client::con_handle
hci_con_handle_t
gatt_client::bearer_type
att_bearer_type_t
gatt_client::mtu
uint16_t
gatt_client::mtu_state
gatt_client_mtu_t
gatt_client::uuid16
uint16_t
gatt_client::uuid128
uint8_t
[
16
]
gatt_client::start_group_handle
uint16_t
gatt_client::end_group_handle
uint16_t
gatt_client::query_start_handle
uint16_t
gatt_client::query_end_handle
uint16_t
gatt_client::characteristic_properties
uint8_t
gatt_client::characteristic_start_handle
uint16_t
gatt_client::attribute_handle
uint16_t
gatt_client::attribute_offset
uint16_t
gatt_client::attribute_length
uint16_t
gatt_client::attribute_value
uint8_t
*
gatt_client::read_multiple_handle_count
uint16_t
gatt_client::read_multiple_handles
uint16_t
*
gatt_client::client_characteristic_configuration_handle
uint16_t
gatt_client::client_characteristic_configuration_value
uint8_t
[
2
]
gatt_client::filter_with_uuid
bool
gatt_client::send_confirmation
bool
gatt_client::le_device_index
int
gatt_client::cmac
uint8_t
[
8
]
gatt_client::gc_timeout
btstack_timer_source_t
gatt_client::security_counter
uint8_t
gatt_client::wait_for_authentication_complete
bool
gatt_client::pending_error_code
uint8_t
gatt_client::reencryption_active
bool
gatt_client::reencryption_result
uint8_t
gatt_client::security_level
gap_security_level_t
Related Functions
Found 79 other functions taking a
gatt_client
argument:
Function
gatt_client_provide_context_for_request()
gatt_client_handle_transaction_complete()
gatt_client_reserve_request_buffer()
gatt_client_send()
gatt_client_provide_context_for_handle()
gatt_client_report_error_if_pending()
trigger_next_query()
att_read_by_type_or_group_request_for_uuid16()
trigger_next_blob_query()
send_gatt_prepare_write_request()
att_read_request()
trigger_next_prepare_write_query()
write_blob_length()
report_gatt_characteristic_end_found()
report_gatt_characteristic_value()
is_ready()
att_write_request()
btstack_memory_gatt_client_free()
report_gatt_long_characteristic_value_blob()
report_gatt_long_characteristic_descriptor()
is_query_done()
trigger_next_included_service_query()
trigger_next_characteristic_query()
is_value_valid()
send_gatt_characteristic_request()
send_gatt_read_blob_request()
send_gatt_write_attribute_value_request()
send_gatt_execute_write_request()
send_gatt_cancel_prepared_write_request()
gatt_client_notify_can_send_query()
gatt_client_accept_server_message()
emit_gatt_complete_event()
emit_gatt_service_query_result_event()
emit_gatt_included_service_query_result_event()
report_gatt_characteristics()
att_find_by_type_value_request()
att_execute_write_request()
gatt_client_timeout_stop()
gatt_client_handle_att_read_response()
report_gatt_characteristic_descriptor()
report_gatt_all_characteristic_descriptors()
trigger_next_service_query()
trigger_next_service_by_uuid_query()
trigger_next_characteristic_descriptor_query()
trigger_next_read_by_type_query()
gatt_client_run_for_gatt_client()
att_prepare_write_request()
att_exchange_mtu_request()
send_gatt_services_request()
send_gatt_by_uuid_request()
send_gatt_services_by_uuid_request()
send_gatt_included_service_uuid_request()
send_gatt_included_service_request()
send_gatt_characteristic_descriptor_request()
send_gatt_read_characteristic_value_request()
send_gatt_read_by_type_request()
send_gatt_read_multiple_request()
send_gatt_write_client_characteristic_configuration_request()
send_gatt_read_client_characteristic_configuration_request()
send_gatt_read_characteristic_descriptor_request()
emit_gatt_characteristic_query_result_event()
emit_gatt_all_characteristic_descriptors_result_event()
emit_gatt_mtu_exchanged_result_event()
report_gatt_services()
report_gatt_characteristic_start_found()
report_gatt_included_service_uuid16()
report_gatt_included_service_uuid128()
report_gatt_notification()
report_gatt_indication()
att_confirmation()
att_find_information_request()
att_read_by_type_or_group_request_for_uuid128()
att_read_blob_request()
att_read_multiple_request_with_opcode()
att_read_multiple_request()
gatt_client_timeout_start()
gatt_client_handle_att_read_by_type_response()
gatt_client_handle_att_write_response()
gatt_client_handle_att_response()
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