Framing or timing control?

I want to encode binary data (not ASCII) from my microcontroller to my computer to make efficient use of available bandwidth.

Microcontroller -> UART -> Wifi XBee -> TCP Socket -> PC application

Presumably, there is no timing control? If I put a 5ms gap between frames of data, as frames are delayed across the wireless network these gaps can get much larger or much smaller?

Is there a way to either guarantee timing, or perhaps there is another way to identify the start of frames?

No, TCP does not have a timing control protocol within it.

1 Like