andrzej-kaczmarek opened a new pull request #494: nimble: Allow to hide/restore 
services from clients in runtime
URL: https://github.com/apache/mynewt-core/pull/494
 
 
   This is substitute for registering and unregistering services in runtime.
   
   Instead of the above, we allow already registered service to be hidden from 
clients (its attributes are removed from attributes list in ATT server). This 
can be done at any time and does not need any in terms of GATT services 
handling - we just move attributes from "default" list to "hidden" list so they 
are not picked by any ATT API.
   
   So basically, if there are services A and B which cannot exists in ATT DB at 
the same time (like in Mesh), application should register both of them and then 
just toggle visibility in runtime.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to