User Tools

Site Tools


doc:crazyflie:crtp:mem

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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/writing the memories is optional for the clients, but the -Crazyflie Python Client- always downloads information about the memories on connect. Getting information and reading/writing the memories is optional for the clients, but the -Crazyflie Python Client- always downloads information about the memories on connect.
  
-<code>+<ditaa>
     /------------------------\      /-------------------\     /----------------\   No    /------\     /------------------------\      /-------------------\     /----------------\   No    /------\
 --> | Get number of memories |----->| Fetch memory info |---->| More memories? |-------->| Done | --> | Get number of memories |----->| Fetch memory info |---->| More memories? |-------->| Done |
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, MEM_ADDR=0x1234567890ABCDEF Example of requesting the information for a 1-wire memory with MEM_ID=1, MEM_SIZE=112bytes, MEM_ADDR=0x1234567890ABCDEF
 <code> <code>
-Host-to-Crazyflie: <port/chan> 0x02 0x01 0x01+Host-to-Crazyflie: <port/chan> 0x02 0x01
 Crazyflie-to-Host: <port/chan> 0x02 0x01 0x01 0x70 0x00 0x00 0x00 0xEF 0xCD 0xAB 0x90 0x78 0x56 0x34 0x12 Crazyflie-to-Host: <port/chan> 0x02 0x01 0x01 0x70 0x00 0x00 0x00 0xEF 0xCD 0xAB 0x90 0x78 0x56 0x34 0x12
 </code> </code>
doc/crazyflie/crtp/mem.txt · Last modified: 2020-05-12 14:22 by kimberly