I have rPi setup with node running bleno to advertise a characteristic. With evothings I am testing both Android and iOS and with both I got an error when reading the characteristic.
The code to read the characteristic within evothings is:
device.readServiceCharacteristic(
'ff51b30e-d7e2-4d93-8842-a7c4a57dfb07',
'ff51b30e-d7e2-4d93-8842-a7c4a57dfb08',
function(data)
{
console.log('characteristic data: ' + evothings.ble.fromUtf8(data));
},
function(errorCode)
{
console.log('readCharacteristic error: ' + errorCode);
});
The first uuid passed in is the service ID that I can see is right on the console log. The second uuid has been checked from the code on the server(rpi) side.
When I run this the console logs on iOS that an unlikely error has occurred. On Android it logs: error 1
For reference on the server I have followed this tutorial: https://www.hackster.io/inmyorbit/build-a-mobile-app-that-connects-to-your-rpi-3-using-ble-7a7c2c
I am trying to use this to learn about BLE but can't google my way out of such general errors.