Git Product home page Git Product logo

Comments (7)

undera avatar undera commented on July 28, 2024 1

You may also want to try with different underlying BLE library. Specifically the bleak looks the most stable today. Maybe it would behave differently.

from pylgbst.

undera avatar undera commented on July 28, 2024

Hi,
It looks like WeDo type of hub has some different identifiers of hardware. These identifiers are hardcoded here:

MOVE_HUB_HW_UUID_SERV = '00001623-1212-efde-1623-785feabcd123'

If you know the right values, you can override those in the beginning of your script. That would require some experimenting and researching, not too easy.

from pylgbst.

erjosito avatar erjosito commented on July 28, 2024

Wow that was quick, thanks for your answer! I will check if Dr. Google can find if anybody has cracked the UUID for the WeDo hardware, otherwise I guess I will try another route. Thanks @undera !

from pylgbst.

erjosito avatar erjosito commented on July 28, 2024

Mmh, weird the docs in https://github.com/LEGO/lego-ble-wireless-protocol-docs seem to indicate that WeDo 2.0, Boost and Train share the same hardware UUID...

from pylgbst.

erjosito avatar erjosito commented on July 28, 2024

Ah, found it in https://github.com/pybricks/technical-info/blob/master/assigned-numbers.md: 00001523-1212-efde-1523-785feabcd123

from pylgbst.

erjosito avatar erjosito commented on July 28, 2024

Mmh, now it times out with

5432    DEBUG   pygatt.backends.gatttool.gatttool       Sending cmd=char-write-req 0x0f 0100
35483   ERROR   pygatt.backends.gatttool.gatttool       No response received

(bleak not working for me on a raspi 3)

from pylgbst.

undera avatar undera commented on July 28, 2024

This is nice that you have some progress. I would do experiment using a regular computer, to remove potential problematic chain for experiment.

from pylgbst.

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.