Push dev work to master #2

Merged
sixteenmillimeter merged 416 commits from dev into master 2018-07-19 15:29:02 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 76fcc95327 - Show all commits

View File

@ -180,6 +180,8 @@ class BLE {
_onRead (offset, callback) {
const result = bleno.Characteristic.RESULT_SUCCESS
const state = getState()
console.log('getState')
console.dir(state)
const data = new Buffer(JSON.stringify( state ))
callback(result, data.slice(offset, data.length))
}