164 Commits

Author SHA1 Message Date
Matthias Ringwald
19c614ac09 gatt_client: notify callback for eatt queries 2023-06-19 17:33:30 +02:00
Matthias Ringwald
2832a98a32 gatt_client: return immediately if request already in queue 2023-06-19 17:33:30 +02:00
Matthias Ringwald
233ee2ed4e gatt_client: remove unneeded check 2023-06-19 17:33:30 +02:00
Matthias Ringwald
109c2548f0 gatt_client: avoid shadowing local variable 2023-06-19 17:33:30 +02:00
Matthias Ringwald
cbba69d54e gatt_client: report multiple notification 2023-06-19 17:33:30 +02:00
Matthias Ringwald
ce82ac7f4a gatt_client: handle eatt response 2023-06-19 17:33:30 +02:00
Matthias Ringwald
169b98766d gatt_client: add gatt_client_read_multiple_variable_characteristic_values 2023-06-19 17:33:30 +02:00
Matthias Ringwald
f7a42e72a0 gatt_client: reserve pre-buffer for eatt connections 2023-06-19 17:33:30 +02:00
Matthias Ringwald
23d583b8c4 gatt_client: sort functions, use defines for pre-buffer 2023-06-19 17:33:30 +02:00
Matthias Ringwald
f125a8ef20 gatt_client: add gatt_client_read_multiple_variable_characteristic_values 2023-06-19 17:33:30 +02:00
Matthias Ringwald
7627a0deea gatt_client: enable gatt over eatt 2023-06-19 17:33:30 +02:00
Matthias Ringwald
526859e7bf gatt_client: emit complete event from gatt_client_handle_transaction_complete 2023-06-19 17:33:30 +02:00
Matthias Ringwald
7045d3c050 gatt_client: don't emit event on error from api function gatt_client_discover_characteristic_descriptors 2023-06-19 17:33:30 +02:00
Matthias Ringwald
4740230f55 gatt_client: use att_status for call to emit_gatt_complete_event 2023-06-19 17:33:30 +02:00
Matthias Ringwald
36e79bd03e gatt_client: report characteristic value or descriptor before calling gatt_client_handle_transaction_complete 2023-06-19 17:33:30 +02:00
Matthias Ringwald
26166ecfac gatt_client: wip eatt 2023-06-19 17:33:30 +02:00
Matthias Ringwald
cbd76cec95 gatt_client: add eatt state 2023-06-19 17:33:30 +02:00
Matthias Ringwald
4601294989 gatt_client: use bearer_type 2023-06-19 17:33:30 +02:00
Matthias Ringwald
e9cdf30bbc gatt_client: add bearer type 2023-06-19 17:33:30 +02:00
Matthias Ringwald
9228fd328a gatt_client: extract gatt_client_reserve_request_buffer 2023-06-19 17:33:30 +02:00
Matthias Ringwald
de27733da9 gatt_client: move ready check into gatt_client_provide_context_for_request 2023-06-19 17:33:30 +02:00
Matthias Ringwald
10cae6ea33 gatt_client: add missing default 2023-06-09 09:06:43 +02:00
Matthias Ringwald
b7b03a30ea gatt_client: return success in gatt_client_classic_connect 2023-06-09 09:06:43 +02:00
Matthias Ringwald
e0584c4af2 gatt_client: fix send over unenhanced le bearer, regression from 1aa9e3e8 2023-06-08 16:42:01 +02:00
Matthias Ringwald
b68ac7a525 gatt_client: fix write without response, regression from 0038504 2023-06-01 17:21:27 +02:00
Matthias Ringwald
d552970049 src: suppress false positives for cppcheck 2.10 2023-05-23 22:20:37 +02:00
Matthias Ringwald
0038504e91 gatt_client: reduce number of return statements 2023-05-23 11:55:03 +02:00
Matthias Ringwald
92a7335e86 gatt_client: extract gatt_client_run_for_client_start_signed_write, simplify logic 2023-05-23 11:54:57 +02:00
Matthias Ringwald
2da0d963df gatt_client: extract code to handle att read response, read by type and write response 2023-05-23 11:30:23 +02:00
Matthias Ringwald
9ced96e155 gatt_client: fix build 2023-04-11 16:08:57 +02:00
Matthias Ringwald
6b4a68c3da gatt_client: handle l2cap disconnect 2023-04-11 15:47:22 +02:00
Matthias Ringwald
664e1f18ec gatt_client: handle att response over l2cap 2023-04-11 15:47:22 +02:00
Matthias Ringwald
ac4c2bc67d gatt_client: handle l2cap mtu 2023-04-11 15:47:22 +02:00
Matthias Ringwald
1aa9e3e881 gatt_client: add run for client over br/edr 2023-04-11 15:47:22 +02:00
Matthias Ringwald
1450cdc634 gatt_client: query sdp for att service, create l2cap connection 2023-04-11 15:47:22 +02:00
Matthias Ringwald
cf8e571806 gatt_client: extract gatt_client_handle_att_response 2023-04-11 14:54:50 +02:00
Matthias Ringwald
0fde3c5edb gatt_client: pass gatt_client to report notification/indications 2023-04-11 14:36:48 +02:00
Matthias Ringwald
6e7b444c5f gatt_client: tunnel all sends through gatt_client_send 2023-04-11 12:40:18 +02:00
Matthias Ringwald
098344126f gatt_client: fix gatt_client_notify_can_send_query 2023-01-24 15:11:16 +01:00
Matthias Ringwald
53e9c18f2e gatt_client: add gatt_client_request_to_send_gatt_query 2023-01-23 15:54:16 +01:00
Matthias Ringwald
59d34cd29e gatt_client: add gatt_client_request_to_write_without_response 2023-01-23 13:56:36 +01:00
Milanka Ringwald
40faeb84f8 gatt_client: return ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER for invalid connection handle 2023-01-10 15:59:38 +01:00
Milanka Ringwald
ae1ee62db0 ble/gatt_client: get GATT client for testing 2023-01-04 00:10:18 +01:00
Milanka Ringwald
aacf1b1ab9 ble/gatt_client: use bool instead of int in internal function 2022-11-18 14:33:59 +01:00
Matthias Ringwald
bda8c50e97 gatt_client: fix warnings 2022-04-28 16:48:00 +02:00
Matthias Ringwald
92da54c428 hci_dump: mark all hci events as incoming 2022-03-23 12:01:14 +01:00
Matthias Ringwald
ff3f1026e3 gap: return bool for gap_authenticated 2021-12-13 15:21:26 +01:00
Matthias Ringwald
78c4542a56 gatt_client: extract gatt_client_handle_reencryption_complete and gatt_client_handle_disconnection_complete 2021-12-11 18:04:12 +01:00
Matheus Eduardo Garbelini
8d1f34d35f Add gatt_client_discover_secondary_services
Changes:
1.  In `gatt_client_discover_primary_services`,  gatt_client->uuid16 = GATT_PRIMARY_SERVICE_UUID; instead of gatt_client->uuid16 = 0;
2.  In `send_gatt_services_request`, second argument uses gatt_client->uuid16 instead of hardcoded definition

Additions:
1.  Added gatt_client_discover_secondary_services following uui16 changes above. gatt_client->uuid16 = GATT_SECONDARY_SERVICE_UUID;
2021-11-24 21:59:22 +08:00
Milanka Ringwald
2fca4dad95 license: update text 2021-11-02 09:31:00 +01:00