This message was deleted.
# android
s
This message was deleted.
stackoverflow 1
n
What has your issue ?
s
I read that I need to set the descriptor value, so within the
onServicesDiscovered
method I'm doing this:
Copy code
val descriptor: BluetoothGattDescriptor = gatt.getService(BluetoothMultiverse.Service.dmx.uuid).getCharacteristic(BluetoothMultiverse.Characteristic.rdmUID.uuid).getDescriptor(UUID.fromString("00002902-0000-1000-8000-00805f9b34fb"))
descriptor.setValue(BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE)
gatt.writeDescriptor(descriptor)
and then shortly after after that:
Copy code
Log.i(tag, "Characteristic: RDM UID")
val success = gatt.setCharacteristicNotification(it, true)
Log.i(tag, "RDMUID Notify Success: $success")
I'm expecting the
onCharacteristicChanged
callback to be called..
I saw that
00002902-0000-1000-8000-00805f9b34fb
is this client characteristic config that needs to be set... maybe? so thats why thats a random uuid, all the others are correct from the documentation of the device im trying to interface with..
My issue is I'm receiving no characteristic changes despite what i believe to be setting all the values needed to tell the device to notify me..