New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

openbci

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openbci - npm Package Versions

13

1.5.1

Diff

Changelog

Source

1.5.1

New Features

  • Add new example for Lab stream layer (#139) thanks @gabrielibagon

Breaking changes

  • Removed impedanceCalculationForChannel() and impedanceCalculationForAllChannels from OpenBCISample.js

Bug Fixes

  • Fixes #28- Impedance not working properly.
pushtheworld
published 1.5.0 •

Changelog

Source

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.
pushtheworld
published 1.4.4 •

Changelog

Source

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 .overrideInfoForBoardType() 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.
pushtheworld
published 1.4.2 •

Changelog

Source

1.4.2

New examples

  • Add example of debug
  • Add example of get streaming
pushtheworld
published 1.4.1 •

Changelog

Source

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 openBCIUtilities code as the channelSettingsArray contained an undefined.
  • Writes promises resolve when they are actually sent over the serial port.
pushtheworld
published 1.4.0 •

Changelog

Source

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
  • Promises returned by writes will now only resolve after the write has been sent

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.
pushtheworld
published 1.3.3 •

Changelog

Source

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
pushtheworld
published 1.3.2 •

Changelog

Source

1.3.2

Enhancements

  • Added master time offset timeOffsetMaster to syncObj which is a running average across sync attempts.
pushtheworld
published 1.3.1 •

Changelog

Source

1.3.1

Bug Fixes

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

Changelog

Source

1.3.0

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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc