Good day,
When using the bt_gatt_discover() with a NULL UUID parameter, the code sweeps all UUIDs available from the start_handle to the end_handle.
This is verified with the callback being called for all the handles.
When using the bt_gatt_discover() with a non NULL UUID parameter, the callback is only called once for the handle with the corresponding UUID.
My question is if the verification for the UUID is done internally (in the requesting device), or if the response to the request only contains the handle with the corresponding UUID?
The first meaning that the responding device sends all handles like a normal UUID NULL sweep, but internally the callback is only called once for the received handle with the chosen UUID.
And the second, that the responding device does not send all handles but only the handle with the corresponding UUID.
Thank you.