This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
doc:crazyflie:crtp:console [2014-11-25 15:39] macke [Communication protocol] |
doc:crazyflie:crtp:console [2019-09-05 15:07] kimberly |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP center round important 60%> | ||
+ | This page is deprecated and is moved to the main Bitcraze website. Please go to: | ||
+ | [[ | ||
+ | https:// | ||
+ | ]] | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ====== Console ====== | ||
+ | This port is used as a one-way text console for printing text from the Crazyflie to a host using the consoleprintf function. | ||
+ | |||
+ | ====== Communication protocol ====== | ||
+ | < | ||
+ | Answer (Crazyflie to host): | ||
+ | +---------// | ||
+ | | PRINTED CONSOLE TEXT | | ||
+ | +---------// | ||
+ | Length | ||
+ | </ | ||
+ | |||
+ | The contents of the buffer on the copter side is sent if any of the following is fulfilled: | ||
+ | * The output buffer (of 31 bytes) is full | ||
+ | * A " | ||
+ | * A flush command as been issued |