v1.0.0-beta.1
Pre-release
Pre-release
·
73 commits
to dev-ntp
since this release
The second major release for the OpenBCI Node.js SDK brings major changes, improvements and stability, on top of a push to increase automated test coverage.
New Features
- NPM Module now called
openbciinstead ofopenbci-sdk - Firmware version 2.0 support.
- Clock synchronization between OpenBCI board and this driver
.infoproperty which contains verified board information parsed from the OpenBCI'ssoftReset()response.eotevent that is emitted when a user sends a command that results in an EOT ("$$$") being sent from the board- Daisy (16 channel) support
- Simulator overhaul, it completely mocks the board. Can now simulate board failure, where the board stops talking to the dongle. Can also mock a serial port failure.
Breaking Changes
- NPM package is not called
openbci-sdkanymore, now calledopenbci - Accelerometer data now goes into
.accelDataarray instead of.auxDataarray. - In openBCISample.js
parseRawPacket()is now calledparseRawPacketStandard()
readyevent only triggered after soft reset.eotevent emitted in all other conditions resulting in the board sending EOT ("$$$")- Must use camel case on the OpenBCISimulator object.
- Renamed constructor options for readability:
simulatorAlphatosimulatorInjectAlphasimulatorLineNoisetosimulatorInjectLineNoise
Fixes issues