Open hermabe opened 2 years ago
Hi @jhedberg, @jori-nordic,
This issue, marked as an Enhancement, was opened a while ago and did not get any traction. It was just assigned to you based on the labels. If you don't consider yourself the right person to address this issue, please re-assing it to the right person.
Please take a moment to review if the issue is still relevant to the project. If it is, please provide feedback and direction on how to move forward. If it is not, has already been addressed, is a duplicate, or is no longer relevant, please close it with a short comment explaining the reason.
@hermabe you are also encouraged to help moving this issue forward by providing additional information and confirming this request/issue is still relevant to you.
Thanks!
This will depend on a discovery module and caching support in the host. Until then applications will have to handle this themselves.
Is your enhancement proposal related to a problem? Please describe. Core Spec Version 5.3 | Vol 3, Part G, Section 7.1 SERVICE CHANGED states:
It is thus required by the spec to subscribe to Service Changed Indications. This should be handled by the stack instead of requiring the application to do this.
Describe the solution you'd like After connecting to a GATT server, the host stack should do discovery and subscribe to Service Changed Indications.
Describe alternatives you've considered Leave it up to the application to subscribe to Service Changed Indications. This is the current solution and if the application does not do this, it is no longer spec-compliant.
Additional context This ties in to the general feature of GATT caching on the client side, which is not currently implemented. Related issues are the Client Supported Features characteristic (https://github.com/zephyrproject-rtos/zephyr/issues/44587), and general discovery procedure (https://github.com/zephyrproject-rtos/zephyr/issues/31306).