Skip to content

Releases: openbci-archive/OpenBCI_NodeJS

v1.5.2

03 Apr 17:27
Compare
Choose a tag to compare

v1.5.2

Dependency Package Updates

  • performance-now: from ^0.2.0 to 2.1.0
  • serialport - from 4.0.1 to 4.0.7

Development Dependency Package Updates

  • bluebird: from 3.4.6 to 3.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

02 Mar 19:53
Compare
Choose a tag to compare

1.5.1

New Features

Breaking changes

  • Removed impedanceCalculationForChannel() and impedanceCalculationForAllChannels from OpenBCISample.js

Bug Fixes

  • Fixes #28- Impedance not working properly.

v1.5.0

04 Jan 05:02
Compare
Choose a tag to compare

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 the daisy option is true and a soft reset message is parsed and the module determines that a daisy was not detected, the module will emit hardSet then send an attach daisy command to recover. Either error will be emitted if unable to attach or ready will be emitted if success.
  • Add example for streaming with daisy and hardSet.

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 to default and daisy 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

02 Jan 17:23
Compare
Choose a tag to compare

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

02 Dec 07:15
Compare
Choose a tag to compare

1.4.3

New examples

  • Add example of node to python

v1.4.2

02 Dec 05:26
Compare
Choose a tag to compare

1.4.2

New examples

  • Add example of debug
  • Add example of get streaming

v1.4.1

16 Nov 06:42
Compare
Choose a tag to compare

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

31 Oct 23:52
Compare
Choose a tag to compare

1.4.0

New Features

  • Three new initialization options: simulatorFragmentation, simulatorBufferSize, and simulatorLatencyTimer. 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 to none
  • 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

16 Oct 19:03
Compare
Choose a tag to compare

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

29 Sep 20:17
Compare
Choose a tag to compare

1.3.2

Enhancements

  • Added master time offset timeOffsetMaster to syncObj 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!