Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

csAirLink.xml: added packages to support peer to peer connections #344

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions message_definitions/v1.0/csAirLink.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,23 @@
<description>Auth successful</description>
</entry>
</enum>
<enum name="AIRLINK_EYE_GS_HOLE_PUSH_RESP_TYPE">
<entry value="0" name="AIRLINK_HPR_PARTNER_NOT_READY"/>
<entry value="1" name="AIRLINK_HPR_PARTNER_READY"/>
</enum>
<enum name="AIRLINK_EYE_IP_VERSION">
<entry value="0" name="AIRLINK_IP_V4"/>
<entry value="1" name="AIRLINK_IP_V6"/>
</enum>
<enum name="AIRLINK_EYE_HOLE_PUSH_TYPE">
<entry value="0" name="AIRLINK_HP_NOT_PENETRATED"/>
<entry value="1" name="AIRLINK_HP_BROKEN"/>
</enum>
<enum name="AIRLINK_EYE_TURN_INIT_TYPE">
<entry value="0" name="AIRLINK_TURN_INIT_START"/>
<entry value="1" name="AIRLINK_TURN_INIT_OK"/>
<entry value="2" name="AIRLINK_TURN_INIT_BAD"/>
</enum>
</enums>
<messages>
<message id="52000" name="AIRLINK_AUTH">
Expand All @@ -25,5 +42,25 @@
<description>Response to the authorization request</description>
<field type="uint8_t" name="resp_type" enum="AIRLINK_AUTH_RESPONSE_TYPE">Response type</field>
</message>
<message id="52002" name="AIRLINK_EYE_GS_HOLE_PUSH_REQUEST">
<description>Request to hole punching</description>
<field type="uint8_t" name="resp_type" enum="AIRLINK_EYE_GS_HOLE_PUSH_RESP_TYPE">Hole push response type</field>
</message>
<message id="52003" name="AIRLINK_EYE_GS_HOLE_PUSH_RESPONSE">
<description>Response information about the connected device</description>
<field type="uint8_t" name="resp_type" enum="AIRLINK_EYE_GS_HOLE_PUSH_RESP_TYPE">Hole push response type</field>
<field type="uint8_t" name="ip_version" enum="AIRLINK_EYE_IP_VERSION">ip version</field>
<field type="uint8_t[4]" name="ip_address_4">ip 4 address</field>
<field type="uint8_t[16]" name="ip_address_6">ip 6 address</field>
<field type="uint32_t" name="ip_port">port</field>
</message>
<message id="52004" name="AIRLINK_EYE_HP">
<description>A package with information about the hole punching status. It is used for constant sending to avoid NAT closing timeout.</description>
<field type="uint8_t" name="resp_type" enum="AIRLINK_EYE_HOLE_PUSH_TYPE">Hole push response type</field>
</message>
<message id="52005" name="AIRLINK_EYE_TURN_INIT">
<description>Initializing the TURN protocol</description>
<field type="uint8_t" name="resp_type" enum="AIRLINK_EYE_TURN_INIT_TYPE">Turn init type</field>
</message>
</messages>
</mavlink>
Loading