User Tools

Site Tools


doc:crazyflie:bootloader:protocol

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
doc:crazyflie:bootloader:protocol [2017-02-01 18:50]
whoenig [Commands summary]
doc:crazyflie:bootloader:protocol [2017-02-01 19:01]
whoenig Add additional bootloader commands added by PR 18
Line 248: Line 248:
 </WRAP> </WRAP>
 </WRAP> </WRAP>
 +
 +====  RESET_INIT ====
 +
 +Prepare to reset (no additional data fields). The result will be the original request.
 +
 +====  RESET ====
 +
 +Reset (no additional data fields). No result will be sent.
 +
 +====  ALLOFF ====
 +
 +Turn everything off as if the power button would have been pressed (i.e. STM32 and radio). The CF won't be able to wake-up unless the power button is pressed. No result will be sent.
 +
 +====  SYSOFF ====
 +
 +Turn the STM32 off, but keep the NRF51 with radio awake. The CF can be woken up by: sending reset, pressing the power button, or sendind SYSON. No result will be sent.
 +
 +====  SYSON ====
 +
 +Turn the STM32 on. No result will be sent.
 +
 +====  GETVBAT ====
 +
 +<WRAP group>
 +<WRAP half column>
 +</WRAP>
 +
 +<WRAP half column>
 +^ Byte ^ Answer fields ^ Content  ^
 +|  0-3   | vbat | floating point value containing the current battery voltage in volts |
 +</WRAP>
 +</WRAP>
 +
 +Check battery status (works even if the STM32 is turned off). 
  
  
doc/crazyflie/bootloader/protocol.txt · Last modified: 2021-06-24 16:36 by kimberly