phyphox Forums
phyphox arduino channel limit - Printable Version

+- phyphox Forums (https://phyphox.org/forums)
+-- Forum: App-Feedback (https://phyphox.org/forums/forumdisplay.php?fid=6)
+--- Forum: Feature requests (https://phyphox.org/forums/forumdisplay.php?fid=8)
+--- Thread: phyphox arduino channel limit (/showthread.php?tid=1546)



phyphox arduino channel limit - heilaut - 04-03-2022

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


RE: phyphox arduino channel limit - Jens Noriʇzsɔɥ - 04-04-2022

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…


RE: phyphox arduino channel limit - Dominik Dorsel - 04-04-2022

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.php?tid=1518&pid=2935#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


RE: phyphox arduino channel limit - heilaut - 04-04-2022

Thanks for the answers.
The variant worked for me.

Greetings
Heinrich