Parent: 3c20aa6c2ff1980f82c9546117be898515088a37
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-06-16 22:52:15
Tree: 8ae644cbb852b8b84611d4877f8530677a797724
shared/gatt-client: Make bt_gatt_client_read use bt_gatt_client_read_long This makes bt_gatt_client_read use bt_gatt_client_read_long since the later does use BT_ATT_OP_READ_REQ for reading the first chunk, so they are actually equivalent in this respect, but bt_gatt_client_read_long detects when the data returned maybe truncated due to MTU and then proceed to use BT_ATT_OP_READ_BLOB_REQ to read the remaining chunks which is a disarable behavior since there is no property indicating when an attribute would require long read procedure.
Diffstat
| M | src/shared/gatt-client.c | | | 68 | ++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
1 files changed, 2 insertions(+), 66 deletions(-)