Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Check if a certain service UUID has already been added

Hello!

Related to the addition of new services to the Attributes table, is there a way to check if a certain service UUID has already been added?

This problem arose because I have two modules that are supposed to use the same service, but are unaware of the presence of each other. And when both add the service, it ends up with two services with the same UUID, but one has the data characteristics, while the other one is empty.

What's the best way to approach this situation?

Thanks!

Related