No need to log state
This commit is contained in:
parent
3e9f560db0
commit
5f61865366
|
@ -180,8 +180,6 @@ class BLE {
|
||||||
_onRead (offset, callback) {
|
_onRead (offset, callback) {
|
||||||
const result = bleno.Characteristic.RESULT_SUCCESS
|
const result = bleno.Characteristic.RESULT_SUCCESS
|
||||||
const state = getState()
|
const state = getState()
|
||||||
console.log('getState')
|
|
||||||
console.dir(state)
|
|
||||||
const data = new Buffer(JSON.stringify( state ))
|
const data = new Buffer(JSON.stringify( state ))
|
||||||
callback(result, data.slice(offset, data.length))
|
callback(result, data.slice(offset, data.length))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue