Skip to content

TypeError at openBCIGanglion.js:871 #44

@csold

Description

@csold

I'm running the TL;DR code on windows. Its connecting to the ganglion through the dongle but getting this error

`Bluetooth powered on
Scan started
Found ganglion!
Stopping scan
Device is advertising 'Ganglion-12f6' service.
Scan stopped
C:\Users\COld\node_modules\openbci-ganglion\openBCIGanglion.js:871
this._rfduinoService.once(k.OBCINobleEmitterServiceCharacteristicsDiscover, (characteristics) => {
^

TypeError: Cannot read property 'once' of null
at Peripheral._peripheral.on (C:\Users\COld\node_modules\openbci-ganglion\openBCIGanglion.js:871:27)
at emitOne (events.js:96:13)
at Peripheral.emit (events.js:188:7)
at Noble.onServicesDiscover (C:\Users\COld\node_modules\noble\lib\noble.js:247:16)
at emitTwo (events.js:106:13)
at NobleBindings.emit (events.js:191:7)
at NobleBindings.onServicesDiscovered (C:\Users\COld\node_modules\noble\lib\hci-socket\bindings.js:305:8)
at emitTwo (events.js:106:13)
at Gatt.emit (events.js:191:7)
at Gatt. (C:\Users\COld\node_modules\noble\lib\hci-socket\gatt.js:361:12)`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions