Skip to content Skip to sidebar Skip to footer

Android 4.3 Bluetooth Ble Don't Called Oncharacteristicread() After Write Operation Performed

I want to perform read and write operation with bluetooth peripheral.I have write sample application in which after giving particular input it give me output but inside code onChar

Solution 1:

Here you can set up (subscribe) to the charactersitic through either notification or indication by calling:

mBluetoothGatt.setCharacteristicNotification(characteristic, true)
mBluetoothGatt.readCharacteristic(characteristic);

from here

Post a Comment for "Android 4.3 Bluetooth Ble Don't Called Oncharacteristicread() After Write Operation Performed"