Is there an easy way to find out the range of handles for a service which I added? Obviously the first one is the service handle, then you add characteristics and descriptors and obviously the last handle is related to the last thing you added, which might be a characteristic which itself adds 4 or more handles.
I can take the last thing I did and figure out what the last handle was, but it's a bit manual and as I change the services during development, I have to remember to keep the code updated. I can't find a function which gives me the range of handles for a given service on my own server, it would be useful.
The motivation is so that I can have each of my service's event handlers explicitly deal with r/w authorization for any of the handles in that service, defaulting to no authorization unless there's specific code for that handle to allow it. To do that I need the range of handles for my service and it would be handy if I didn't have to work it out with custom code.