kevincar / bless

Cross-platform Bluetooth Low Energy Server Python Library
MIT License
111 stars 30 forks source link

The server will shut down if transmit speed too fast in windows. #140

Open KevinC-intron opened 1 month ago

KevinC-intron commented 1 month ago

The problem I use examples/server.py to build a BLE server in window11. When I let a edge service to connect and transmit data, the server will shut down when the rate high. I also use a PC to be the client and write to the server, and the server shutdown again. I found that the server worked fine at around 300 KB/s. If higher, the server will shutdown. This problem will not happen in ubuntu. Reproduction Use bleak to build a BLE client. Use bless to build a BLE server

Expected behavior I want this server to be able to handle 1mb/s data.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context I can send you the client and server code if needed.