It looks like you can just use characteristic.getValue() to return the array of bytes:
characteristic.getValue()
https://developer.android.com/reference/android/bluetooth/BluetoothGattCharacteristic.html#getValue()
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
It looks like you can just use
characteristic.getValue()
to return the array of bytes:https://developer.android.com/reference/android/bluetooth/BluetoothGattCharacteristic.html#getValue()