v1.5.0

@aj-ptw aj-ptw released this Jan 4, 2017

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.

Downloads

v1.4.4

@aj-ptw aj-ptw released this Jan 2, 2017 · 6 commits to master since this release

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

Downloads

v1.4.3

@aj-ptw aj-ptw released this Dec 2, 2016 · 15 commits to master since this release

1.4.3

New examples

  • Add example of node to python

Downloads

v1.4.2

@aj-ptw aj-ptw released this Dec 2, 2016 · 18 commits to master since this release

1.4.2

New examples

  • Add example of debug
  • Add example of get streaming

Downloads

v1.4.1

@aj-ptw aj-ptw released this Nov 16, 2016 · 20 commits to master since this release

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.

Downloads

v1.4.0

@aj-ptw aj-ptw released this Oct 31, 2016 · 38 commits to master since this release

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.

Downloads

v1.3.3

@aj-ptw aj-ptw released this Oct 16, 2016 · 88 commits to master since this release

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

Downloads

v1.3.2

@aj-ptw aj-ptw released this Sep 29, 2016 · 91 commits to master since this release

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!

Downloads

v1.3.1

@aj-ptw aj-ptw released this Sep 29, 2016 · 94 commits to master since this release

Bug Fixes

  • Fixed bug where connected and streaming were not set in constructor

Downloads

v1.3.0

@aj-ptw aj-ptw released this Sep 29, 2016 · 96 commits to master since this release

New Features

  • Add dropped packet detection, new event droppedPacket can be added to get an array of dropped packet numbers in the case of the dropped packet event.

Downloads