gatt_client.h (47181045ae9215f49690e10089ba60e5edd64fbd) | gatt_client.h (f4b33574b8b8a983cf5ba955722d7d498d69564f) |
---|---|
1/* 2 * Copyright (C) 2014 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 131 unchanged lines hidden (view full) --- 140 141 // can write without response callback 142 btstack_packet_handler_t write_without_response_callback; 143 144 hci_con_handle_t con_handle; 145 146 uint8_t address_type; 147 bd_addr_t address; | 1/* 2 * Copyright (C) 2014 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 131 unchanged lines hidden (view full) --- 140 141 // can write without response callback 142 btstack_packet_handler_t write_without_response_callback; 143 144 hci_con_handle_t con_handle; 145 146 uint8_t address_type; 147 bd_addr_t address; |
148 uint16_t mtu; | 148 149 uint16_t mtu; |
149 gatt_client_mtu_t mtu_state; 150 151 uint16_t uuid16; 152 uint8_t uuid128[16]; 153 154 uint16_t start_group_handle; 155 uint16_t end_group_handle; 156 --- 12 unchanged lines hidden (view full) --- 169 uint16_t read_multiple_handle_count; 170 uint16_t * read_multiple_handles; 171 172 uint16_t client_characteristic_configuration_handle; 173 uint8_t client_characteristic_configuration_value[2]; 174 175 uint8_t filter_with_uuid; 176 uint8_t send_confirmation; | 150 gatt_client_mtu_t mtu_state; 151 152 uint16_t uuid16; 153 uint8_t uuid128[16]; 154 155 uint16_t start_group_handle; 156 uint16_t end_group_handle; 157 --- 12 unchanged lines hidden (view full) --- 170 uint16_t read_multiple_handle_count; 171 uint16_t * read_multiple_handles; 172 173 uint16_t client_characteristic_configuration_handle; 174 uint8_t client_characteristic_configuration_value[2]; 175 176 uint8_t filter_with_uuid; 177 uint8_t send_confirmation; |
177 | 178 |
178 int le_device_index; 179 uint8_t cmac[8]; 180 181 btstack_timer_source_t gc_timeout; | 179 int le_device_index; 180 uint8_t cmac[8]; 181 182 btstack_timer_source_t gc_timeout; |
183 184#ifdef ENABLE_GATT_CLIENT_PAIRING 185 uint8_t security_counter; 186 uint8_t wait_for_pairing_complete; 187 uint8_t pending_error_code; 188#endif 189 |
|
182} gatt_client_t; 183 184typedef struct gatt_client_notification { 185 btstack_linked_item_t item; 186 btstack_packet_handler_t callback; 187 hci_con_handle_t con_handle; 188 uint16_t attribute_handle; 189} gatt_client_notification_t; --- 210 unchanged lines hidden --- | 190} gatt_client_t; 191 192typedef struct gatt_client_notification { 193 btstack_linked_item_t item; 194 btstack_packet_handler_t callback; 195 hci_con_handle_t con_handle; 196 uint16_t attribute_handle; 197} gatt_client_notification_t; --- 210 unchanged lines hidden --- |