Hello.
I m working with this demo: https://github.com/NordicPlayground/thingy52-mesh-provisioning-demo and wondering if my way of thinking is correct:
We have full list of characteristics here: https://www.bluetooth.com/specifications/gatt/characteristics/ but which of theme are implemented in Thingy 52 on this DEMO?
I created my app and below you can find results of onServicesDiscovered() and onCharactersiticRead()
int size=services.size(); I get the value of 3. So there are 3 services.
First service has 3 charachteristics:
first one has UUID: 00002a00-0000-1000-8000-00805f9b34fb
second one has UUID: 00002a01-0000-1000-8000-00805f9b34fb
third one has UUID: 00002a04-0000-1000-8000-00805f9b34fb
Second service has no characteristics, as well third one.
am I right or maybe I m in mistake and there is more services and more characteristics implemented on this DEMO?
Is it true that exactly one characteristic have exactly one UUID?
I add to my code something like this:
for(int i=0;i<services.size();i++)
{
Log.d("mylog",services.get(i).getUuid()+" UUID service "+i);
}
and then finnaly get:
10-02 12:03:39.551 15387-15442/com.example.bluetoothlowenergy D/mylog: 00001800-0000-1000-8000-00805f9b34fb UUID service 0
10-02 12:03:39.551 15387-15442/com.example.bluetoothlowenergy D/mylog: 00001801-0000-1000-8000-00805f9b34fb UUID service 1
10-02 12:03:39.551 15387-15442/com.example.bluetoothlowenergy D/mylog: 00001827-0000-1000-8000-00805f9b34fb UUID service 2