Hi,
I have a 128bit UUID on the ad block which I need to change on the fly to another 128bit UUID.
I tried different solutions and searched for a good example, however I have not found one that would be a clear example how to do it.
I am not very proficient in C, so I have some issues with the details.
The operation should be able to be done even if a client is connected.
Some examples I tried make an error 18 if a connection is active.
Would there be a good and clear code example that will make:
1. Stop advertising
2. End and clear any connection if active
3. Change 128bit UUID to another 128bit UUID in advertisement
4. Start advertising with a new 128bit UUID
Thank you!