phyphox Forums

Full Version: Merging multiple measurements sent as a single value
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to increase data throughput over Bluetooth, one of my ideas was to pack multiple measurements and send them together, utilizing the whole MTU.

From what I found, you can append buffers, but I would need to interleave them instead, alternating between all the outputs from Bluetooth input.
Is there a way to unpack this data and serialize it to a buffer?
You are likely looking for the “repeating” argument at https://phyphox.org/wiki/index.php/Bluet..._functions Smile
(08-21-2024, 08:07 PM)milos Wrote: [ -> ]I am trying to increase data throughput over Bluetooth, one of my ideas was to pack multiple measurements and send them together, utilizing the whole MTU.

From what I found, you can append buffers, but I would need to interleave them instead, alternating between all the outputs from Bluetooth input.
Is there a way to unpack this data and serialize it to a buffer?

That seems to be the solution, thanks for the quick reply  Big Grin
Thanks to Sebastian knowing it by heart and saving me from looking it up… Wink