Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_disconnectDevices function error: is not a function #8

Open
juvs opened this issue May 12, 2017 · 0 comments
Open

_disconnectDevices function error: is not a function #8

juvs opened this issue May 12, 2017 · 0 comments

Comments

@juvs
Copy link

juvs commented May 12, 2017

When invoke reset() function in LightBlueSDK class throws error:

this._disconnectDevices()
^
TypeError: this._disconnectDevices is not a function
at LightBlueSDK.reset (C:\projects\Juvs\LightBlue\node\node_modules\bean-sdk\src\lightblue.js:108:10)
at sdk.quitGracefully (C:\projects\Juvs\LightBlue\node\set_led.js:62:9)
at C:\projects\Juvs\LightBlue\node\node_modules\bean-sdk\src\lightblue.js:102:7
at C:\projects\Juvs\LightBlue\node\node_modules\async\dist\async.js:3838:9
at C:\projects\Juvs\LightBlue\node\node_modules\async\dist\async.js:421:16
at iteratorCallback (C:\projects\Juvs\LightBlue\node\node_modules\async\dist\async.js:998:13)
at C:\projects\Juvs\LightBlue\node\node_modules\async\dist\async.js:906:16
at C:\projects\Juvs\LightBlue\node\node_modules\async\dist\async.js:3835:13
at _peripheral.disconnect (C:\projects\Juvs\LightBlue\node\node_modules\bean-sdk\src\devices.js:190:9)
at Peripheral.<anonymous> (C:\projects\Juvs\LightBlue\node\node_modules\noble\lib\peripheral.js:53:7)
Connection attempt 1 to node process on 127.0.0.1:5858 failed. Will try again in 500.
@juvs juvs changed the title _disconnectDevices function not found _disconnectDevices function error: is not a function May 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant