User Tools

Site Tools


howto:known-duml-commands

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
Last revision Both sides next revision
howto:known-duml-commands [2017/09/02 22:47]
kilrah Sep 2nd aircraft lock
howto:known-duml-commands [2017/09/02 22:58]
kilrah [Set date/time (verified on Mavic 01.03.0700 FW)]
Line 1: Line 1:
 =====  Known DUML commands, to be sent over the virtual USB COM port (or TCP for devices without one): ===== =====  Known DUML commands, to be sent over the virtual USB COM port (or TCP for devices without one): =====
 +
 +
  
 ====  Enter Flight Log mode (Verified on Mavic with .700 FW) ====  ====  Enter Flight Log mode (Verified on Mavic with .700 FW) ==== 
Line 12: Line 14:
  
 ====  "September 2nd" Spark forced grounding on firmware versions < V01.00.0600 ====  ====  "September 2nd" Spark forced grounding on firmware versions < V01.00.0600 ==== 
-This is not done using the expected `g_config_device_is_locked` FC parameter, but through "internal-only" settings.  +This is not done using the user-accessible `g_config_device_is_locked` FC parameter as it had been expected, but through some "internal-only" FC setting set with the following commands: 
-The app needs to go online to learn about the instruction to lock the aircraft. On iOS if the aircraft is locked it is possible to uninstall the app, reinstall it, make sure there is no internet connection, launch the app, and the aircraft will be unlocked. Could not do the same on android, but a modded/offline app will not cause a lock.+
  
 Lock: Lock:
Line 20: Line 21:
 <code>0x55 0x0e 0x04 0x66 0x02 0x03 0x87 0x00 0x40 0x03 0xfe 0x00 0x3d 0xf4</code> <code>0x55 0x0e 0x04 0x66 0x02 0x03 0x87 0x00 0x40 0x03 0xfe 0x00 0x3d 0xf4</code>
 Status is preserved after a reboot. Status is preserved after a reboot.
 +
 +The app needs to go online to learn about the instruction to lock the aircraft. On iOS if the aircraft is locked it is possible to uninstall the app, reinstall it, make sure there is no internet connection, launch the app, and the aircraft will be unlocked. Could not do the same on android, but a modded/offline app will not cause a lock.
 +
 +====  Set date/time (verified on Mavic 01.03.0700 FW) ==== 
 +Command Set:0x00 Command:0x4a   
 +
 +Payload is `Y Y M D h m s`. Every character represents a byte, the year is 2 bytes (little endian). If you try to set the year to 2025 or higher, it will complain with `+++worong time`  
 +
 +Reference: https://dji-rev.slack.com/archives/C5ZR0QXUG/p1503854889000068
howto/known-duml-commands.txt · Last modified: 2017/12/31 07:27 by kilrah