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

zwack on WSL / Ubuntu 20.04.1 LTS #14

Open
dfxh opened this issue Dec 30, 2021 · 2 comments
Open

zwack on WSL / Ubuntu 20.04.1 LTS #14

dfxh opened this issue Dec 30, 2021 · 2 comments

Comments

@dfxh
Copy link

dfxh commented Dec 30, 2021

I tried zwack out of of the box on a WLS based ubuntu.
npm i zwack
or npm install
however returned a bunch of errors.

Can you help me out getting started?

npm run simulator -- --variable=ftms --variable=rsc --variable=csp --variable=power --variable=cadence --variable=speed > [email protected] simulator $XXXXXX/zwack/zwack-master > node ./example/simulator.js "--variable=ftms" "--variable=rsc" "--variable=csp" "--variable=power" "--variable=cadence" "--variable=speed" internal/modules/cjs/loader.js:638 throw err; ^ Error: Cannot find module 'bleno' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/mnt/NASdani/Haushalt/40_Geraete/02_Daum-ergobike/zwack/zwack-master/lib/zwack-ble-sensor.js:1:15) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] simulator: node ./example/simulator.js "--variable=ftms" "--variable=rsc" "--variable=csp" "--variable=power" "--variable=cadence" "--variable=speed" npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] simulator 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:

@gazhay
Copy link

gazhay commented Feb 3, 2022

I can get it to build fine on ubuntu 20.04 with bleno, but it does nothing. No advertising of bluetooth, not detected by any bluetooth receivers.

The tool itself launches and I can change parameters, but its useless if it isn't broadcasting.

@gazhay
Copy link

gazhay commented Feb 3, 2022

Got a bit further - had the ubuntu 20.04 intel bluetooth bug, but after cold boot, got something going.

Now the error is

bleno advertisingStart: Error: Command Disallowed +10ms ble [Zwack advertisingStartError] advertising stopped +9ms ble [Zwack advertisingStart] error Error: Command Disallowed +0ms

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

2 participants