Giter Club home page Giter Club logo

Comments (3)

mariusGundersen avatar mariusGundersen commented on August 15, 2024

I had the same problem, and I solved it using the issue you linked to. So edit the file in node_modules adding the values used there, and it should work.

Obviously that's not a very good solution, so maybe a PR to @abandonware could help?

from espruinotools.

TheLogan avatar TheLogan commented on August 15, 2024

I had the same problem, and I solved it using the issue you linked to. So edit the file in node_modules adding the values used there, and it should work.

image
Like this, right? I first tried with the values suggested in the link, and when that didn't work I downloaded zadig got the values relevant to my pc and tried again, but still didn't work.

Obviously that's not a very good solution, so maybe a PR to @abandonware could help?

If it had worked, then certainly, but ... well I at least can't get it to work xD

from espruinotools.

gfwilliams avatar gfwilliams commented on August 15, 2024

Moving this to the EspruinoTools repo...

I think there's a list of supported devices, and you just put your device's USB IDs here: https://github.com/abandonware/node-bluetooth-hci-socket/blob/master/lib/usb.js#L15-L30

A PR to abandonware would be great. Basically the original 'noble' was just totally abandoned so that project sprung up to try and fix the issues with it.

Either way, it's not really a great solution since it goes straight to the USB adaptor. Since Windows 10 you can just access BLE devices via API, and you'd hope there would be a node module to handle that. I'm not sure if there is though.

I did winnus but then Node.js changed their API so it doesn't build for more modern Node.js versions (and even so since then Windows released a better API that should be used instead)

from espruinotools.

Related Issues (20)

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.