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

ble_nus example

Hello, I am working on modified version of ble_nus example and I tried to send data to nordic DK. In Android, I used

BluetoothGattCharacteristic characteristic = mBluetoothGattService.getCharacteristic(UUID.fromString("6E400003-B5A3-F393-E0A9-E50E24DCCA9E"));

and

characteristic.setValue(new byte[] {5});

and in Nordic SDK

I tried to receive the data in nus_data_handler,

The method, characteristic.setValue(new byte[] {5}); returns true, but

I guess nus_data_handler doesn't receive the data.

What is the problem? Please help me.

Parents Reply Children
No Data
Related