You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working on bleno to implement a peripheral BLE device, and i'm now facing a problem when i execute the read request from my phone using a ble scanner app, to read a characteristic value from my peripheral device which is a rpi running a BLE peripheral demo using bleno : the value is sent several times when the value size exceeds some particular number of bytes !!!
Here i present two cases where one is working fine and the second is beiig sent several times:
++++exemple 1:
Any update on this? I am facing the same issue on my Raspi Zero W. With few bytes response onRead, the library works very well, but if Raspi peripheral response is exceeded some number of bytes, onRead method get called several times.
Any update on this? I am facing the same issue on my Raspi Zero W. With few bytes response onRead, the library works very well, but if Raspi peripheral response is exceeded some number of bytes, onRead method get called several times.
Hi all,
I've been working on bleno to implement a peripheral BLE device, and i'm now facing a problem when i execute the read request from my phone using a ble scanner app, to read a characteristic value from my peripheral device which is a rpi running a BLE peripheral demo using bleno : the value is sent several times when the value size exceeds some particular number of bytes !!!
++++exemple 1:
`var vehicle_id = 'ivESK_Wagen 1.03'
var vehicle_id_buf = Buffer.from(vehicle_id);
VehicleIDCharacteristic.prototype.onReadRequest = function(offset, callback) {
callback(this.RESULT_SUCCESS, vehicle_id_buf);
};
`
++++exemple 2:
`var vehicle_id = 'ivESK_Wagen 1.03 : here we are running a read test for the vehicle_id read operation'
var vehicle_id_buf = Buffer.from(vehicle_id);
VehicleIDCharacteristic.prototype.onReadRequest = function(offset, callback) {
callback(this.RESULT_SUCCESS, vehicle_id_buf);
};
`
Thanks !
The text was updated successfully, but these errors were encountered: