Skip to content
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

Bluetooth Transmissionrate #10

Open
nico25112005 opened this issue Oct 31, 2024 · 5 comments
Open

Bluetooth Transmissionrate #10

nico25112005 opened this issue Oct 31, 2024 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@nico25112005
Copy link

I am currently using your plugin to communicate with an esp32 and I want to transmit data every 100ms. I tested how fast I can send and receive data. I sent 16 characters and It took about 2-3s. Do you know how fast you can transmit data with your plugin? Is there a limitation to how fast you can go? Maybe the problem is my poor code on the esp for receiving.
Hope you can help me out.

@bentalebahmed
Copy link
Owner

Hey,
Thank you for using my plug-in. I know that some people used it for real-time control of an RC car with Unity3d, so i guess it is fast. Did you check your code? Did you start with a simple transmission? And what kind of data are you sending? Could it be encoded ?
Also, make sure you are not connecting and disconnecting each time you send data. That for sure will take longer time

@nico25112005
Copy link
Author

I am sending 16 digit hexcode but, as far as I have seen, your plugin is convenienting it into an string and sending the string. Is there a way to just send the raw bits?

@nico25112005
Copy link
Author

Do you maybe know an open source repository that uses your plugin so I can take a look on how they implemented it?

@nico25112005
Copy link
Author

Hi, its me again. in one of your explaination videos you say that this plugin is for Bluetooth BLE. ist this right? because in your readme it sais for Bluetooth serial

@bentalebahmed
Copy link
Owner

bentalebahmed commented Nov 7, 2024

unfortunately, I do not have a repo for such project and the plugin is for BT classic (serial), so that's an error in the video I made years ago. If I have time this week or after I'll test the speed and let you know, in the meantime try to reduce the data you are sending and check your code, or past it here so I can check it

@bentalebahmed bentalebahmed added the help wanted Extra attention is needed label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants