Commit a2de6745 authored by PX4BuildBot's avatar PX4BuildBot

autogenerated headers for rev...

autogenerated headers for rev https://github.com/mavlink/mavlink/tree/912920d88c7ed3092d497133c8bc5052aa4ce412
parent 1bd6b447
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -10880,15 +10880,15 @@ static void mavlink_test_cellular_status(uint8_t system_id, uint8_t component_id
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_cellular_status_t packet_in = {
963497464,17443,17547,17651,17755,41,108
17235,17339,17443,151,218,29,96
};
mavlink_cellular_status_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
packet1.cid = packet_in.cid;
packet1.status = packet_in.status;
packet1.mcc = packet_in.mcc;
packet1.mnc = packet_in.mnc;
packet1.lac = packet_in.lac;
packet1.status = packet_in.status;
packet1.failure_reason = packet_in.failure_reason;
packet1.type = packet_in.type;
packet1.quality = packet_in.quality;
......@@ -10905,12 +10905,12 @@ static void mavlink_test_cellular_status(uint8_t system_id, uint8_t component_id
MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
memset(&packet2, 0, sizeof(packet2));
mavlink_msg_cellular_status_pack(system_id, component_id, &msg , packet1.status , packet1.type , packet1.quality , packet1.mcc , packet1.mnc , packet1.lac , packet1.cid );
mavlink_msg_cellular_status_pack(system_id, component_id, &msg , packet1.status , packet1.failure_reason , packet1.type , packet1.quality , packet1.mcc , packet1.mnc , packet1.lac );
mavlink_msg_cellular_status_decode(&msg, &packet2);
MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
memset(&packet2, 0, sizeof(packet2));
mavlink_msg_cellular_status_pack_chan(system_id, component_id, MAVLINK_COMM_0, &msg , packet1.status , packet1.type , packet1.quality , packet1.mcc , packet1.mnc , packet1.lac , packet1.cid );
mavlink_msg_cellular_status_pack_chan(system_id, component_id, MAVLINK_COMM_0, &msg , packet1.status , packet1.failure_reason , packet1.type , packet1.quality , packet1.mcc , packet1.mnc , packet1.lac );
mavlink_msg_cellular_status_decode(&msg, &packet2);
MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
......@@ -10923,7 +10923,7 @@ static void mavlink_test_cellular_status(uint8_t system_id, uint8_t component_id
MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
memset(&packet2, 0, sizeof(packet2));
mavlink_msg_cellular_status_send(MAVLINK_COMM_1 , packet1.status , packet1.type , packet1.quality , packet1.mcc , packet1.mnc , packet1.lac , packet1.cid );
mavlink_msg_cellular_status_send(MAVLINK_COMM_1 , packet1.status , packet1.failure_reason , packet1.type , packet1.quality , packet1.mcc , packet1.mnc , packet1.lac );
mavlink_msg_cellular_status_decode(last_msg, &packet2);
MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
}
......
This diff is collapsed.
......@@ -3964,10 +3964,61 @@
<entry value="3" name="CELLULAR_NETWORK_RADIO_TYPE_WCDMA"/>
<entry value="4" name="CELLULAR_NETWORK_RADIO_TYPE_LTE"/>
</enum>
<enum name="CELLULAR_NETWORK_STATUS_FLAG" bitmask="true">
<enum name="CELLULAR_STATUS_FLAG">
<description>These flags encode the cellular network status</description>
<entry value="1" name="CELLULAR_NETWORK_STATUS_FLAG_ROAMING">
<description>Roaming is active</description>
<entry value="0" name="CELLULAR_STATUS_FLAG_UNKNOWN">
<description>State unknown or not reportable.</description>
</entry>
<entry value="1" name="CELLULAR_STATUS_FLAG_FAILED">
<description>Modem is unusable</description>
</entry>
<entry value="2" name="CELLULAR_STATUS_FLAG_INITIALIZING">
<description>Modem is being initialized</description>
</entry>
<entry value="3" name="CELLULAR_STATUS_FLAG_LOCKED">
<description>Modem is locked</description>
</entry>
<entry value="4" name="CELLULAR_STATUS_FLAG_DISABLED">
<description>Modem is not enabled and is powered down</description>
</entry>
<entry value="5" name="CELLULAR_STATUS_FLAG_DISABLING">
<description>Modem is currently transitioning to the CELLULAR_STATUS_FLAG_DISABLED state</description>
</entry>
<entry value="6" name="CELLULAR_STATUS_FLAG_ENABLING">
<description>Modem is currently transitioning to the CELLULAR_STATUS_FLAG_ENABLED state</description>
</entry>
<entry value="7" name="CELLULAR_STATUS_FLAG_ENABLED">
<description>Modem is enabled and powered on but not registered with a network provider and not available for data connections</description>
</entry>
<entry value="8" name="CELLULAR_STATUS_FLAG_SEARCHING">
<description>Modem is searching for a network provider to register</description>
</entry>
<entry value="9" name="CELLULAR_STATUS_FLAG_REGISTERED">
<description>Modem is registered with a network provider, and data connections and messaging may be available for use</description>
</entry>
<entry value="10" name="CELLULAR_STATUS_FLAG_DISCONNECTING">
<description>Modem is disconnecting and deactivating the last active packet data bearer. This state will not be entered if more than one packet data bearer is active and one of the active bearers is deactivated</description>
</entry>
<entry value="11" name="CELLULAR_STATUS_FLAG_CONNECTING">
<description>Modem is activating and connecting the first packet data bearer. Subsequent bearer activations when another bearer is already active do not cause this state to be entered</description>
</entry>
<entry value="12" name="CELLULAR_STATUS_FLAG_CONNECTED">
<description>One or more packet data bearers is active and connected</description>
</entry>
</enum>
<enum name="CELLULAR_NETWORK_FAILED_REASON">
<description>These flags are used to diagnose the failure state of CELLULAR_STATUS</description>
<entry value="0" name="CELLULAR_NETWORK_FAILED_REASON_NONE">
<description>No error</description>
</entry>
<entry value="1" name="CELLULAR_NETWORK_FAILED_REASON_UNKNOWN">
<description>Error state is unknown</description>
</entry>
<entry value="2" name="CELLULAR_NETWORK_FAILED_REASON_SIM_MISSING">
<description>SIM is required for the modem but missing</description>
</entry>
<entry value="3" name="CELLULAR_NETWORK_FAILED_REASON_SIM_ERROR">
<description>SIM is available, but not usuable for connection</description>
</entry>
</enum>
<enum name="PRECISION_LAND_MODE">
......@@ -6619,13 +6670,13 @@
<message id="334" name="CELLULAR_STATUS">
<wip/>
<description>Report current used cellular network status</description>
<field type="uint16_t" name="status" enum="CELLULAR_NETWORK_STATUS_FLAG" display="bitmask">Status bitmap</field>
<field type="uint8_t" name="status" enum="CELLULAR_STATUS_FLAG">Cellular modem status</field>
<field type="uint8_t" name="failure_reason" enum="CELLULAR_NETWORK_FAILED_REASON">Failure reason when status in in CELLUAR_STATUS_FAILED</field>
<field type="uint8_t" name="type" enum="CELLULAR_NETWORK_RADIO_TYPE">Cellular network radio type: gsm, cdma, lte...</field>
<field type="uint8_t" name="quality">Cellular network RSSI/RSRP in dBm, absolute value</field>
<field type="uint16_t" name="mcc">Mobile country code. If unknown, set to: UINT16_MAX</field>
<field type="uint16_t" name="mnc">Mobile network code. If unknown, set to: UINT16_MAX</field>
<field type="uint16_t" name="lac">Location area code. If unknown, set to: 0</field>
<field type="uint32_t" name="cid">Cell ID. If unknown, set to: UINT32_MAX</field>
<field type="uint8_t" name="quality">Signal quality in percent. If unknown, set to UINT8_MAX</field>
<field type="uint16_t" name="mcc">Mobile country code. If unknown, set to UINT16_MAX</field>
<field type="uint16_t" name="mnc">Mobile network code. If unknown, set to UINT16_MAX</field>
<field type="uint16_t" name="lac">Location area code. If unknown, set to 0</field>
</message>
<message id="335" name="ISBD_LINK_STATUS">
<description>Status of the Iridium SBD link.</description>
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment