Giter Club home page Giter Club logo

openbci_hub's People

Contributors

baffo32 avatar daniellasry avatar retiutut avatar robertoostenveld avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openbci_hub's Issues

JavaScript error on boot on win32

[Window Title]
Error

[Main Instruction]
A JavaScript error occurred in the main process

[Content]
Uncaught Exception:
Error: Cannot find module 'openbci-ganglion'
at Module._resolveFilename (module.js:485:15)
at Function.Module._resolveFilename (C:\Program Files\OpenBCIHub\resources\electron.asar\common\reset-search-paths.js:35:12)
at Function.Module._load (module.js:437:25)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at C:\Program Files\OpenBCIHub\resources\app.asar\background.js:6:32
at Object. (C:\Program Files\OpenBCIHub\resources\app.asar\background.js:1798:2)
at Object. (C:\Program Files\OpenBCIHub\resources\app.asar\background.js:1800:3)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)

[OK]

"npm install" fails

npm-install-openbci-ganglion.txt

I followed your installation instructions and
"npm install" complains about a missing file
OpenBCI_Ganglion_Electron/node_modules/electron/install.js
the directory OpenBCI_Ganglion_Electron/node_modules/electron does not exist at all in the git download, so I did the following:

npm install -g electron
npm start (result is error: cannot find module openbci-ganglion)
npm install -g openbci-ganglion (more errors. I attached the error file in this issue, but here's the gist)

node-pre-gyp ERR! Tried to download: https://github.com/tessel/node-usb/releases/download/1.2.0/usb_bindings-v1.2.0-node-v51-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v51 ABI) (falling back to source compile with node-gyp)
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/7.9.0"
(not really a permission issue. /root/.node-gyp does not exist)

I am installing on raspberry pi model 3b, running raspbian 4.4.34
I'd appreciate any insight you can offer.
Thank you,
Sebastian

Hub communication

The hub doesn't respond to a JSON string the is terminated by \n . it does repond to \r\n.

using the hub on windows 10.
my client is in python using the built in parser.

error from Openbci_Hub_v1.4.2 under windows 10: Cannot find module 'openbci-ganglion'

When I try to run OpenBciHub 1.4.2 under windows10(64 bit machine), get a java script error right at the start.


[Main Instruction]
A JavaScript error occurred in the main process
[Content]
Uncaught Exception:
Error: Cannot find module 'openbci-ganglion'
at Module._resolveFilename (module.js:485:15)
at Function.Module._resolveFilename (C:\Program Files\OpenBCIHub\resources\electron.asar\common\reset-search-paths.js:35:12)
at Function.Module._load (module.js:437:25)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at C:\Program Files\OpenBCIHub\resources\app.asar\background.js:6:32
at Object. (C:\Program Files\OpenBCIHub\resources\app.asar\background.js:1798:2)
at Object. (C:\Program Files\OpenBCIHub\resources\app.asar\background.js:1800:3)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)


Thank you

OpenBCI Hub does not start - Ubuntu 18.04

I could not get the application.linux64 download from the website to run, so I tried downloading this and trying to run Processing IDE.

I am running a RX 580 amd card with the latest driver and kernel on Ubuntu 18.04

Any clue on a workaround? Like I mentioned, I do have the GUI running successfully via Processing but I cannot seem to get the Hub to load

When I try to run Processing IDE, I can get the GUI to load but the Hub never starts and I get this in my console:
Caught handled GLException: X11GLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x37a54b57, isOwner false, <4a5aab52, 6f3ed31c>[count 0, qsz 0, owner ]]] on thread main-SharedResourceRunner
[0]: jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:306)
[1]: jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:353)
[2]: java.lang.Thread.run(Thread.java:748)
Caused[0] by GLException: main-SharedResourceRunner: Error making temp context(1) current: display 0x7f9a70001200, context 0x7f9a701766f0, drawable X11OnscreenGLXDrawable[Realized true,
Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@4b44b99d,
Handle 0x4000002,
Surface WrappedSurface[ displayHandle 0x7f9a70001200
, surfaceHandle 0x4000002
, size 64x64
, UOB[ OWNS_SURFACE | WINDOW_INVISIBLE ]
, X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x7f9a70001200, owner true, ResourceToolkitLock[obj 0x543ad96e, isOwner true, <67aaf912, 6be2dc05>[count 2, qsz 0, owner ]]], idx 0], visualID 0x1d8, fbConfigID 0x188,
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.sw], on-scr[.]],
chosen GLCaps[glx vid 0x1d8, fbc 0x188: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL2/GL2.sw], on-scr[.]]]
, surfaceLock <50418b5, 7f750d2>[count 1, qsz 0, owner ]
, X11DummyUpstreamSurfaceHook[pixel 64x64]
, upstreamSurface false ]] on thread main-SharedResourceRunner
[0]: jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:393)
[1]: jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:765)
[2]: jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:648)
[3]: jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:586)
[4]: jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:277)
[5]: jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:353)
[6]: java.lang.Thread.run(Thread.java:748)
Launching application from local data dir
OpenBCI_GUI: hubStart: OS Detected: Linux
Welcome to the Processing-based OpenBCI GUI!
Last update: 9/5/2016
For more information about how to work with this code base, please visit: http://docs.openbci.com/OpenBCI%20Software/
Graphics & GUI Library: ControlP5 2.2.6 infos, comments, questions at http://www.sojamo.de/libraries/controlP5
attempting to load images for presentation...
DONE loading images!
OpenBCI_GUI::Setup: Is RX mulitcast: false
OpenBCI_GUI::Setup: Has RX joined multicast: false
java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.(Socket.java:434)
at java.net.Socket.(Socket.java:211)
at processing.net.Client.(Unknown Source)
at OpenBCI_GUI$Hub.startTCPClient(OpenBCI_GUI.java:13105)
at OpenBCI_GUI$Hub.(OpenBCI_GUI.java:13081)
at OpenBCI_GUI.systemUpdate(OpenBCI_GUI.java:1203)
at OpenBCI_GUI.draw(OpenBCI_GUI.java:563)
at processing.core.PApplet.handleDraw(PApplet.java:2429)
at processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:866)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
Instantiating hub object...
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
click

So next I tried to just run the hub separately, in hopes for a work around
I have tried versions 2.0.0 and 2.0.1, both resulting in same error

When I followed the README and got to npm install electron-prebuilt -g, I got this:

npm WARN deprecated [email protected]: electron-prebuilt has been renamed to electron. For more details, see http://electron.atom.io/blog/2016/08/16/npm-install-electron
/usr/local/bin/electron -> /usr/local/lib/node_modules/electron-prebuilt/cli.js

[email protected] postinstall /usr/local/lib/node_modules/electron-prebuilt
node install.js

/usr/local/lib/node_modules/electron-prebuilt/install.js:22
throw err
^

Error: EACCES: permission denied, link '/usr/local/lib/node_modules/electron-prebuilt/electron-tmp-download-6713-1539750201879/electron-v1.4.13-linux-x64.zip' -> '/home/rig/.electron/electron-v1.4.13-linux-x64.zip'
npm ERR! Linux 4.15.0-36-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "electron-prebuilt" "-g"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the electron-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs electron-prebuilt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls electron-prebuilt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/rig/Downloads/OpenBCI_Hub-2.0.1/OpenBCI_Ganglion_Electron/npm-debug.log

Npm start gives this:

gulp start

[23:18:49] Using gulpfile ~/Downloads/OpenBCI_Hub-2.0.1/OpenBCI_Ganglion_Electron/gulpfile.js
[23:18:49] Starting 'bundle'...
[23:18:49] Starting 'less'...
[23:18:49] Starting 'environment'...
[23:18:49] Finished 'environment' after 1.77 ms
[23:18:49] Starting 'watch'...
[23:18:49] Finished 'watch' after 5.94 ms
[23:18:49] Finished 'bundle' after 138 ms
[23:18:49] Finished 'less' after 155 ms
[23:18:49] Starting 'build'...
[23:18:49] Finished 'build' after 15 μs
[23:18:49] Starting 'start'...
[23:18:49] Finished 'start' after 3.64 ms
/Downloads/OpenBCI_Hub-2.0.1/OpenBCI_Ganglion_Electron/node_modules/electron/dist/electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

OpenBCIHUB not working on mac 10.11.6

Hello devs,
I'm trying to use this tool, already tried in different forms, and lastly using processing. But it crashes when started.

A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000012496e083, pid=1346, tid=0x000000000000e20f
#
# JRE version: Java(TM) SE Runtime Environment (8.0_202-b08) (build 1.8.0_202-b08)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.202-b08 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [AppleIntelHD3000GraphicsGLDriver+0x30f083]  gldBlitFramebufferData+0x4b7
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/kimmansur/hs_err_pid1346.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help → Troubleshooting.

Please help me out!

error with npm install

just did a clean node reinstall on MacOSX 10.13.3

I can do npm install electron -g just fine but npm install fails:

undefined postinstall /Users/matt/Desktop/OpenBCI_Hub
> node ./node_modules/electron-builder/out/install-app-deps.js

Unhandled rejection Error: Cannot find electron dependency to get electron version in the '/Users/matt/Desktop/OpenBCI_Hub/package.json'
    at Object.<anonymous> (/Users/matt/Desktop/OpenBCI_Hub/node_modules/electron-builder/src/util/util.ts:182:11)
    at Generator.throw (<anonymous>)
From previous event:
    at tsAwaiter (/Users/matt/Desktop/OpenBCI_Hub/node_modules/electron-builder/src/util/awaiter.ts:10:47)
    at main (/Users/matt/Desktop/OpenBCI_Hub/node_modules/electron-builder/src/install-app-deps.ts:23:3)
    at Object.<anonymous> (/Users/matt/Desktop/OpenBCI_Hub/node_modules/electron-builder/src/install-app-deps.ts:35:1)
    at Module._compile (internal/modules/cjs/loader.js:654:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
    at Module.load (internal/modules/cjs/loader.js:566:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
    at Function.Module._load (internal/modules/cjs/loader.js:498:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)
    at startup (internal/bootstrap/node.js:201:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)

npm WARN OpenBCI_Hub No repository field.
npm WARN OpenBCI_Hub No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/7zip-bin-linux):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"linux","arch":"any"} (current: {"os":"darwin","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/7zip-bin-win):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"win32","arch":"any"} (current: {"os":"darwin","arch":"x64"})

Hub debug

What's the best way to debug the OpenBCI_Hub? What IDE do I have to use?

I'm new to nodejs programming and since the structure of the Hub project is more complicated than the dummy introductory ones on the web, I cannot find a way to debug the application.
I tried some classic methods with Visual Studio Code but either they don't work at all or the debugger gets stuck in an asynchronous task and never reaches the printing 'app is ready'.

It is therefore much easier to ask to the experienced people that have developed the app so far. I'm sure there's an easy and straightforward way, but it seems I cannot find it :-)

Thanks for the support

Failed to build on win64 with v1.4.4

I tried to build this app on appveyor with v1.4.4.
Because I saw the file appveyor.yml in the repo.

But encountered some problems when installing app dependencies:

gyp ERR! configure error 
gyp ERR! stack Error: 403 status code downloading arm64 iojs.lib
gyp ERR! stack     at Request.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\install.js:335:22)
gyp ERR! stack     at emitOne (events.js:121:20)
gyp ERR! stack     at Request.emit (events.js:211:7)
gyp ERR! stack     at Request.onRequestResponse (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:1066:10)
gyp ERR! stack     at emitOne (events.js:116:13)
gyp ERR! stack     at ClientRequest.emit (events.js:211:7)
gyp ERR! stack     at HTTPParser.parserOnIncomingClient (_http_client.js:552:21)
gyp ERR! stack     at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)
gyp ERR! stack     at TLSSocket.socketOnData (_http_client.js:454:20)
gyp ERR! stack     at emitOne (events.js:116:13)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\projects\openbci-ganglion-electron\app\node_modules\@serialport\bindings
gyp ERR! node -v v8.17.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules\noble\node_modules\xpc-connection):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN [email protected] No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @serialport/[email protected] install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @serialport/[email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\appveyor\AppData\Roaming\npm-cache\_logs\2020-07-09T04_38_14_620Z-debug.log
    at ChildProcess.childProcess.once.code (C:\projects\openbci-ganglion-electron\node_modules\electron-builder\src\util\util.ts:154:14)
    at Object.onceWrapper (events.js:317:30)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:915:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
From previous event:
    at spawn (C:\projects\openbci-ganglion-electron\node_modules\electron-builder\src\util\util.ts:117:3)
    at spawnNpmProduction (C:\projects\openbci-ganglion-electron\node_modules\electron-builder\src\util\util.ts:46:3)
    at Object.installDependencies (C:\projects\openbci-ganglion-electron\node_modules\electron-builder\src\util\util.ts:20:122)
    at C:\projects\openbci-ganglion-electron\node_modules\electron-builder\src\install-app-deps.ts:30:2
    at Generator.next (<anonymous>)
From previous event:
    at tsAwaiter (C:\projects\openbci-ganglion-electron\node_modules\electron-builder\src\util\awaiter.ts:10:47)
    at main (C:\projects\openbci-ganglion-electron\node_modules\electron-builder\src\install-app-deps.ts:23:3)
    at Object.<anonymous> (C:\projects\openbci-ganglion-electron\node_modules\electron-builder\src\install-app-deps.ts:35:1)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Function.Module.runMain (module.js:694:10)
    at startup (bootstrap_node.js:204:16)
    at bootstrap_node.js:625:3

full log: log_openbci_hub_v1.4.4.txt

[CRASH] Hub crashes when selecting Bluetooth (CSR Dongle) in GUI without a dongle plugged in

Problem

Observed on Windows, might be platform-independent:

  1. Don't plug in anything to the computer (no dongles, no receivers)
  2. Launch HUB
  3. Launch GUI
  4. Hit "LIVE (from Ganglion)"
  5. Hit "Blueooth (CSR Dongle)"
  6. Hub will display an error "OpenBCIHub Fatal Error" "No compatible USB Bluetooth 4.0 device found!".
  7. Press OK, and the HUB will exit.
  8. The GUI is also left in a weird state. Hitting "LIVE (from Cyton)" afterwards generates a NullPointerException

Expected

I expect the HUB to handle this gracefully instead of going into Fatal Error and quitting. For example, the HUB could notify the GUI that there is no bluetooth device, and the GUI could handle this by putting a message in the status bar, and/or simply leaving the device list blank.

Operating System and Version

Windows

GUI Version

The version is displayed on startup.

Running standalone app

Are you running the downloaded app or are you running from Processing 3

Type of OpenBCI Board

No board needed to repro.

Are you using a WiFi Shield?

No

Javascript error on opening hub for first time

Sorry for the repeat, but this issue was marked as closed as many have reported success after trying a new beta version. Basically, please see the following link, and recognize that at least for me on Windows 10, the new version works neither for 32 or 64 bit. Trying to install for a Cyton system. At the very least directions to prior Hub versions would be very welcome. Thanks for all your work!

http://openbci.com/forum/index.php?p=/discussion/1589/error-from-openbci-hub-v1-4-2-under-windows-10-cannot-find-module-openbci-ganglion

could not get ganglionhub running on win32

the official download of openBCI GUI for windows 32 bit (e.g. atom-based tablets) does not include the ganglionHub. I tried to build with npm as suggested - which succeeded.
i could also create the installer and the "cat" icon shows up in the system tray when I start ganglionhub.exe.
however, no connection with the ganglion is possible (501 is sent back after connection request).

has somebody succeeded in connection to the device via CSR dongle / zadig driver replacement on win32 operating systems ?

Brainbay on Windows 10 doesn't work with BLED112 Bluetooth module

After running BrainBay I click on Insert Element/Biosignal EEG Amplifier/OpenBCI Ganglion then OpenBCI Hub runs and I get the following error:

No compatible USB Bluetooth 4.0 device found!

I suppose it is looking for CSR module by default, it should be possible to override this behaviour.
I am using OpenBCI Ganglion, which is working correctly with the OpenBCI GUI application.

Does not listen on Linux

I'm trying to run v3.3.1 on Debian from github. It'll boot up, but there is no port opened, and the processing gui cannot connect.

CSR (Windows 10 or Linux): "Failed to start Ganglion BLE..." / "Code 412 Error: TypeError..."

See this forum thread:

http://openbci.com/forum/index.php?p=/discussion/1602/csr-windows-10-or-linux-failed-to-start-ganglion-ble-code-412-error-typeerror

The messages are either:

"Failed to start Ganglion BLE Driver"

or

"Code 412 Error: TypeError : Cannot read property 'state' of undefined"

FIVE different users have seen the first message. TWO different users are seeing the second message. A couple users in that thread managed to eventually get something working; one of those noticed that he could succeed with an older Hub version, but not the latest.

Searching for WiFi shield doesn't work on machines with multiple network interfaces

When searching using service discovery, the HUB doesn't find WiFi shields connected to a secondary network interface. Tested with OpenBCI_GUI app version 3.3.2.

In this scenario connecting to the shield by IP still works fine, only searching doesn't.

I reported similar issue for the Python library as well, linking to the fix. The fix involved explicitly broadcasting multicast messages on all network interfaces. Not sure how to fix this here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.