-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Whenever I add (inside read intervals):
"acceleration-orientation": {
"acceleration" : 15000
"orientation" : 15000
}
Then in services:
"acceleration-orientation" : ["acceleration", "orientation"]
I get an a range error, here is the full output:
BLE Auto-Start ... poweredOn
*** Auto-Connecting to Thunderboard 000b5751af26
*** Connected to Device 000b5751af26
Found [1] Services for 000b5751af26
Found Characteristic null[c4c1f6e24be511e5885dfeff819cdc9f] for service a4e649f44be511e5885dfeff819cdc9f
Setting up polling intervals for 000b5751af26 acceleration-orientation acceleration
Found Characteristic null[b7c4b694bee345ddba9ff3b5e994f49a] for service a4e649f44be511e5885dfeff819cdc9f
Setting up polling intervals for 000b5751af26 acceleration-orientation orientation
Found Characteristic null[71e30b8c41314703b0a0b0bbba75856b] for service a4e649f44be511e5885dfeff819cdc9f
Setting up polling intervals for 000b5751af26 acceleration-orientation control-point
buffer.js:825
throw new RangeError('Index out of range');
^
RangeError: Index out of range
at checkOffset (buffer.js:825:11)
at Buffer.readInt16BE (buffer.js:969:5)
at meta.CharacteristicDataParsers.(anonymous function) (/home/pi/node_modules/thunderboard-ble/lib/ThunderboardMeta.js:173:18)
at characteristicListener (/home/pi/node_modules/thunderboard-ble/lib/Thunderboard.js:213:11)
at Characteristic.<anonymous> (/home/pi/node_modules/thunderboard-ble/lib/Thunderboard.js:149:63)
at emitTwo (events.js:106:13)
at Characteristic.emit (events.js:191:7)
at Noble.onRead (/home/pi/node_modules/noble/lib/noble.js:278:22)
at emitMany (events.js:127:13)
at NobleBindings.emit (events.js:201:7)
For both sense and react is same output.
Enabled is set to true also.
Metadata
Metadata
Assignees
Labels
No labels