![]()
![]()
#define btstack_gatt_client_h
![]()
![]()
#include "hci.h"
![]()
![]()
#define GATT_CLIENT_COLLISION_BACKOFF_MS
![]()
![]()
gatt_client_state_t
![]()
![]()
P_READY
![]()
![]()
P_W2_EMIT_QUERY_COMPLETE_EVENT
![]()
![]()
P_W2_SEND_SERVICE_QUERY
![]()
![]()
P_W4_SERVICE_QUERY_RESULT
![]()
![]()
P_W2_SEND_SERVICE_WITH_UUID_QUERY
![]()
![]()
P_W4_SERVICE_WITH_UUID_RESULT
![]()
![]()
P_W2_SEND_ALL_CHARACTERISTICS_OF_SERVICE_QUERY
![]()
![]()
P_W4_ALL_CHARACTERISTICS_OF_SERVICE_QUERY_RESULT
![]()
![]()
P_W2_SEND_CHARACTERISTIC_WITH_UUID_QUERY
![]()
![]()
P_W4_CHARACTERISTIC_WITH_UUID_QUERY_RESULT
![]()
![]()
P_W2_SEND_ALL_CHARACTERISTIC_DESCRIPTORS_QUERY
![]()
![]()
P_W4_ALL_CHARACTERISTIC_DESCRIPTORS_QUERY_RESULT
![]()
![]()
P_W2_SEND_INCLUDED_SERVICE_QUERY
![]()
![]()
P_W4_INCLUDED_SERVICE_QUERY_RESULT
![]()
![]()
P_W2_SEND_INCLUDED_SERVICE_WITH_UUID_QUERY
![]()
![]()
P_W4_INCLUDED_SERVICE_UUID_WITH_QUERY_RESULT
![]()
![]()
P_W2_SEND_READ_CHARACTERISTIC_VALUE_QUERY
![]()
![]()
P_W4_READ_CHARACTERISTIC_VALUE_RESULT
![]()
![]()
P_W2_SEND_READ_BLOB_QUERY
![]()
![]()
P_W4_READ_BLOB_RESULT
![]()
![]()
P_W2_SEND_READ_BY_TYPE_REQUEST
![]()
![]()
P_W4_READ_BY_TYPE_RESPONSE
![]()
![]()
P_W2_SEND_READ_MULTIPLE_REQUEST
![]()
![]()
P_W4_READ_MULTIPLE_RESPONSE
![]()
![]()
P_W2_SEND_READ_MULTIPLE_VARIABLE_REQUEST
![]()
![]()
P_W4_READ_MULTIPLE_VARIABLE_RESPONSE
![]()
![]()
P_W2_SEND_WRITE_CHARACTERISTIC_VALUE
![]()
![]()
P_W4_WRITE_CHARACTERISTIC_VALUE_RESULT
![]()
![]()
P_W2_PREPARE_WRITE
![]()
![]()
P_W4_PREPARE_WRITE_RESULT
![]()
![]()
P_W2_PREPARE_RELIABLE_WRITE
![]()
![]()
P_W4_PREPARE_RELIABLE_WRITE_RESULT
![]()
![]()
P_W2_EXECUTE_PREPARED_WRITE
![]()
![]()
P_W4_EXECUTE_PREPARED_WRITE_RESULT
![]()
![]()
P_W2_CANCEL_PREPARED_WRITE
![]()
![]()
P_W4_CANCEL_PREPARED_WRITE_RESULT
![]()
![]()
P_W2_CANCEL_PREPARED_WRITE_DATA_MISMATCH
![]()
![]()
P_W4_CANCEL_PREPARED_WRITE_DATA_MISMATCH_RESULT
![]()
![]()
P_W2_SEND_READ_CLIENT_CHARACTERISTIC_CONFIGURATION_QUERY
![]()
![]()
P_W4_READ_CLIENT_CHARACTERISTIC_CONFIGURATION_QUERY_RESULT
![]()
![]()
P_W2_WRITE_CLIENT_CHARACTERISTIC_CONFIGURATION
![]()
![]()
P_W4_CLIENT_CHARACTERISTIC_CONFIGURATION_RESULT
![]()
![]()
P_W2_SEND_READ_CHARACTERISTIC_DESCRIPTOR_QUERY
![]()
![]()
P_W4_READ_CHARACTERISTIC_DESCRIPTOR_RESULT
![]()
![]()
P_W2_SEND_READ_BLOB_CHARACTERISTIC_DESCRIPTOR_QUERY
![]()
![]()
P_W4_READ_BLOB_CHARACTERISTIC_DESCRIPTOR_RESULT
![]()
![]()
P_W2_SEND_WRITE_CHARACTERISTIC_DESCRIPTOR
![]()
![]()
P_W4_WRITE_CHARACTERISTIC_DESCRIPTOR_RESULT
![]()
![]()
P_W2_PREPARE_WRITE_CHARACTERISTIC_DESCRIPTOR
![]()
![]()
P_W4_PREPARE_WRITE_CHARACTERISTIC_DESCRIPTOR_RESULT
![]()
![]()
P_W2_EXECUTE_PREPARED_WRITE_CHARACTERISTIC_DESCRIPTOR
![]()
![]()
P_W4_EXECUTE_PREPARED_WRITE_CHARACTERISTIC_DESCRIPTOR_RESULT
![]()
![]()
P_W2_PREPARE_WRITE_SINGLE
![]()
![]()
P_W4_PREPARE_WRITE_SINGLE_RESULT
![]()
![]()
P_W4_IDENTITY_RESOLVING
![]()
![]()
P_W4_CMAC_READY
![]()
![]()
P_W4_CMAC_RESULT
![]()
![]()
P_W2_SEND_SIGNED_WRITE
![]()
![]()
P_W4_SEND_SIGNED_WRITE_DONE
![]()
![]()
P_W2_SDP_QUERY
![]()
![]()
P_W4_SDP_QUERY
![]()
![]()
P_W2_L2CAP_CONNECT
![]()
![]()
P_W4_L2CAP_CONNECTION
![]()
![]()
P_W2_EMIT_CONNECTED
![]()
![]()
P_L2CAP_CLOSED
![]()
![]()
gatt_client_mtu_t
![]()
![]()
SEND_MTU_EXCHANGE
![]()
![]()
SENT_MTU_EXCHANGE
![]()
![]()
MTU_EXCHANGED
![]()
![]()
MTU_AUTO_EXCHANGE_DISABLED
![]()
![]()
gatt_client
![]()
![]()
item
![]()
![]()
state
![]()
![]()
callback
![]()
![]()
write_without_response_callback
![]()
![]()
write_without_response_requests
![]()
![]()
query_requests
![]()
![]()
con_handle
![]()
![]()
bearer_type
![]()
![]()
mtu
![]()
![]()
mtu_state
![]()
![]()
uuid16
![]()
![]()
uuid128
![]()
![]()
start_group_handle
![]()
![]()
end_group_handle
![]()
![]()
query_start_handle
![]()
![]()
query_end_handle
![]()
![]()
characteristic_properties
![]()
![]()
characteristic_start_handle
![]()
![]()
attribute_handle
![]()
![]()
attribute_offset
![]()
![]()
attribute_length
![]()
![]()
attribute_value
![]()
![]()
read_multiple_handle_count
![]()
![]()
read_multiple_handles
![]()
![]()
client_characteristic_configuration_handle
![]()
![]()
client_characteristic_configuration_value
![]()
![]()
filter_with_uuid
![]()
![]()
send_confirmation
![]()
![]()
le_device_index
![]()
![]()
cmac
![]()
![]()
gc_timeout
![]()
![]()
security_counter
![]()
![]()
wait_for_authentication_complete
![]()
![]()
pending_error_code
![]()
![]()
reencryption_active
![]()
![]()
reencryption_result
![]()
![]()
security_level
![]()
![]()
gatt_client_notification
![]()
![]()
item
![]()
![]()
callback
![]()
![]()
con_handle
![]()
![]()
attribute_handle
![]()
![]()
gatt_client_service_t
![]()
![]()
start_group_handle
![]()
![]()
end_group_handle
![]()
![]()
uuid16
![]()
![]()
uuid128
![]()
![]()
gatt_client_characteristic_t
![]()
![]()
start_handle
![]()
![]()
value_handle
![]()
![]()
end_handle
![]()
![]()
properties
![]()
![]()
uuid16
![]()
![]()
uuid128
![]()
![]()
gatt_client_characteristic_descriptor_t
![]()
![]()
handle
![]()
![]()
uuid16
![]()
![]()
uuid128
![]()
![]()
gatt_client_init();
![]()
![]()
gatt_client_set_required_security_level(gap_security_level_t);
![]()
![]()
gatt_client_classic_connect(btstack_packet_handler_t, uint8_t *);
![]()
![]()
gatt_client_classic_disconnect(btstack_packet_handler_t, hci_con_handle_t);
![]()
![]()
gatt_client_le_enhanced_connect(btstack_packet_handler_t, hci_con_handle_t, uint8_t, uint8_t *, uint16_t);
![]()
![]()
gatt_client_get_mtu(hci_con_handle_t, uint16_t *);
![]()
![]()
gatt_client_mtu_enable_auto_negotiation(uint8_t);
![]()
![]()
gatt_client_send_mtu_negotiation(btstack_packet_handler_t, hci_con_handle_t);
![]()
![]()
gatt_client_is_ready(hci_con_handle_t);
![]()
![]()
gatt_client_discover_primary_services(btstack_packet_handler_t, hci_con_handle_t);
![]()
![]()
gatt_client_discover_secondary_services(btstack_packet_handler_t, hci_con_handle_t);
![]()
![]()
gatt_client_discover_primary_services_by_uuid16(btstack_packet_handler_t, hci_con_handle_t, uint16_t);
![]()
![]()
gatt_client_discover_primary_services_by_uuid128(btstack_packet_handler_t, hci_con_handle_t, const uint8_t *);
![]()
![]()
gatt_client_find_included_services_for_service(btstack_packet_handler_t, hci_con_handle_t, gatt_client_service_t *);
![]()
![]()
gatt_client_discover_characteristics_for_service(btstack_packet_handler_t, hci_con_handle_t, gatt_client_service_t *);
![]()
![]()
gatt_client_discover_characteristics_for_handle_range_by_uuid16(btstack_packet_handler_t, hci_con_handle_t, uint16_t, uint16_t, uint16_t);
![]()
![]()
gatt_client_discover_characteristics_for_handle_range_by_uuid128(btstack_packet_handler_t, hci_con_handle_t, uint16_t, uint16_t, const uint8_t *);
![]()
![]()
gatt_client_discover_characteristics_for_service_by_uuid16(btstack_packet_handler_t, hci_con_handle_t, gatt_client_service_t *, uint16_t);
![]()
![]()
gatt_client_discover_characteristics_for_service_by_uuid128(btstack_packet_handler_t, hci_con_handle_t, gatt_client_service_t *, const uint8_t *);
![]()
![]()
gatt_client_discover_characteristic_descriptors(btstack_packet_handler_t, hci_con_handle_t, gatt_client_characteristic_t *);
![]()
![]()
gatt_client_read_value_of_characteristic(btstack_packet_handler_t, hci_con_handle_t, gatt_client_characteristic_t *);
![]()
![]()
gatt_client_read_value_of_characteristic_using_value_handle(btstack_packet_handler_t, hci_con_handle_t, uint16_t);
![]()
![]()
gatt_client_read_value_of_characteristics_by_uuid16(btstack_packet_handler_t, hci_con_handle_t, uint16_t, uint16_t, uint16_t);
![]()
![]()
gatt_client_read_value_of_characteristics_by_uuid128(btstack_packet_handler_t, hci_con_handle_t, uint16_t, uint16_t, const uint8_t *);
![]()
![]()
gatt_client_read_long_value_of_characteristic(btstack_packet_handler_t, hci_con_handle_t, gatt_client_characteristic_t *);
![]()
![]()
gatt_client_read_long_value_of_characteristic_using_value_handle(btstack_packet_handler_t, hci_con_handle_t, uint16_t);
![]()
![]()
gatt_client_read_long_value_of_characteristic_using_value_handle_with_offset(btstack_packet_handler_t, hci_con_handle_t, uint16_t, uint16_t);
![]()
![]()
gatt_client_read_multiple_characteristic_values(btstack_packet_handler_t, hci_con_handle_t, int, uint16_t *);
![]()
![]()
gatt_client_read_multiple_variable_characteristic_values(btstack_packet_handler_t, hci_con_handle_t, int, uint16_t *);
![]()
![]()
gatt_client_write_value_of_characteristic_without_response(hci_con_handle_t, uint16_t, uint16_t, uint8_t *);
![]()
![]()
gatt_client_signed_write_without_response(btstack_packet_handler_t, hci_con_handle_t, uint16_t, uint16_t, uint8_t *);
![]()
![]()
gatt_client_write_value_of_characteristic(btstack_packet_handler_t, hci_con_handle_t, uint16_t, uint16_t, uint8_t *);
![]()
![]()
gatt_client_write_long_value_of_characteristic(btstack_packet_handler_t, hci_con_handle_t, uint16_t, uint16_t, uint8_t *);
![]()
![]()
gatt_client_write_long_value_of_characteristic_with_offset(btstack_packet_handler_t, hci_con_handle_t, uint16_t, uint16_t, uint16_t, uint8_t *);
![]()
![]()
gatt_client_reliable_write_long_value_of_characteristic(btstack_packet_handler_t, hci_con_handle_t, uint16_t, uint16_t, uint8_t *);
![]()
![]()
gatt_client_read_characteristic_descriptor(btstack_packet_handler_t, hci_con_handle_t, gatt_client_characteristic_descriptor_t *);
![]()
![]()
gatt_client_read_characteristic_descriptor_using_descriptor_handle(btstack_packet_handler_t, hci_con_handle_t, uint16_t);
![]()
![]()
gatt_client_read_long_characteristic_descriptor(btstack_packet_handler_t, hci_con_handle_t, gatt_client_characteristic_descriptor_t *);
![]()
![]()
gatt_client_read_long_characteristic_descriptor_using_descriptor_handle(btstack_packet_handler_t, hci_con_handle_t, uint16_t);
![]()
![]()
gatt_client_read_long_characteristic_descriptor_using_descriptor_handle_with_offset(btstack_packet_handler_t, hci_con_handle_t, uint16_t, uint16_t);
![]()
![]()
gatt_client_write_characteristic_descriptor(btstack_packet_handler_t, hci_con_handle_t, gatt_client_characteristic_descriptor_t *, uint16_t, uint8_t *);
![]()
![]()
gatt_client_write_characteristic_descriptor_using_descriptor_handle(btstack_packet_handler_t, hci_con_handle_t, uint16_t, uint16_t, uint8_t *);
![]()
![]()
gatt_client_write_long_characteristic_descriptor(btstack_packet_handler_t, hci_con_handle_t, gatt_client_characteristic_descriptor_t *, uint16_t, uint8_t *);
![]()
![]()
gatt_client_write_long_characteristic_descriptor_using_descriptor_handle(btstack_packet_handler_t, hci_con_handle_t, uint16_t, uint16_t, uint8_t *);
![]()
![]()
gatt_client_write_long_characteristic_descriptor_using_descriptor_handle_with_offset(btstack_packet_handler_t, hci_con_handle_t, uint16_t, uint16_t, uint16_t, uint8_t *);
![]()
![]()
gatt_client_write_client_characteristic_configuration(btstack_packet_handler_t, hci_con_handle_t, gatt_client_characteristic_t *, uint16_t);
![]()
![]()
gatt_client_listen_for_characteristic_value_updates(gatt_client_notification_t *, btstack_packet_handler_t, hci_con_handle_t, gatt_client_characteristic_t *);
![]()
![]()
gatt_client_stop_listening_for_characteristic_value_updates(gatt_client_notification_t *);
![]()
![]()
gatt_client_prepare_write(btstack_packet_handler_t, hci_con_handle_t, uint16_t, uint16_t, uint16_t, uint8_t *);
![]()
![]()
gatt_client_execute_write(btstack_packet_handler_t, hci_con_handle_t);
![]()
![]()
gatt_client_cancel_write(btstack_packet_handler_t, hci_con_handle_t);
![]()
![]()
gatt_client_request_to_send_gatt_query(btstack_context_callback_registration_t *, hci_con_handle_t);
![]()
![]()
gatt_client_request_to_write_without_response(btstack_context_callback_registration_t *, hci_con_handle_t);
![]()
![]()
gatt_client_request_can_write_without_response_event(btstack_packet_handler_t, hci_con_handle_t);
![]()
![]()
gatt_client_deserialize_service(const uint8_t *, int, gatt_client_service_t *);
![]()
![]()
gatt_client_deserialize_characteristic(const uint8_t *, int, gatt_client_characteristic_t *);
![]()
![]()
gatt_client_deserialize_characteristic_descriptor(const uint8_t *, int, gatt_client_characteristic_descriptor_t *);