Update app.js

master
nujw 2022-02-04 08:34:46 +13:00 committed by GitHub
parent f9971493e0
commit 82cf0b2f62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -608,7 +608,8 @@ function bleSpeed() {
// Bangle.bleAdvert[0x180F] = [E.getBattery()];
// NRF.setAdvertising(Bangle.bleAdvert);
// NRF.setAdvertising({},{name:"speedalt2"} );
var data = {m:1,v:'888',u:'kts',l:'MAX',s:'sats:12'};
// var data = {m:1,v:'888',u:'kts',l:'MAX',s:'sats:12'};
var data = {0x180F,[95]};
NRF.setAdvertising(data,{interval:1000});
}