Giter VIP home page Giter VIP logo

Comments (3)

petrusek avatar petrusek commented on June 2, 2024

Hello,
there are a few more things you could try.

The train filter itself is just a device name filter - based on the "intelino" prefix... so if that wouldn't work, it should still show up in the "Others" section.

I suggest poking a bit further with Bleak (as you already started), that should yield some results.

Btw. did Bleak scan find the train and you just wasn't able to connect?

If that is the case, we have a few more troubleshooting (raw) examples in our other repository (https://github.com/intelino-code/intelino-trainlib-async-py/tree/master/examples). The async library is a dependency of this non-async one.

  • You can check scan.py ... that is using BleakScanner.discover()
  • If that would show the train, you can advance to examples/bleak where we have some raw code using only Bleak and the same program using the trainlib... if you find that the raw works and the trainlib no, please let us know... but it could help you get started.

If none of these raw / pure Bleak examples would work (especially if scanning doesn't show anything), there might be some lower-level issue with Bleak on the new M1 :-( ... as we haven't seen any issues on macs before.

from intelino-trainlib-py.

guoruicodes avatar guoruicodes commented on June 2, 2024

I'm curious if this was resolved? Did it repro on any other m1? I have an m1 to hand but it would be a bit of a faff to check if it repros ....

@petrusek maybe this commit fixed it? hbldh/bleak#692 if I am scanning this correctly. looks like #692 went into the 0.14.x releases.

from intelino-trainlib-py.

petrusek avatar petrusek commented on June 2, 2024

Thanks for the info @guoruicodes
Unfortunately we don't advertise any services. Custom (non-standard) services have long uuids and the length of advertisement packets is very limited.
This hbldh/bleak#753 shines a ray of hope for our case, we just need to wait for macOS 12.3 to come out of beta.

from intelino-trainlib-py.

Related Issues (4)

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.