Merge pull request #2890 from joserebelo/env

android: Send fw and hw on connection
master
Gordon Williams 2023-08-07 08:49:00 +01:00 committed by GitHub
commit 89908d7271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -28,4 +28,5 @@
0.27: Issue newline before GB commands (solves issue with console.log and ignored commands)
0.28: Navigation messages no longer launch the Maps view unless they're new
0.29: Support for http request xpath return format
0.30: Allow alarm enable/disable
0.30: Send firmware and hardware versions on connection
Allow alarm enable/disable

View File

@ -253,6 +253,7 @@
Bangle.on("charging", sendBattery);
NRF.on("connect", () => setTimeout(function() {
sendBattery();
gbSend({t: "ver", fw: process.env.VERSION, hw: process.env.HWVERSION});
GB({t:"force_calendar_sync_start"}); // send a list of our calendar entries to start off the sync process
}, 2000));
NRF.on("disconnect", () => {