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

enabling notifications from example "Thingy Mesh Demo v0.1"

Hello. In acrording to: 

How the bridge exchange information between mesh network and mobile device

The bridge using Nordic UART Service to conduct the command/response between mesh nodes and mobile device

  • Nordic UART Service UUID 6E400001-B5A3-F393-E0A9-E50E24DCCA9E
    • TX Characteristic (UUID: 6E400002-B5A3-F393-E0A9-E50E24DCCA9E)
      • After enabled the notification of TX Characteristic, the response from the nodes will show in here
    • RX Characteristic (UUID: 6E400003-B5A3-F393-E0A9-E50E24DCCA9E)
      • Write the command in here, the bridge will send the command to the nodes through mesh

I would like to ask how to eneble notification in this example?

Fullscreen
1
2
3
BluetoothGattDescriptor descriptor = characteristic.getDescriptor(UUID.fromString("???????????????????"));
descriptor.setValue(BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE);
gatt.writeDescriptor(descriptor);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


I think that the problem is because of incorrect UUID.
I tried:
6E400003-B5A3-F393-E0A9-E50E24DCCA9E 
and
00002902-0000-1000-8000-00805f9b34fb
but i still dont have response from my Thingy.