Mobile SDK UDP通道未收到显示PSDK发送的高速数据流,串口通道收到数据正常

Completed

Comments

4 comments

  • caluova

     

    下图为PSDK端网络监控信息,负载IP为192.168.120.2,无人机IP为192.168.110.1
    0
    Comment actions Permalink
  • caluova

    补充:用TCPDUMP工具,发现无人机端的端口不可达,但无人机IP能通

    16:21:00.437561 IP 192.168.120.2.39633 > 192.168.110.1.23002: UDP, length 255
    16:21:00.440206 IP 192.168.110.1 > 192.168.120.2: ICMP 192.168.110.1 udp port 23002 unreachable, length 291
    16:21:01.187306 IP 192.168.110.1 > 192.168.120.2: ICMP echo request, id 34327, seq 0, length 64
    16:21:01.189398 IP 192.168.120.2 > 192.168.110.1: ICMP echo reply, id 34327, seq 0, length 64

    0
    Comment actions Permalink
  • caluova

    看起来,像是无人机UDP未打开,下图是抓包分析工具,110.1为无人机,120.2为负载PSDK

    0
    Comment actions Permalink
  • DJI Developer Support
    您可以在test_payload_cam_emu.c文件中将StreamType设成Custom格式,这边测试可以正常显示。 ![](https://djisdksupport.zendesk.com/attachments/token/NSy3Dn1vBhsj8tE91SCKqEfPS/?name=inline935104749.png)
    0
    Comment actions Permalink

Please sign in to leave a comment.