mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-01 22:43:00 +01:00
Bangle.js extra debug info
This commit is contained in:
parent
1b412af3c7
commit
2f11b875e3
@ -176,8 +176,11 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
|
||||
LOG.info("UART RX JSON parsed successfully");
|
||||
handleUartRxJSON(json);
|
||||
} catch (JSONException e) {
|
||||
LOG.info("UART RX JSON parse failure: "+ e.getLocalizedMessage());
|
||||
GB.toast(getContext(), "Malformed JSON from Bangle.js: " + e.getLocalizedMessage(), Toast.LENGTH_LONG, GB.ERROR);
|
||||
}
|
||||
} else {
|
||||
LOG.info("UART RX line started with "+(int)line.charAt(0)+" - ignoring");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user