-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Help]: Fast Data transfer from BLE device. #685
Comments
increase mtu is the only solution. if there is data loss it is a bug in your code or device. |
The library is no problem for fast BLE data transfer. Thanks to the author's hard working. If problems happen, it is the device and your code. |
So what should be the ideal time to receive the data from BLE device for ex: 9654 bytes.? Apart from read/write does any method helps us to retrieve data fast like sstream. My code follows (req-res) method.
Also the ble device version is 4.2. Would that be a reason for slow transfer. ? Can you provide any resource related to this. BTW thanks for the package. |
In fact, it is a little complicated. There is a negotiation between PHONE (BLE SERVER) and the device for the interval, MTU, and some other communication parameters. If you could control your device's BLE code, and then you could adjust BLE data performance, otherwise nothing could be improved. These parameters are much more important than the BLE library. |
also, it will be faster if your ble device supports notifications & you use |
closing because there is nothing more for FBP to do |
As read & write method is async. It would ideally take 54sec to transfer 9654 Bytes , packet by packet from the BLE device. If MTU is set more than 23, there is data loss.
How to basically achieve the fast data transfer in less time.
BLE device version : 4.2
The text was updated successfully, but these errors were encountered: