Giter Club home page Giter Club logo

Comments (9)

DavidNorman avatar DavidNorman commented on August 18, 2024

the one which doesn't work also has a couple of extra generic type characteristics, like the manufacturer name

from buttplug.

DavidNorman avatar DavidNorman commented on August 18, 2024

the same issue happens with my relatively new Lapis toy. It has the same extra services and the same extra characteristics, although the error is very slightly different.

Screenshot 2024-01-03 at 21 05 23

from buttplug.

DavidNorman avatar DavidNorman commented on August 18, 2024

Maybe the "questionable assumptions" are not valid, although i don't know enough about Bluetooth to know:

    fn check_discovered(&mut self) {
        // It's time for QUESTIONABLE ASSUMPTIONS.
        //
        // For sake of being lazy, we don't want to fire device connection until
        // we have all of our services and characteristics. We assume that
        // set_characteristics should be called once for every entry in the
        // service map. Once that's done, we're filled out enough and can send
        // back a Connected reply to the waiting future with all of the
        // characteristic info in it.
        if !self.services.values().any(|service| !service.discovered) {
            if self.connected_future_state.is_none() {
                panic!("We should still have a future at this point!");
            }

from buttplug.

DavidNorman avatar DavidNorman commented on August 18, 2024

This is the log from before the error. This is actually the log from a relatively new Lovense Lapis.

Screenshot 2024-01-03 at 21 35 50

from buttplug.

DavidNorman avatar DavidNorman commented on August 18, 2024

I note that the required service is the right one (starting 553000001) and the characteristics that it finds are also the right ones.

from buttplug.

DavidNorman avatar DavidNorman commented on August 18, 2024

Now i've seen a similar thing happen with the one that works. I am on a MacBook Air 7.2, running MacOS 10.15.7

It seems unlikely but could the machine be failing to service something in time?

nevertheless, the newer toys (including my Hush as well) all cause the problem during connection, while the older one does not.

from buttplug.

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.