This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How do I get Start and EndHandle of a BLE Service

I'm using the MasterEmulator C# DLL.

I have a problem regarding discoverServices. If I understand this correctly discoverServices does not only return a list of all services but it also includes Characteristics. How can I find out if an object of AttributeEntry is an actual service or a characteristic? A coworker said that a service should have a Start and EndHandle to find out how many characteristics it contains.

Now how do I get the Start and EndHandle of a Service? According to the Documentation the AttributeEntry class only has data, uuid and handle members.

Or is there any other way to to determine whether an Entry in the list returned by DiscoverServices is a Service or a Characteristic?

Thanks in Advance.

Related