- Add tutorial/sample code for interfacing the module with lab streaming layer.
- Fixed time synced accel to work OpenBCI_32bit_Library release candidate 5 and newer.
- Add function
.time()
which should be used in time syncing - Add function
.syncClocksFull()
which should be used for immediate consecutive time syncs - Synced object can be emitted on
synced
event. Checkvalid
property for if the sync was done - Add detailed description of object returned on
synced
event to README.md
- Changed option named
timeSync
tosntpTimeSync
- Removed function called
.sntpNow()
because it was replaced by.time()
- Time sync working
- Module could not work with local time
- Add time sync tutorial in
README.md
- Fixed bug in simulator that lead to samples being all zeros.
- Fixed time sync sent confirmation bug that led to bad time values.
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.
- NPM Module now called
openbci
instead ofopenbci-sdk
- Firmware version 2.0 support.
- Clock synchronization between OpenBCI board and this driver
.info
property which contains verified board information parsed from the OpenBCI'ssoftReset()
response.eot
event 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.
error
andclose
events from serialport now emtted events users can subscribe to.
- NPM package is not called
openbci-sdk
anymore, now calledopenbci
- Accelerometer data now goes into
.accelData
array instead of.auxData
array. - In openBCISample.js
parseRawPacket()
is now calledparseRawPacketStandard()
ready
event only triggered after soft reset.eot
event emitted in all other conditions resulting in the board sending EOT ("$$$")- Must use camel case on the OpenBCISimulator object.
- Renamed constructor options for readability:
simulatorAlpha
tosimulatorInjectAlpha
simulatorLineNoise
tosimulatorInjectLineNoise
connect()
no longer rejects onclose
orerror
event from the serialport.
- Add tests for parsing raw packets
- Removed
got here
log from.streamStart()
- Validate stop byte before emitting
rawDataPacket
- Fixed readme.md
- Upgrade dependencies
- Update Travis
.numberOfChannels()
now uses the info object, which is set in the constructor and on the return message from.softReset()
.sampleRate()
now uses the info object, which is set in the constructor and on the return message from.softReset()
- Simulator now has accelerometer data
- SD card support! Now logging to an SD card is easier than ever.
- Sample rate does not return correct sample rate for custom rate on simulator. #58
- Simulator made to look more like brainwave data to the user. Implemented a 1/f filter. Defaults to injecting 60Hz line noise with two channels of alpha (10Hz) boost.
rawDataPacket
not being emitted
- SNTP Time Synchronization
- updates to README.me and comments to change ntp to sntp, because the two are similar, but not the same and we do not want to be misleading
- Extended Stnp to main openBCIBoard.js
- Add
.sntpNow()
function to get ntp time.
- Bumped serialport version
- Test Signals with ADS1299 using
.testSignal()
- Continuous impedance testing, where each sample gets an
impedances
object that is an array of impedances for each channel. - OpenBCI Radio Test File
- Added Sntp npm module with helper functions
- Removed stopByte and startByte from sampleObjects
- Changed simulator name to
OpenBCISimulator
- Changed name of function
simulatorOn
tosimulatorEnable
- Changed name of function
simulatorOff
tosimulatorDisable
- NTP Time Synchronization
- Goertzel algorithm to get voltage for impedance calculation
- Impedance calculations
- Readme updates
- Serial buffer had the chance to become permanently unaligned, optimized and completely transformed and refactored the way bytes are processed.
- Changes to gain of channels not working correctly.
- Node 5 compatibility
- #25, #26, #27, #29, #30, #31, #33, #34