查看: 6045|回复: 3

关于UDP通信的设置问题

[复制链接]
发表于 2019-9-14 21:47:33 | 显示全部楼层 |阅读模式
3飞币
看了两天的资料文档 --native generic==  使用xml定义的协议,而用原生FDM的协议又是怎样一种,需要编写的格式怎么样呢,哪位大神有空的话可以简明扼要讲讲吗,谢谢啦。

最佳答案

查看完整内容

--generic=params With this option it is possible to output a pre-configured ASCII string or binary sequence using a predefined separator. The configuration is defined in an XML file located in the Protocol directory of the base package. params can be: serial port communication: serial,dir,hz,device,baud,protocol socket communication: socket,dir,hz,machine, ...
已绑定手机
已实名认证
发表于 2019-9-14 21:47:34 | 显示全部楼层
--generic=params

    With this option it is possible to output a pre-configured
    ASCII string or binary sequence  using a predefined separator.
    The configuration is defined in an XML file located in the
    Protocol directory of the base package.

    params can be:
    serial port communication:    serial,dir,hz,device,baud,protocol
    socket communication:         socket,dir,hz,machine,port,style,protocol
    i/o to a file:                file,dir,hz,filename,protocol

--native-fdm=params
回复

使用道具 举报

发表于 2020-2-27 11:16:20 | 显示全部楼层
你好,第一次加入这个论坛? 哪里可以找到你看的这个资料,谢谢啦
回复

使用道具 举报

已绑定手机
发表于 2020-4-8 14:17:52 | 显示全部楼层
--protocol=medium,direction,hz,options,etc...  
protocol 为可选协议,主要包括 native、fgfs、generic 三种;medium 为数据传输方式,包括 serial、file 和 XXXket,即串口、文件和套接字;
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 加入联盟

本版积分规则

快速回复 返回顶部 返回列表