Releases: openbci-archive/OpenBCI_NodeJS
Releases · openbci-archive/OpenBCI_NodeJS
v1.5.2
v1.5.2
Dependency Package Updates
performance-now
: from^0.2.0
to2.1.0
serialport
- from4.0.1
to4.0.7
Development Dependency Package Updates
bluebird
: from3.4.6
to3.5.0
chai-as-promised
: from^5.2.0
to^6.0.0
codecov
: from^1.0.1
to^2.1.0
semistandard
: from^9.0.0
to^10.0.0
sinon
: from^1.17.2
to^2.1.0
snazzy
: from^5.0.0
to^6.0.0
v1.5.1
1.5.1
New Features
- Add new example for Lab stream layer (#139) thanks @gabrielibagon
Breaking changes
- Removed
impedanceCalculationForChannel()
andimpedanceCalculationForAllChannels
fromOpenBCISample.js
Bug Fixes
- Fixes #28- Impedance not working properly.
v1.5.0
1.5.0
New Features
- New simulator option
simulatorDaisyModuleCanBeAttached
- Boolean, deafults to true, allows the simulation of the a hot swapped daisy board or simulates a misinformed module. - New
EventEmitter
-hardSet
- for when the module detects the board is not configured as the options for the module intended and tries to save itself. i.e. when thedaisy
option istrue
and a soft reset message is parsed and the module determines that a daisy was not detected, the module will emithardSet
then send an attach daisy command to recover. Eithererror
will be emitted if unable to attach orready
will be emitted if success. - Add example for streaming with
daisy
andhardSet
.
Breaking changes
.setInfoForBoardType()
changed to.overrideInfoForBoardType()
to elevate it's dangerous nature..setMaxChannels()
changed to.hardSetBoardType()
and input changed from numerical to string: 8 and 16 todefault
anddaisy
respectively.
Bug Fixes
- Fixes #131 - 16 chan not working by sending a channel command and parsing the return.
- Fixed bug where end of transmission characters would not be ejected from buffer.
Enhancements
- Separated radio tests from main board test file.
v1.4.4
1.4.4
New Features
- Set max number of channels for the board to use with
.setMaxChannels()
see readme.md - Set the core info object that drives the module with
.setInfoForBoardType()
see readme.md - Get info for the core object that drives the module with
.getInfo()
see readme.md
Work In Progress
- Bug where daisy would sometimes not be recognized which destroyed all data. #131
v1.4.3
1.4.3
New examples
- Add example of node to python
v1.4.2
1.4.2
New examples
- Add example of debug
- Add example of get streaming
v1.4.1
1.4.1
Bug Fixes
- Fixes bug where extra data after EOT (
$$$
) was dumped by preserving the poriton after the EOT for further decomposition. - Fixes bug where any calls to channel set would actually break the openBCISample code as the channelSettingsArray contained an undefined.
- Writes promises resolve when they are actually sent over the serial port.
v1.4.0
1.4.0
New Features
- Three new initialization options:
simulatorFragmentation
,simulatorBufferSize
, andsimulatorLatencyTimer
. Together, these enable a more realistic serial port simulation, mimicking different potential user computer systems. - New option
debug
gives a live dump of serial traffic on the console if enabled - New API function
.isConnected()
to check if communications are active. - New API function
.isStreaming()
to check if samples are coming from the board.
Enhancements
- Implement and adapt semi-standard code style. Closes #83
- autoFindOpenBCIBoard now notices and uses the stock dongle on Linux
- 'synced' object now has
error
property, null on good syncs, error description on bad syncs.
Breaking Changes
- The setting for simulatorInjectLineNoise has changed from
None
tonone
- connect() will now fail if already connected
- The constructor will throw an error now if an invalid option is passed
- The
.connected
property has been removed, replaced by.isConnected()
. Removed from docs. - The
.streaming
property has been removed, replaced by.isStreaming()
. Removed from docs. - An error event will be emitted if sntp fails to initialize on construction
- The simulator will no longer communicate when disconnected
Bug Fixes
- Fixed bug where early packet fragments were dropped after board reset
- Fixed bug where time sync replies that began a buffered chunk were ignored
- Fixed bug where simulator would output wrong version in its reset message
- Fixed bug where resources were not cleaned up if connect was called twice
- Fixed bug where serial data was written after disconnection
- Fixed bug where unexpected disconnection was not detected
- Fixed bug where promises could lead to out of order packet processing.
v1.3.3
1.3.3
New Features
- Add
timeOffsetMaster
to object emitted when bad time sync.
Bug Fixes
- Fixed log statement on impedance setting function
- Remove event emitter with time sync on reject of sync clock full
v1.3.2
1.3.2
Enhancements
- Added master time offset
timeOffsetMaster
tosyncObj
which is a running average across sync attempts.
New Features
- Examples folder with an example of time syncing every second! Woo! Doing something cool with this SDK? Make a PR with a new example!