assistedgps 0.05: Fix regression in 0.04 that caused AGPS data not to get loaded
parent
9d9a20b9f5
commit
d426ca3656
|
|
@ -2,3 +2,4 @@
|
||||||
0.02: Update to work with Bangle.js 2
|
0.02: Update to work with Bangle.js 2
|
||||||
0.03: Select GNSS systems to use for Bangle.js 2
|
0.03: Select GNSS systems to use for Bangle.js 2
|
||||||
0.04: Now turns GPS off after upload
|
0.04: Now turns GPS off after upload
|
||||||
|
0.05: Fix regression in 0.04 that caused AGPS data not to get loaded
|
||||||
|
|
|
||||||
|
|
@ -158,7 +158,7 @@
|
||||||
var chunk = bin.substr(i,chunkSize);
|
var chunk = bin.substr(i,chunkSize);
|
||||||
js += `\x10Serial1.write(atob("${btoa(chunk)}"))\n`;
|
js += `\x10Serial1.write(atob("${btoa(chunk)}"))\n`;
|
||||||
}
|
}
|
||||||
js = "\x10setTimeout(() => Bangle.setGPSPower(0,'agps'), 1000);\n"; // turn GPS off after a delay
|
js += "\x10setTimeout(() => Bangle.setGPSPower(0,'agps'), 1000);\n"; // turn GPS off after a delay
|
||||||
return js;
|
return js;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "assistedgps",
|
"id": "assistedgps",
|
||||||
"name": "Assisted GPS Updater (AGPS)",
|
"name": "Assisted GPS Updater (AGPS)",
|
||||||
"version": "0.04",
|
"version": "0.05",
|
||||||
"description": "Downloads assisted GPS (AGPS) data to Bangle.js for faster GPS startup and more accurate fixes. **No app will be installed**, this just uploads new data to the GPS chip.",
|
"description": "Downloads assisted GPS (AGPS) data to Bangle.js for faster GPS startup and more accurate fixes. **No app will be installed**, this just uploads new data to the GPS chip.",
|
||||||
"sortorder": -1,
|
"sortorder": -1,
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue