Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / shared / uavobjectdefinition / oplinksettings.xml
blob1c5f7cbea9215aec0ecad740cc39728387c6ce9a
1 <xml>
2         <object name="OPLinkSettings" singleinstance="true" settings="true" category="System">
3                 <description>OPLink configurations options.</description>
4                 <field name="Protocol" units="" type="enum" elements="1" options="Disabled,OPLinkReceiver,OPLinkCoordinator,OpenLRS" defaultvalue="Disabled"/>
5                 <field name="LinkType" units="" type="enum" elements="1" options="Data,Control,DataAndControl" defaultvalue="Data"/>
6                 <field name="CoordID" units="hex" type="uint32" elements="1" defaultvalue="0"/>
7                 <field name="CustomDeviceID" units="hex" type="uint32" elements="1" defaultvalue="0"/>
9                 <!-- port options -->
10                 <field name="MainPort" units="" type="enum" elements="1" options="Disabled,Telemetry,Serial,PPM,PWM" defaultvalue="Disabled"/>
11                 <field name="FlexiPort" units="" type="enum" elements="1" options="Disabled,Telemetry,Serial,PPM,PWM" defaultvalue="Disabled"/>
12                 <field name="PPMOutRSSI" units="" type="enum" elements="1" options="False,True" defaultvalue="False" description="Add RSSI to the PPM output stream (Ch9)"/>
13                 <field name="RadioPriStream" units="connection" type="enum" elements="1" options="Disabled,HID,Main,Flexi,VCP" defaultvalue="HID"/>
14                 <field name="RadioAuxStream" units="connection" type="enum" elements="1" options="Disabled,HID,Main,Flexi,VCP" defaultvalue="Disabled"/>
15                 <field name="VCPBridge" units="connection" type="enum" elements="1" options="Disabled,Main,Flexi" defaultvalue="Disabled"/>
16                 <field name="MainComSpeed" units="bps" type="enum" elements="1" options="Disabled,4800,9600,19200,38400,57600,115200" defaultvalue="38400"/>
17                 <field name="FlexiComSpeed" units="bps" type="enum" elements="1" options="Disabled,4800,9600,19200,38400,57600,115200" defaultvalue="38400"/>
18                 <field name="AirDataRate" units="bps" type="enum" elements="1" options="9600,19200,32000,57600,64000,100000,128000,192000,256000" defaultvalue="64000"/>
20                 <!-- OpenLRS options -->
21                 <field name="Version" units="" type="uint8" elements="1" defaultvalue="0"/>
22                 <field name="SerialBaudrate" units="bps" type="uint32" elements="1" defaultvalue="0"/>
23                 <field name="RFFrequency" units="Hz" type="uint32" elements="1" defaultvalue="0"/>
24                 <field name="FailsafeDelay" units="ms" type="uint32" elements="1" defaultvalue="1000"/>
25                 <field name="RSSIType" units="function" type="enum" elements="1" options="Combined,RSSI,LinkQuality" defaultvalue="Combined"/> 
26                 <field name="RFPower" units="" type="uint8" elements="1" defaultvalue="0"/>
28                 <!-- RF options -->
29                 <field name="RFXtalCap" units="" type="uint8" elements="1" defaultvalue="127" limits="%BE:0:171" description="0 to 171 range, default 127"/>
30                 <field name="MinChannel" units="" type="uint8" elements="1" defaultvalue="0"/>
31                 <field name="MaxChannel" units="" type="uint8" elements="1" defaultvalue="250"/>
32                 <field name="RFBand" units="" type="enum" elements="1" options="433MHz,868MHz,915MHz" defaultvalue="433MHz"/>    
33                 <field name="MaxRFPower" units="mW" type="enum" elements="1" options="0,1.25,1.6,3.16,6.3,12.6,25,50,100" defaultvalue="0"/>
34                 <field name="RFChannelSpacing" units="Hz" type="uint8" elements="1" defaultvalue="0"/>
35                 <field name="HopChannel" units="" type="uint8" elements="24" defaultvalue="0"/>
36                 <field name="ModemParams" units="" type="uint8" elements="1" defaultvalue="0"/>
37                 <field name="Flags" units="" type="uint8" elements="1" defaultvalue="0"/>
39                 <!-- beacon options -->
40                 <field name="BeaconFrequency" units="Hz" type="uint32" elements="1" defaultvalue="462712500"/>
41                 <field name="BeaconDelay" units="s" type="uint8" elements="1" defaultvalue="30"/>
42                 <field name="BeaconPeriod" units="s" type="uint8" elements="1" defaultvalue="30"/>
44                 <access gcs="readwrite" flight="readwrite"/>
45                 <telemetrygcs acked="true" updatemode="onchange" period="0"/>
46                 <telemetryflight acked="true" updatemode="onchange" period="0"/>
47                 <logging updatemode="manual" period="0"/>
48         </object>
49 </xml>