Skip to content
Rémi Bèges edited this page Mar 6, 2016 · 1 revision

Sending important amount of data

Advices about Embedded platform

2 things to pay attention to.

  • Average amount of data sent (in order to not go beyond baudrate)
  • Burst data amount vs TX buffer size

If sending arrays in a loop, always compute burst amount of data.

Ex : array of 128 items. Estimate size of a frame: amount of chars in topic + 1 (string \0) + size of data + 2 (for CRC) + 2 (for framing). Rule of thumbs : For short topics (3 characters + indexing), a frame is ~ 16 bytes.

Then multiply by amount of items to send. 128 * 16 = 2048. This is your burst amount of data. Make sure the TX buffer is at least this size otherwise frames are going to be lost.

Setup

Get started for embedded platforms

Get started for remote debug and remote control

  • Fast data visualization with the command line interface (todo)
  • Fast prototyping remote program control with python (todo)

General knowledge

Troubleshooting

  • Frequently Asked Questions todo

Examples and projects

Clone this wiki locally