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 1 additions and 1 deletions
Showing only changes of commit 5f97c7a4de - Show all commits

View File

@ -180,7 +180,7 @@ class BLE {
_onRead (offset, callback) {
const result = bleno.Characteristic.RESULT_SUCCESS
const state = getState()
const data = new Buffer(JSON.stringify( { success : true } ))
const data = new Buffer(JSON.stringify( state ))
callback(result, data.slice(offset, data.length))
}
/**