-
Notifications
You must be signed in to change notification settings - Fork 27
Good practices
Rémi Bèges edited this page Mar 6, 2016
·
1 revision
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.
Back Wiki home
- Fast data visualization with the command line interface (todo)
- Fast prototyping remote program control with python (todo)
- Overview of the library
- Protocol description
- All the good stuff inside Telemetry
- List of supported platforms
- Good practices (Must-read !) in writing
- Frequently Asked Questions todo
- List of official examples
- List of projects using telemetry