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
Ben Whittaker 2020-05-17 18:46:44 -04:00
parent fcd5a06e21
commit 31e56b23ed
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@
};
function gbSend(message) {
Bluetooth.println("");
Bluetooth.println(JSON.stringify(message));
}