Skip to content

DJI_PROTOCOL_PARSER: Failed to parse data for CmdSet 0x1D and CmdID 0x05 on both Osmo Action 4 and 5 #5

@marine-ecologist

Description

@marine-ecologist

I've been testing the Osmo Action GPS Bluetooth Remote Controller code with an Adafruit ESP32-C6 paired with a LC76G GNSS (+ a neopixel on GPIO 8). The ESP-IDF builds as expected and uploads to the board, but i'm getting seperate protocol connection problems with the Camera status subscription CmdSet 0x1D and CmdID 0x05 with both the Osmo Action 4 and 5 cameras.

Osmo 5:

Completes "Updating Bluetooth remote controller takes approximately 2 min", and shows as connected on the Osmo 5 screen, but fails to progress beyond BLE connection to protocol:

Sequence below:

  • RGB LED initialized
  • uart_rx_task_GPS running
  • BLE init successfully
  • Data layer initialized successfully
  • BLE connected successfully
  • DJI_PROTOCOL_DATA_PROCESSOR

....

  • DJI_PROTOCOL_PARSER: Failed to parse data for CmdSet 0x1D and CmdID 0x05

Logs below:

I (1411) LOGIC_LIGHT: LED state timer started successfully
I (1411) LOGIC_LIGHT: LED blink timer started successfully
I (1411) LOGIC_GPS: uart_rx_task_GPS are running

I (3411) BLE_INIT: Using main XTAL as clock source, chip ver: 1
I (3411) BLE_INIT: ble controller commit:[1304a9d]
I (3411) BLE_INIT: Bluetooth MAC: 9c:9e:6e:79:62:9a
I (3411) phy_init: phy_version 331,5b89037,Mar  3 2025,16:01:12
I (3501) phy: libbtbb version: ec2ecba, Mar  3 2025, 16:01:27
I (3521) BLE: GATTC register OK, app_id=0, gattc_if=3
I (3521) BLE: ble_init success!
I (3521) LOGIC_CONNECT: BLE init successfully
I (4521) LOGIC_KEY: Data layer not initialized, initializing now...
I (4521) DATA: Data layer initialized successfully
I (4521) LOGIC_KEY: Current state is 0, disconnecting Bluetooth...
I (4521) LOGIC_CONNECT: Disconnecting camera
I (4521) LOGIC_CONNECT: Camera disconnected successfully
I (4531) LOGIC_KEY: Attempting to connect Bluetooth...
I (4541) BLE: ESP_GAP_BLE_SCAN_PARAM_SET_COMPLETE_EVT
I (4541) BLE: Starting to scan...
I (4541) LOGIC_CONNECT: Waiting up to 5s for BLE to connect...
I (7541) BLE: scan stopped
I (7541) BLE: Connecting to device: 58:b8:58:93:61:47
I (7541) BLE: Try to connect target device name = Osmo5Seagrass1

I (7541) BLE: Scan stopped after timeout
I (7761) BLE: Connected, conn_id=0
I (7761) BLE: Open success, MTU=23
I (7851) LOGIC_CONNECT: BLE connected successfully
I (7851) LOGIC_CONNECT: Waiting up to 30s for characteristic handles discovery...
I (8521) BLE: MTU=500
I (8521) BLE: Service found: start=40, end=65535
I (8521) BLE: Service search complete, next get char by UUID
I (8521) BLE: Notify Char found, handle=0x2d
I (8521) BLE: Write Char found, handle=0x30
I (8551) LOGIC_CONNECT: Required characteristic handles found
I (8551) BLE: Notify register success, handle=0x2d
I (10551) LOGIC_CONNECT: BLE connect successfully
I (10551) LOGIC_KEY: Successfully connected Bluetooth.
I (10551) LOGIC_CONNECT: connect_logic_protocol_connect: Starting protocol connection
I (10551) LOGIC_CONNECT: Sending connection request to camera...
I (10561) DJI_PROTOCOL_DATA_DESCRIPTORS: Data length calculated for connection_request_command_frame: 33
Frame Length: 51
I (10571) LOGIC_COMMAND: Protocol frame created successfully, length: 51
ByteArray: [AA, 33, 00, 02, 00, 00, 00, 00, 00, 01, 58, 7F, 00, 19, 03, 57, 34, 12, 06, 38, 34, 56, 78, 9A, BC, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 14, 1D, 00, 00, 00, 00, 7C, BE, 94, F2]
I (10591) LOGIC_COMMAND: Data frame sent, waiting for result...
I (10621) DATA: Notification received, attempting to parse...
I (10621) DATA: aa 1b 00 20 00 00 00 00 00 01 a4 7c 00 19 44 ff
I (10621) DATA: 00 00 00 00 00 00 00 42 d8 ed 0f
I (10621) DJI_PROTOCOL_PARSER: Frame parsed successfully
I (10631) DJI_PROTOCOL_PARSER: CmdSet: 0x00, CmdID: 0x19
I (10631) DJI_PROTOCOL_DATA_PROCESSOR: Parsing CmdSet: 0x00, CmdID: 0x19, CmdType: 0x20
I (10641) DJI_PROTOCOL_DATA_DESCRIPTORS: Parsing Connection Request data, received data length: 9
I (10651) DJI_PROTOCOL_DATA_DESCRIPTORS: Parsing response frame...
I (10651) DJI_PROTOCOL_PARSER: Data parsed successfully for CmdSet 0x00 and CmdID 0x19
I (10661) DATA: Data segment parsed successfully
I (10671) DATA: Parsed seq = 0x0001, cmd_set=0x0000, cmd_id=0x0019
I (10671) DATA: Notification received, attempting to parse...
I (10681) DATA: aa 33 00 02 00 00 00 00 01 00 98 2f 00 19 44 ff
I (10681) DATA: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
I (10691) DATA: 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 e1
I (10701) DATA: ea 9c 15
I (10701) DJI_PROTOCOL_PARSER: Frame parsed successfully
I (10701) DJI_PROTOCOL_PARSER: CmdSet: 0x00, CmdID: 0x19
I (10711) DJI_PROTOCOL_DATA_PROCESSOR: Parsing CmdSet: 0x00, CmdID: 0x19, CmdType: 0x02
I (10721) DJI_PROTOCOL_DATA_DESCRIPTORS: Parsing Connection Request data, received data length: 33
I (10721) DJI_PROTOCOL_DATA_DESCRIPTORS: Parsing command frame...
I (10731) DJI_PROTOCOL_PARSER: Data parsed successfully for CmdSet 0x00 and CmdID 0x19
I (10741) DATA: Data segment parsed successfully
I (10741) DATA: Parsed seq = 0x0100, cmd_set=0x0000, cmd_id=0x0019
W (10751) DATA: No waiting entry found for seq=0x0100, creating a new entry by cmd_set=0x0000 cmd_id=0x0019
I (10761) DATA: New entry allocated for seq=0x0100
I (10761) LOGIC_COMMAND: Command executed successfully
I (10771) LOGIC_CONNECT: Connection request accepted, waiting for camera to send connection command...
I (10781) LOGIC_CONNECT: Camera approved the connection, sending response...
I (10781) LOGIC_CONNECT: Constructed connection response, sending...
I (10791) DJI_PROTOCOL_DATA_DESCRIPTORS: Data length calculated for connection_request_response_frame: 9
Frame Length: 27
I (10801) LOGIC_COMMAND: Protocol frame created successfully, length: 27
ByteArray: [AA, 1B, 00, 20, 00, 00, 00, 00, 01, 00, 64, 2C, 00, 19, 03, 57, 34, 12, 00, 00, 00, 00, 00, 4A, BC, EC, DB]
I (10821) LOGIC_COMMAND: Data frame sent without response.
I (10821) LOGIC_COMMAND: Command executed successfully
I (10831) LOGIC_CONNECT: Connection successfully established with camera.
I (10831) LOGIC_KEY: Successfully connected to camera.
I (10841) LOGIC_COMMAND: command_logic_get_version: Querying device version
Creator function is NULL for CmdSet: 0x00, CmdID: 0x00
Frame Length: 18
I (10851) LOGIC_COMMAND: Protocol frame created successfully, length: 18
ByteArray: [AA, 12, 00, 02, 00, 00, 00, 00, 00, 02, 8C, 2F, 00, 00, 27, 85, 19, F1]
I (10871) LOGIC_COMMAND: Data frame sent, waiting for result...
I (10901) DATA: Notification received, attempting to parse...
I (10901) DATA: aa 72 00 20 00 00 00 00 00 02 26 2f 00 00 00 00
I (10901) DATA: 44 4a 49 2d 41 43 54 49 4f 4e 34 00 00 00 00 00
I (10901) DATA: 53 44 4b 2d 76 31 2e 31 20 44 45 42 55 47 20 41
I (10911) DATA: 43 32 30 33 2d 30 33 2e 30 34 2e 38 30 2e 31 35
I (10921) DATA: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
I (10921) DATA: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
I (10931) DATA: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7d 60
I (10931) DATA: 0a 8d
I (10931) DJI_PROTOCOL_PARSER: Frame parsed successfully
I (10941) DJI_PROTOCOL_PARSER: CmdSet: 0x00, CmdID: 0x00
I (10941) DJI_PROTOCOL_DATA_PROCESSOR: Parsing CmdSet: 0x00, CmdID: 0x00, CmdType: 0x20
I (10951) DJI_PROTOCOL_DATA_DESCRIPTORS: Parsing Version Query Response, received data length: 96
I (10961) DJI_PROTOCOL_DATA_DESCRIPTORS: Version Query Response parsed successfully. ack_result: 0, product_id: DJI-ACTION4, sdk_version: SDK-v1.1 DEBUG AC203-03.04.80.15
I (10981) DJI_PROTOCOL_PARSER: Data parsed successfully for CmdSet 0x00 and CmdID 0x00
I (10981) DATA: Data segment parsed successfully
I (10991) DATA: Parsed seq = 0x0002, cmd_set=0x0000, cmd_id=0x0000
I (10991) LOGIC_COMMAND: Command executed successfully
I (11001) LOGIC_COMMAND: Version Query Response: ack_result=0, product_id=DJI-ACTION4, sdk_version=SDK-v1.1 DEBUG AC203-03.04.80.15
I (11011) LOGIC_STATUS: Subscribing to Camera Status with push_mode: 3, push_freq: 1
I (11021) DJI_PROTOCOL_DATA_DESCRIPTORS: Data length calculated for camera_status_subscription_command_frame: 6
I (11031) DJI_PROTOCOL_DATA_DESCRIPTORS: Memory allocation succeeded for command frame, copying data...
Frame Length: 24
I (11041) LOGIC_COMMAND: Protocol frame created successfully, length: 24
ByteArray: [AA, 18, 00, 00, 00, 00, 00, 00, 00, 03, 10, 8F, 1D, 05, 03, 01, 00, 00, 00, 00, 25, E5, 5E, A3]
I (11061) LOGIC_COMMAND: Data frame sent without response.
I (11061) LOGIC_COMMAND: Command executed successfully
I (11061) LOGIC_KEY: Successfully subscribed to camera status.
I (11101) DATA: Notification received, attempting to parse...
I (11101) DATA: aa 17 00 20 00 00 00 00 00 03 70 bd 1d 05 00 00
I (11101) DATA: 00 00 00 66 46 32 67
I (11101) DJI_PROTOCOL_PARSER: Frame parsed successfully
I (11111) DJI_PROTOCOL_PARSER: CmdSet: 0x1D, CmdID: 0x05
I (11111) DJI_PROTOCOL_DATA_PROCESSOR: Parsing CmdSet: 0x1D, CmdID: 0x05, CmdType: 0x20
Parser function is NULL for CmdSet: 0x1D, CmdID: 0x05
E (11121) DJI_PROTOCOL_PARSER: Failed to parse data for CmdSet 0x1D and CmdID 0x05
E (11131) DATA: Failed to parse data segment, error: 0

then loops with:

I (169951) DATA: Entry for cmd_set=0x001D cmd_id=0x0002 already exists, it will be overwritten
I (169951) DATA: New entry allocated for seq=0x15C1
I (170441) DATA: Notification received, attempting to parse...
I (170441) DATA: aa 38 00 01 00 44 02 00 09 c3 6e 39 1d 02 05 01
I (170441) DATA: 04 09 00 b8 0b 00 01 00 00 00 00 00 00 a2 a0 02
I (170441) DATA: 00 4c cb 00 00 00 00 00 00 00 00 00 00 00 00 00
I (170451) DATA: 00 00 00 52 f1 44 65 23
I (170451) DJI_PROTOCOL_PARSER: Frame parsed successfully
I (170461) DJI_PROTOCOL_PARSER: CmdSet: 0x1D, CmdID: 0x02
I (170461) DJI_PROTOCOL_DATA_PROCESSOR: Parsing CmdSet: 0x1D, CmdID: 0x02, CmdType: 0x01
I (170471) DJI_PROTOCOL_DATA_DESCRIPTORS: Parsing Camera Status Push data, received data length: 38
I (170481) DJI_PROTOCOL_PARSER: Data parsed successfully for CmdSet 0x1D and CmdID 0x02
I (170491) DATA: Data segment parsed successfully
I (170491) DATA: Parsed seq = 0x09C3, cmd_set=0x001D, cmd_id=0x0002
W (170501) DATA: No waiting entry found for seq=0x09C3, creating a new entry by cmd_set=0x001D cmd_id=0x0002
I (170511) DATA: Entry for cmd_set=0x001D cmd_id=0x0002 already exists, it will be overwritten
I (170511) DATA: New entry allocated for seq=0x09C3
I (170981) DATA: Notification received, attempting to parse...
I (170981) DATA: aa 38 00 01 00 44 02 00 fd c4 69 3b 1d 02 05 01
I (170981) DATA: 04 09 00 b8 0b 00 01 00 00 00 00 00 00 a2 a0 02
I (170981) DATA: 00 4c cb 00 00 00 00 00 00 00 00 00 00 00 00 00
I (170991) DATA: 00 00 00 52 e5 02 0e 91
I (170991) DJI_PROTOCOL_PARSER: Frame parsed successfully
I (171001) DJI_PROTOCOL_PARSER: CmdSet: 0x1D, CmdID: 0x02
I (171001) DJI_PROTOCOL_DATA_PROCESSOR: Parsing CmdSet: 0x1D, CmdID: 0x02, CmdType: 0x01
I (171011) DJI_PROTOCOL_DATA_DESCRIPTORS: Parsing Camera Status Push data, received data length: 38
I (171021) DJI_PROTOCOL_PARSER: Data parsed successfully for CmdSet 0x1D and CmdID 0x02
I (171031) DATA: Data segment parsed successfully
I (171031) DATA: Parsed seq = 0xFDC4, cmd_set=0x001D, cmd_id=0x0002
W (171041) DATA: No waiting entry found for seq=0xFDC4, creating a new entry by cmd_set=0x001D cmd_id=0x0002

Osmo 4:

Protocol connection issue (the screen is stuck at "Updating Bluetooth remote controller takes approximately 2 min" which times out to "Update failed. Restart the camera unit and try again"). No connection display on screen

Sequence below::

  • RGB LED initialized
  • uart_rx_task_GPS running
  • BLE init successfully
  • Data layer initialized successfully
  • BLE connected successfully
  • DJI_PROTOCOL_DATA_PROCESSOR

....

  • DJI_PROTOCOL_DATA_PROCESSOR: Parsing CmdSet: 0x1D, CmdID: 0x05, CmdType: 0x20
    Parser function is NULL for CmdSet: 0x1D, CmdID: 0x05
  • E (11921) DJI_PROTOCOL_PARSER: Failed to parse data for CmdSet 0x1D and CmdID 0x05
  • E (11931) DATA: Failed to parse data segment, error: 0
I (23) boot: ESP-IDF v5.5-dev-3822-g27d68f57e6 2nd stage bootloader
I (23) boot: compile time May 23 2025 10:17:02
I (24) boot: chip revision: v0.1
I (24) boot: efuse block revision: v0.3
I (28) boot.esp32c6: SPI Speed      : 80MHz
I (32) boot.esp32c6: SPI Mode       : DIO
I (36) boot.esp32c6: SPI Flash Size : 2MB
I (39) boot: Enabling RNG early entropy source...
I (44) boot: Partition Table:
I (46) boot: ## Label            Usage          Type ST Offset   Length
I (53) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (59) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (66) boot:  2 factory          factory app      00 00 00010000 00100000
I (72) boot: End of partition table
I (76) esp_image: segment 0: paddr=00010020 vaddr=420b8020 size=25c2ch (154668) map
I (112) esp_image: segment 1: paddr=00035c54 vaddr=40800000 size=023c4h (  9156) load
I (115) esp_image: segment 2: paddr=00038020 vaddr=42000020 size=b7720h (751392) map
I (257) esp_image: segment 3: paddr=000ef748 vaddr=408023c4 size=142f4h ( 82676) load
I (275) esp_image: segment 4: paddr=00103a44 vaddr=408166c0 size=025a8h (  9640) load
I (283) boot: Loaded app from partition at offset 0x10000
I (283) boot: Disabling RNG early entropy source...
I (293) cpu_start: Unicore app
I (302) cpu_start: Pro cpu start user code
I (302) cpu_start: cpu freq: 160000000 Hz
I (302) app_init: Application information:
I (302) app_init: Project name:     dji_camera_bluetooth_control
I (307) app_init: App version:      da70c1a-dirty
I (312) app_init: Compile time:     May 23 2025 10:16:51
I (317) app_init: ELF file SHA256:  ee4d64926...
I (321) app_init: ESP-IDF:          v5.5-dev-3822-g27d68f57e6
I (327) efuse_init: Min chip rev:     v0.0
I (331) efuse_init: Max chip rev:     v0.99 
I (335) efuse_init: Chip rev:         v0.1
I (338) heap_init: Initializing. RAM available for dynamic allocation:
I (345) heap_init: At 4081D6A0 len 0005EF70 (379 KiB): RAM
I (350) heap_init: At 4087C610 len 00002F54 (11 KiB): RAM
I (355) heap_init: At 50000000 len 00003FE8 (15 KiB): RTCRAM
I (361) spi_flash: detected chip: generic
I (364) spi_flash: flash io: dio
W (367) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (379) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (386) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (392) coexist: coex firmware version: 7b9a184
I (396) coexist: coexist rom version 5b8dcfa
I (401) main_task: Started on CPU0
I (401) main_task: Calling app_main()
I (401) LOGIC_LIGHT: RGB LED initialized
I (1411) LOGIC_LIGHT: LED state timer started successfully
I (1411) LOGIC_LIGHT: LED blink timer started successfully
I (1411) LOGIC_GPS: uart_rx_task_GPS are running

I (3411) BLE_INIT: Using main XTAL as clock source, chip ver: 1
I (3411) BLE_INIT: ble controller commit:[1304a9d]
I (3411) BLE_INIT: Bluetooth MAC: 
I (3411) phy_init: phy_version 331,5b89037,Mar  3 2025,16:01:12
I (3501) phy: libbtbb version: ec2ecba, Mar  3 2025, 16:01:27
I (3521) BLE: GATTC register OK, app_id=0, gattc_if=3
I (3521) BLE: ble_init success!
I (3521) LOGIC_CONNECT: BLE init successfully
I (4521) LOGIC_KEY: Data layer not initialized, initializing now...
I (4521) DATA: Data layer initialized successfully
I (4521) LOGIC_KEY: Current state is 0, disconnecting Bluetooth...
I (4521) LOGIC_CONNECT: Disconnecting camera
I (4521) LOGIC_CONNECT: Camera disconnected successfully
I (4531) LOGIC_KEY: Attempting to connect Bluetooth...
I (4541) BLE: ESP_GAP_BLE_SCAN_PARAM_SET_COMPLETE_EVT
I (4541) BLE: Starting to scan...
I (4541) LOGIC_CONNECT: Waiting up to 5s for BLE to connect...
I (7541) BLE: scan stopped
I (7541) BLE: Connecting to device: e4:7a:2c:bc:ef:64
I (7541) BLE: Try to connect target device name = OsmoAction4-EF63
I (7541) BLE: Scan stopped after timeout
I (7621) BLE: Connected, conn_id=0
I (7621) BLE: Open success, MTU=23
I (7651) LOGIC_CONNECT: BLE connected successfully
I (7651) LOGIC_CONNECT: Waiting up to 30s for characteristic handles discovery...
I (9101) BLE: MTU=500
I (9101) BLE: Service found: start=8, end=19
I (9101) BLE: Service search complete, next get char by UUID
I (9101) BLE: Notify Char found, handle=0xd
I (9101) BLE: Write Char found, handle=0x10
I (9151) LOGIC_CONNECT: Required characteristic handles found
I (9151) BLE: Notify register success, handle=0xd
I (11151) LOGIC_CONNECT: BLE connect successfully
I (11151) LOGIC_KEY: Successfully connected Bluetooth.
I (11151) LOGIC_CONNECT: connect_logic_protocol_connect: Starting protocol connection
I (11151) LOGIC_CONNECT: Sending connection request to camera...
I (11161) DJI_PROTOCOL_DATA_DESCRIPTORS: Data length calculated for connection_request_command_frame: 33
Frame Length: 51
I (11171) LOGIC_COMMAND: Protocol frame created successfully, length: 51
ByteArray: [AA, 33, 00, 02, 00, 00, 00, 00, 00, 01, 58, 7F, 00, 19, 03, 57, 34, 12, 06, 38, 34, 56, 78, 9A, BC, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 9E, 17, 00, 00, 00, 00, 63, 91, 0F, 07]
I (11191) LOGIC_COMMAND: Data frame sent, waiting for result...
I (11201) DATA: Notification received, attempting to parse...
I (11201) DATA: aa 1b 00 20 00 00 00 00 00 01 a4 7c 00 19 33 ff
I (11211) DATA: 00 00 00 00 00 00 00 5e 76 2f 9b
I (11211) DJI_PROTOCOL_PARSER: Frame parsed successfully
I (11221) DJI_PROTOCOL_PARSER: CmdSet: 0x00, CmdID: 0x19
I (11221) DJI_PROTOCOL_DATA_PROCESSOR: Parsing CmdSet: 0x00, CmdID: 0x19, CmdType: 0x20
I (11231) DJI_PROTOCOL_DATA_DESCRIPTORS: Parsing Connection Request data, received data length: 9
I (11241) DJI_PROTOCOL_DATA_DESCRIPTORS: Parsing response frame...
I (11251) DJI_PROTOCOL_PARSER: Data parsed successfully for CmdSet 0x00 and CmdID 0x19
I (11251) DATA: Data segment parsed successfully
I (11261) DATA: Parsed seq = 0x0001, cmd_set=0x0000, cmd_id=0x0019
I (11261) LOGIC_COMMAND: Command executed successfully
I (11271) LOGIC_CONNECT: Connection request accepted, waiting for camera to send connection command...
I (11301) DATA: Notification received, attempting to parse...
I (11301) DATA: aa 33 00 02 00 00 00 00 73 00 bc 8f 00 19 33 ff
I (11301) DATA: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
I (11301) DATA: 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 0d
I (11311) DATA: 64 a7 26
I (11311) DJI_PROTOCOL_PARSER: Frame parsed successfully
I (11311) DJI_PROTOCOL_PARSER: CmdSet: 0x00, CmdID: 0x19
I (11321) DJI_PROTOCOL_DATA_PROCESSOR: Parsing CmdSet: 0x00, CmdID: 0x19, CmdType: 0x02
I (11331) DJI_PROTOCOL_DATA_DESCRIPTORS: Parsing Connection Request data, received data length: 33
I (11341) DJI_PROTOCOL_DATA_DESCRIPTORS: Parsing command frame...
I (11341) DJI_PROTOCOL_PARSER: Data parsed successfully for CmdSet 0x00 and CmdID 0x19
I (11351) DATA: Data segment parsed successfully
I (11351) DATA: Parsed seq = 0x7300, cmd_set=0x0000, cmd_id=0x0019
W (11361) DATA: No waiting entry found for seq=0x7300, creating a new entry by cmd_set=0x0000 cmd_id=0x0019
I (11371) DATA: New entry allocated for seq=0x7300
I (11371) LOGIC_CONNECT: Camera approved the connection, sending response...
I (11381) LOGIC_CONNECT: Constructed connection response, sending...
I (11391) DJI_PROTOCOL_DATA_DESCRIPTORS: Data length calculated for connection_request_response_frame: 9
Frame Length: 27
I (11401) LOGIC_COMMAND: Protocol frame created successfully, length: 27
ByteArray: [AA, 1B, 00, 20, 00, 00, 00, 00, 73, 00, 40, 8C, 00, 19, 03, 57, 34, 12, 00, 00, 00, 00, 00, 0C, 42, 07, 7E]
I (11421) LOGIC_COMMAND: Data frame sent without response.
I (11421) LOGIC_COMMAND: Command executed successfully
I (11421) LOGIC_CONNECT: Connection successfully established with camera.
I (11431) LOGIC_KEY: Successfully connected to camera.
I (11441) LOGIC_COMMAND: command_logic_get_version: Querying device version
Creator function is NULL for CmdSet: 0x00, CmdID: 0x00
Frame Length: 18
I (11451) LOGIC_COMMAND: Protocol frame created successfully, length: 18
ByteArray: [AA, 12, 00, 02, 00, 00, 00, 00, 00, 02, 8C, 2F, 00, 00, 27, 85, 19, F1]
I (11461) LOGIC_COMMAND: Data frame sent, waiting for result...
I (11551) DATA: Notification received, attempting to parse...
I (11551) DATA: aa 72 00 20 00 00 00 00 00 02 26 2f 00 00 00 00
I (11551) DATA: 44 4a 49 2d 41 43 54 49 4f 4e 34 00 00 00 00 00
I (11561) DATA: 53 44 4b 2d 76 31 2e 31 20 44 45 42 55 47 20 41
I (11561) DATA: 43 32 30 33 2d 30 33 2e 30 34 2e 38 30 2e 31 35
I (11571) DATA: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
I (11571) DATA: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
I (11581) DATA: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7d 60
I (11581) DATA: 0a 8d
I (11591) DJI_PROTOCOL_PARSER: Frame parsed successfully
I (11591) DJI_PROTOCOL_PARSER: CmdSet: 0x00, CmdID: 0x00
I (11601) DJI_PROTOCOL_DATA_PROCESSOR: Parsing CmdSet: 0x00, CmdID: 0x00, CmdType: 0x20
I (11601) DJI_PROTOCOL_DATA_DESCRIPTORS: Parsing Version Query Response, received data length: 96
I (11611) DJI_PROTOCOL_DATA_DESCRIPTORS: Version Query Response parsed successfully. ack_result: 0, product_id: DJI-ACTION4, sdk_version: SDK-v1.1 DEBUG AC203-03.04.80.15
I (11631) DJI_PROTOCOL_PARSER: Data parsed successfully for CmdSet 0x00 and CmdID 0x00
I (11631) DATA: Data segment parsed successfully
I (11641) DATA: Parsed seq = 0x0002, cmd_set=0x0000, cmd_id=0x0000
I (11641) LOGIC_COMMAND: Command executed successfully
I (11651) LOGIC_COMMAND: Version Query Response: ack_result=0, product_id=DJI-ACTION4, sdk_version=SDK-v1.1 DEBUG AC203-03.04.80.15
I (11661) LOGIC_STATUS: Subscribing to Camera Status with push_mode: 3, push_freq: 1
I (11671) DJI_PROTOCOL_DATA_DESCRIPTORS: Data length calculated for camera_status_subscription_command_frame: 6
I (11681) DJI_PROTOCOL_DATA_DESCRIPTORS: Memory allocation succeeded for command frame, copying data...
Frame Length: 24
I (11691) LOGIC_COMMAND: Protocol frame created successfully, length: 24
ByteArray: [AA, 18, 00, 00, 00, 00, 00, 00, 00, 03, 10, 8F, 1D, 05, 03, 01, 00, 00, 00, 00, 25, E5, 5E, A3]
I (11711) LOGIC_COMMAND: Data frame sent without response.
I (11711) LOGIC_COMMAND: Command executed successfully
I (11721) LOGIC_KEY: Successfully subscribed to camera status.
I (11901) DATA: Notification received, attempting to parse...
I (11901) DATA: aa 17 00 20 00 00 00 00 00 03 70 bd 1d 05 00 00
I (11901) DATA: 00 00 00 66 46 32 67
I (11901) DJI_PROTOCOL_PARSER: Frame parsed successfully
I (11901) DJI_PROTOCOL_PARSER: CmdSet: 0x1D, CmdID: 0x05
I (11911) DJI_PROTOCOL_DATA_PROCESSOR: Parsing CmdSet: 0x1D, CmdID: 0x05, CmdType: 0x20
Parser function is NULL for CmdSet: 0x1D, CmdID: 0x05
E (11921) DJI_PROTOCOL_PARSER: Failed to parse data for CmdSet 0x1D and CmdID 0x05
E (11931) DATA: Failed to parse data segment, error: 0
I (11931) DATA: Parsed seq = 0x0003, cmd_set=0x001D, cmd_id=0x0005
W (11941) DATA: No waiting entry found for seq=0x0003, creating a new entry by cmd_set=0x001D cmd_id=0x0005
I (11951) DATA: New entry allocated for seq=0x0003
I (12251) DATA: Notification received, attempting to parse...
I (12251) DATA: aa 1a 00 02 00 41 40 31 88 00 74 2e 00 12 33 ff
I (12251) DATA: 00 00 00 00 00 00 4a d8 1b 94
I (12251) DJI_PROTOCOL_PARSER: Frame parsed successfully
W (12261) DJI_PROTOCOL_PARSER: No descriptor found for CmdSet 0x00 and CmdID 0x12, trying structure descriptor
E (12271) DATA: Failed to parse data segment, error: 0
I (12271) DATA: Parsed seq = 0x8800, cmd_set=0x0000, cmd_id=0x0012
W (12281) DATA: No waiting entry found for seq=0x8800, creating a new entry by cmd_set=0x0000 cmd_id=0x0012
I (12291) DATA: New entry allocated for seq=0x8800
I (12451) DATA: Notification received, attempting to parse...
I (12451) DATA: aa 31 00 01 00 00 00 00 59 15 48 40 1d 02 01 01
I (12451) DATA: 10 03 01 00 00 00 00 00 00 00 00 00 00 a2 a0 02
I (12451) DATA: 00 00 00 00 00 6c 38 00 00 00 00 00 00 79 fd c7
I (12461) DATA: 3c
I (12461) DJI_PROTOCOL_PARSER: Frame parsed successfully
I (12461) DJI_PROTOCOL_PARSER: CmdSet: 0x1D, CmdID: 0x02
I (12471) DJI_PROTOCOL_DATA_PROCESSOR: Parsing CmdSet: 0x1D, CmdID: 0x02, CmdType: 0x01
I (12481) DJI_PROTOCOL_DATA_DESCRIPTORS: Parsing Camera Status Push data, received data length: 31
E (12491) DJI_PROTOCOL_DATA_DESCRIPTORS: camera_status_push_data_parser: Data length too short for command frame. Expected: 38, Got: 31
E (12501) DJI_PROTOCOL_PARSER: Failed to parse data for CmdSet 0x1D and CmdID 0x02
E (12501) DATA: Failed to parse data segment, error: 0

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions