Maybe the source can better recycled this way. I wanted to put the tx_buffer into struct telemetryData{}. This eliminates the second alloc memory.