Skip to content

Config-table parameter READ (0xF7/0xF8) returns nothing, get it answering #2

Description

@andreapianidev

Why this matters

This is the foundational tool that unblocks both the altitude unlock (#1) and the speed unlock (#3). Without reading parameters we cannot see the drone's current state, its firmware min/max/default bounds, or verify any write.

Symptom

  • Config-table write by hash (FLYC 0x03 / 0xF9) is answered (36 to 38 responses during an FCC apply).
  • Config-table read by hash, 0xF7 (Get Param Info) and 0xF8 (Read Value), gets 0 replies, even with the aircraft linked (serial detected, 17MB telemetry inbound).

Hypothesis (a fix is already committed but untested on hardware)

The flight controller keeps the config table locked outside the context the FCC writes run in: the AUTOTEST service-mode window plus the assistant unlock (0x03 / 0xDF). The read probe now opens that context first, reads, then exits (commit "Read FC config in the service-mode + unlock context"). Needs a hardware run to confirm.

Test steps

  1. Warm the link: open DJI Fly, wait for camera, close it.
  2. FCC Unlock: Connect, wait for the green aircraft line, Enable FCC.
  3. Experimental tab, Read Attitude Parameters.
  4. Pull the log and check whether flying_limit.max_height now reads back 500 (the self-check).

If it still returns nothing, next things to try

  • Different cmd_type (currently 0x40 ack-after-exec; try 0x00, 0x0A).
  • Different destination (currently 0x03; the write responder was also seen as 0x92/0xE9).
  • The whole-table read 0xFB (Read Params By Hash, multiple) or the config command table 0xE2 (Get Item Value).
  • Send the read inside the same burst as a successful write, not after service-mode exit.

Reference

FccController.probeSpeedParamsSync; command ids in dji-dumlv1-flyc.lua (0xF7/0xF8/0xFB).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    hardware-neededNeeds a real drone + controller to verifyhelp wantedExtra attention is neededreverse-engineeringProtocol reverse engineering on real hardware

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions