mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-25 11:26:47 +01:00
Bangle.js: ensure char code 255 is translated properly into a String - this can then be sent to the App Loader. Fixes https://github.com/espruino/EspruinoAppLoaderCore/issues/55
This commit is contained in:
parent
2bd1cc332f
commit
e18a991b13
@ -1001,7 +1001,7 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
|
||||
i--; // back up one (because we deleted it)
|
||||
}
|
||||
}
|
||||
String packetStr = new String(chars);
|
||||
String packetStr = new String(chars, StandardCharsets.ISO_8859_1);
|
||||
LOG.debug("RX: " + packetStr);
|
||||
// logging
|
||||
addReceiveHistory(packetStr);
|
||||
|
Loading…
Reference in New Issue
Block a user