Comments (8)
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.
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.
@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.
@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.
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.
Closing this since it is outside of the Bleak project scope.
from bleak.
@kevincar I'd love to help out with bless and get this functionality stable.
from bleak.
@cspensky Certainly! Feel free to fork it, submit pull requests, open issues, or begin discussions there.
from bleak.
Related Issues (20)
- Add option to supress thread is not MTA exception HOT 4
- macOS 10.14 returns empty list after discovery HOT 2
- Service UUID filter does not apply to dict of discovered devices. HOT 1
- How do I decode bytearray for power data HOT 1
- NSLocalizedDescription The request is not supported
- List adapters and specify which adapter to use? HOT 2
- WinError The operation was canceled by the user HOT 3
- Asyncio task hang during connection attempt HOT 1
- bleak data reading rate through notification with one uuid (57 samples per second ) and with 2 uuid subscribe (72 samples per second which is 36 sample of each uuid)
- unable to use start_notify HOT 6
- Bleak Version is not supporting in the win11 HOT 11
- Bleak issue of time to display data
- Connect bleak client to GATT Server running in MicroPython on ESP32
- On Raspberry pi bleakscanner scanning not working :BleakDBusError[org.bluez.Error.InProgress] Operation already in progress . HOT 6
- Changing Lego Remote Handset name ... HOT 1
- Unable to write to the device using bleak library through write_gatt
- cannot connect again unless reboot HOT 7
- Android permissions HOT 2
- Set Target Inclination doesn't work
- Immediate disconnect after successful connection With esp as server and raspi as client
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bleak.