Remove bonding for now
parent
31fd2344a8
commit
9eb4d8eb73
|
|
@ -427,7 +427,7 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
promise = promise.then(() => {
|
/* promise = promise.then(() => {
|
||||||
log(JSON.stringify(gatt.getSecurityStatus()));
|
log(JSON.stringify(gatt.getSecurityStatus()));
|
||||||
if (gatt.getSecurityStatus()['bonded']) {
|
if (gatt.getSecurityStatus()['bonded']) {
|
||||||
log("Already bonded");
|
log("Already bonded");
|
||||||
|
|
@ -437,7 +437,7 @@
|
||||||
return gatt.startBonding()
|
return gatt.startBonding()
|
||||||
.then(() => console.log(gatt.getSecurityStatus()));
|
.then(() => console.log(gatt.getSecurityStatus()));
|
||||||
}
|
}
|
||||||
});
|
});*/
|
||||||
|
|
||||||
promise = promise.then(()=>{
|
promise = promise.then(()=>{
|
||||||
if (!characteristics || characteristics.length === 0){
|
if (!characteristics || characteristics.length === 0){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue