Giter Club home page Giter Club logo

Comments (8)

kevincar avatar kevincar commented on August 23, 2024 4

As a reference, and for those looking for a potential cross-platform python BLE peripheral solution, I decided to create a companion project from that rough draft previously mentioned as a companion to this project.

Thanks for the motivation @hbldh!

from bleak.

hbldh avatar hbldh commented on August 23, 2024

It would be nice but there are no immediate plans; I have had ideas about a Flask-like decorator approach to adding services and characeristics. It does however require a renaming of this package since it then no loger is a Platform agnostic client but also a server...
My focus have been set on getting the macOS backend in place first; but now that it has been almost released, I have to find a new milestone for bleak...

from bleak.

filips123 avatar filips123 commented on August 23, 2024

@hbldh Any update? Bleak is an amazing cross-platform BLE client. However, BLE server (possibly also cross-platform) would be another amazing and needed addition.

from bleak.

kevincar avatar kevincar commented on August 23, 2024

@filips123 Until there are future plans to implement a BLE server into bleak, some colleagues and I implemented a rough draft of a server for bleak. We'v tested it on both Windows and OS X platforms and it works for our purposes (no Linux yet). Hopefully something similar can be officially added to bleak in the future; although as it has been noted, in this case, bleak is no longer a client only package.

from bleak.

hbldh avatar hbldh commented on August 23, 2024

The main reason for not implementing a server part in Bleak is that I as a developer has no personal usecase for it. I am reluctant to add that functionality to Bleak since I am struggling to maintain this project as it is, and it would be detrimental to its health to add another part for which I have no personal interest.
It would be much better if someone else would take the lessons learned in this project and make a standalone server-package, much like @kevincar has done. Everyone would benefit from that instead of adding it here, I think.

from bleak.

hbldh avatar hbldh commented on August 23, 2024

Closing this since it is outside of the Bleak project scope.

from bleak.

cspensky avatar cspensky commented on August 23, 2024

@kevincar I'd love to help out with bless and get this functionality stable.

from bleak.

kevincar avatar kevincar commented on August 23, 2024

@cspensky Certainly! Feel free to fork it, submit pull requests, open issues, or begin discussions there.

from bleak.

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.