forked from FOSS/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.master
parent
fcd5a06e21
commit
31e56b23ed
|
@ -13,6 +13,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
function gbSend(message) {
|
function gbSend(message) {
|
||||||
|
Bluetooth.println("");
|
||||||
Bluetooth.println(JSON.stringify(message));
|
Bluetooth.println(JSON.stringify(message));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue