You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there is no way to discover all Primary Services with bt_gatt_discover() API. User can only discover a specific service by passing its UUID value to the bt_gatt_discover_params structure (e. g. HRS). This is achieved at the ATT level with Find By Type Value request.
We can add this feature by using ATT Read By Group Type request. It can be triggered when user doesn't pass any UUID value to the bt_gatt_discover() function.
The text was updated successfully, but these errors were encountered:
This was to discourage such use since systems running zephyr normally are quite tight in terms of memory and normally target peripherals which implement a restrict number of profiles. That said Im not opposing to open it for discovering all primary services as long as that doesn't introduce caching to the stack, in the other hand if the following feature request is to introduce service caching then Id just keep it as it is since I don't think we would be willing to spend memory, and possible flash, on that.
This makes bt_gatt_discover perform discover all proceduce if no UUID
is given in the parameters.
Fixeszephyrproject-rtos#9713
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This makes bt_gatt_discover perform discover all proceduce if no UUID
is given in the parameters.
Fixeszephyrproject-rtos#9713
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This makes bt_gatt_discover perform discover all proceduce if no UUID
is given in the parameters.
Fixes#9713
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Currently, there is no way to discover all Primary Services with
bt_gatt_discover()
API. User can only discover a specific service by passing its UUID value to thebt_gatt_discover_params
structure (e. g. HRS). This is achieved at the ATT level with Find By Type Value request.We can add this feature by using ATT Read By Group Type request. It can be triggered when user doesn't pass any UUID value to the
bt_gatt_discover()
function.The text was updated successfully, but these errors were encountered: