Push dev work to master #2
|
@ -80,7 +80,7 @@ function onWifiWrite (data, offset, withoutResponse, callback) {
|
||||||
}
|
}
|
||||||
currentWifi = ssid
|
currentWifi = ssid
|
||||||
currentAddr = getIp()
|
currentAddr = getIp()
|
||||||
log.info(`Connected to AP`, { ssid : ssid })
|
log.info(`Connected to AP`, { ssid : ssid, ip : currentAddr })
|
||||||
result = bleno.Characteristic.RESULT_SUCCESS
|
result = bleno.Characteristic.RESULT_SUCCESS
|
||||||
return callback(result)
|
return callback(result)
|
||||||
})
|
})
|
||||||
|
@ -207,7 +207,7 @@ class BLE {
|
||||||
}
|
}
|
||||||
currentWifi = ssid
|
currentWifi = ssid
|
||||||
currentAddr = getIp()
|
currentAddr = getIp()
|
||||||
log.info('wifi.getNetwork', {ssid : ssid})
|
log.info('wifi.getNetwork', {ssid : ssid, ip : currentAddr })
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
_onWrite (data, offset, withoutResponse, callback) {
|
_onWrite (data, offset, withoutResponse, callback) {
|
||||||
|
|
Loading…
Reference in New Issue