shownearby: 0.02: Ensure we reset advertising after exiting so the watch can be connected to!
parent
91728c147f
commit
489582ee91
|
|
@ -1 +1,2 @@
|
||||||
0.01: New App!
|
0.01: New App!
|
||||||
|
0.02: Ensure we reset advertising after exiting so the watch can be connected to!
|
||||||
|
|
|
||||||
|
|
@ -86,3 +86,8 @@ NRF.setScan(function(d) {
|
||||||
},{phy:"coded",filters: [{ manufacturerData:{0x0590:{}} }]});
|
},{phy:"coded",filters: [{ manufacturerData:{0x0590:{}} }]});
|
||||||
// Set transmit power to max
|
// Set transmit power to max
|
||||||
NRF.setTxPower(8);
|
NRF.setTxPower(8);
|
||||||
|
|
||||||
|
// when leaving the app, reset the advertising to default so we can reconnect!
|
||||||
|
Bangle.on('kill', function() {
|
||||||
|
NRF.setAdvertising({},{});
|
||||||
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"id": "shownearby",
|
"id": "shownearby",
|
||||||
"name": "Show Nearby",
|
"name": "Show Nearby",
|
||||||
"version": "0.01",
|
"version": "0.02",
|
||||||
"description": "Uses BLE long range advertising, advertises current location and shows the position of other watches running the app (Needs firmware 2v14.63 or later and Open Street Map installed)",
|
"description": "Uses BLE long range advertising, advertises current location and shows the position of other watches running the app (Needs firmware 2v14.63 or later and Open Street Map installed). Make sure you disconnect from your phone first!",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"tags": "outdoors,gps",
|
"tags": "outdoors,gps",
|
||||||
"supports": ["BANGLEJS2"],
|
"supports": ["BANGLEJS2"],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue