phyphox Forums

Full Version: phyphox arduino channel limit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I'm messing around with the Arduino BLE implementation.
Now I'm going further and recognizing, that the limit of channels that can be used in the write function is 5, as also mentioned in the readme file.
Is there a reason for the limit and is there a way to go around it?
Reason: I'm working on light gates that communicate via BLE and there are a lot of "delta t's" to analyze.
Greeting
Heinrich
The (historic) size of the data part in a BLE package is 20 bytes, with 4-byte floats that's 5. Perhaps Dominik could help you out…
Hey,

as Jens already mentioned, the package size is 20 bytes (BLE 4.0). Are you using an esp32? If yes you can check out this thread:

https://phyphox.org/forums/showthread.ph...35#pid2935


There is an small example which uses the data length extension feature for BLE 4.2. Unfortunately, this is not supported by the firmware of the Arduino Nano Family Boards. I also created the experiment in another task due to the bad memory usage in our library right now. I hope we can address this topic soon to get rid of this construction=).

Cheers 
Dominik
Thanks for the answers.
The variant worked for me.

Greetings
Heinrich