mirror of https://github.com/espruino/BangleApps
Stop Gadgetbridge from ignoring initial message.
Gadgetbridge seems to ignore the first line sent to it after connecting. This commit works around this by prepending each message with a blank line.pull/429/head
parent
fcd5a06e21
commit
31e56b23ed
|
@ -13,6 +13,7 @@
|
|||
};
|
||||
|
||||
function gbSend(message) {
|
||||
Bluetooth.println("");
|
||||
Bluetooth.println(JSON.stringify(message));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue