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 was struggeling about wrong binary values returned from one of my BLE endpoints. Somehow, they've been converted or encoded in a wrong way. This was an issue long time ago: #42
That's a little bit complicated: The device (pool chemical sensor) sent back 12 bytes (as expected) and the values were simply wrong.
I saw nothing special in the logs, even with DEBUG enabled.
I guess that the data got somehow treatend as UTF8?
I was struggeling about wrong binary values returned from one of my BLE endpoints. Somehow, they've been converted or encoded in a wrong way. This was an issue long time ago: #42
EspruinoHub/lib/connect.js
Line 425 in 9c9b817
If I remove the "binary" argument of the conversion, the values are correct. At least for my use case.
Maybe someone is facing similar problems ;-)
The text was updated successfully, but these errors were encountered: