This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
doc:crazyflie:crtp:mem [2015-09-17 12:01] arnaud [Logical flow] |
doc:crazyflie:crtp:mem [2018-08-01 04:23] vijay |
||
---|---|---|---|
Line 13: | Line 13: | ||
Getting information and reading/ | Getting information and reading/ | ||
- | <code> | + | <ditaa> |
/ | / | ||
--> | Get number of memories |----->| Fetch memory info |---->| More memories? |--------> | --> | Get number of memories |----->| Fetch memory info |---->| More memories? |--------> | ||
Line 21: | Line 21: | ||
\------------------------/ | \------------------------/ | ||
Yes | Yes | ||
- | </code> | + | </ditaa> |
====== Communication protocol ====== | ====== Communication protocol ====== | ||
The memory port uses 3 different channels: | The memory port uses 3 different channels: | ||
Line 83: | Line 83: | ||
Example of requesting the information for a 1-wire memory with MEM_ID=1, MEM_SIZE=112bytes, | Example of requesting the information for a 1-wire memory with MEM_ID=1, MEM_SIZE=112bytes, | ||
< | < | ||
- | Host-to-Crazyflie: | + | Host-to-Crazyflie: |
Crazyflie-to-Host: | Crazyflie-to-Host: | ||
</ | </ |