forked from ArduPilot/mavlink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
message_definitions/v1.0/cubepilot.xml: add cubeprobe message_definit…
…ions
- Loading branch information
1 parent
b9ee0fb
commit 193f4e1
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,21 @@ | |
<!-- email contact: [email protected] or [email protected] --> | ||
<!-- mavlink ID range: 50000 - 50099 --> | ||
<include>common.xml</include> | ||
<enums> | ||
<enum name="CUBEPROBE_OPERATION"> | ||
<description>CubeProbe Operation</description> | ||
<entry value="0" name="CUBEPROBE_OPERATION_READ"/> | ||
<entry value="1" name="CUBEPROBE_OPERATION_WRITE"/> | ||
<entry value="2" name="CUBEPROBE_OPERATION_RESET"/> | ||
<entry value="3" name="CUBEPROBE_OPERATION_MASS_ERASE"/> | ||
<entry value="4" name="CUBEPROBE_OPERATION_PROBE"/> | ||
</enum> | ||
<enum name="CUBEPROBE_RESPONSE"> | ||
<description>CubeProbe Response</description> | ||
<entry value="0" name="CUBEPROBE_RESPONSE_SUCCESS"/> | ||
<entry value="1" name="CUBEPROBE_RESPONSE_ERROR"/> | ||
</enum> | ||
</enums> | ||
<messages> | ||
<message id="50001" name="CUBEPILOT_RAW_RC"> | ||
<description>Raw RC Data</description> | ||
|
@@ -44,5 +59,30 @@ | |
<field type="uint8_t" name="target_component">Component ID.</field> | ||
<field type="uint32_t" name="offset" units="bytes">FW Offset.</field> | ||
</message> | ||
<message id="50006" name="CUBEPROBE_PROBE_INFO"> | ||
<description>CubeProbe Scan results</description> | ||
<field type="uint8_t" name="probe_port">Probe Port</field> | ||
<field type="uint16_t" name="designer_code">Designer Code</field> | ||
<field type="uint16_t" name="part_id">Part ID</field> | ||
</message> | ||
<message id="50007" name="CUBEPROBE_DO_OPERATION"> | ||
<description>CubeProbe Operation</description> | ||
<field type="uint8_t" name="target_system">System ID.</field> | ||
<field type="uint8_t" name="target_component">Component ID.</field> | ||
<field type="uint8_t" name="probe_port">Probe Port</field> | ||
<field type="uint8_t" name="operation" enum="CUBEPROBE_OPERATION">Operation</field> | ||
<field type="uint32_t" name="address">Address</field> | ||
<field type="uint32_t" name="size">Size</field> | ||
</message> | ||
<message id="50008" name="CUBEPROBE_RESPONSE"> | ||
<description>CubeProbe Response</description> | ||
<field type="uint8_t" name="target_system">System ID.</field> | ||
<field type="uint8_t" name="target_component">Component ID.</field> | ||
<field type="uint8_t" name="probe_port">Probe Port</field> | ||
<field type="uint8_t" name="operation" enum="CUBEPROBE_OPERATION">Operation</field> | ||
<field type="uint8_t" name="response" enum="CUBEPROBE_RESPONSE">Response</field> | ||
<field type="uint32_t" name="address">Address</field> | ||
<field type="uint32_t" name="size">Size</field> | ||
</message> | ||
</messages> | ||
</mavlink> |