User Tools

Site Tools


doc:crazyflie:crtp:console

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
doc:crazyflie:crtp:console [2014-11-25 15:39]
macke created
doc:crazyflie:crtp:console [2015-07-15 16:31]
127.0.0.1 external edit
Line 1: Line 1:
 +====== 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 ======
 +<code>
 +Answer (Crazyflie to host):
 +        +---------//-----------+
 +        | PRINTED CONSOLE TEXT |
 +        +---------//-----------+
 +Length          0-31
 +</code>
 +
 +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 "newline" character has to be send (\n and/or \r)
 +  * A flush command as been issued
doc/crazyflie/crtp/console.txt · Last modified: 2020-05-12 14:17 by kimberly