Git Product home page Git Product logo

sony-headphones-ctl's People

Contributors

obito1903 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

lcfr-dev

sony-headphones-ctl's Issues

Protocol and support for other devices

Gadgetbridge supports a number of devices and implements two protocols, a V1 for older devices (e.g. the WH-1000XM3) and a V2 (e.g. WF-1000XM4). Some pointers:

Enhance service/device discovery

At the moment the rfcomm channel is hardcoded, which is not going to work with other devices. Instead of hardcoding the channel and address, a profile https://github.com/bluez/bluer/blob/1e5b4eced1811a3705d543dbd2cfe6cf885c39dc/bluer-tools/src/rfcat.rs#L105 with a suitable uuid https://codeberg.org/Freeyourgadget/Gadgetbridge/src/commit/310b95b551bb7fcd5e4a76c4fbcacfb78b6ab697/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/sony/headphones/SonyHeadphonesIoThread.java#L46-L47 can be registered. This works well when I just tested this, but it's a bit slow because often a connection from a previous run needs to be closed and opened again. Does this also happen with your SocketAddr-based implementation? I'm unsure whether there's a better way, or if the information can be cached or the connection outsourced to a daemon.

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.