Commit 9713e6a0 authored by PX4BuildBot's avatar PX4BuildBot

autogenerated headers for rev...

autogenerated headers for rev https://github.com/mavlink/mavlink/tree/710aab6d21b2769766bbbf8fe06388550e0963aa
parent 7cdb26ad
This diff is collapsed.
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Dec 10 2020"
#define MAVLINK_BUILD_DATE "Fri Dec 11 2020"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
This diff is collapsed.
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Dec 10 2020"
#define MAVLINK_BUILD_DATE "Fri Dec 11 2020"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
This diff is collapsed.
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Dec 10 2020"
#define MAVLINK_BUILD_DATE "Fri Dec 11 2020"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
This diff is collapsed.
This diff is collapsed.
......@@ -11953,13 +11953,12 @@ static void mavlink_test_smart_battery_info(uint8_t system_id, uint8_t component
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_smart_battery_info_t packet_in = {
963497464,963497672,963497880,17859,17963,18067,18171,18275,199,10,77,"ZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUV"
963497464,963497672,17651,17755,17859,17963,18067,187,254,65,"VWXYZABCDEFGHIJ","LMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGH"
};
mavlink_smart_battery_info_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
packet1.capacity_full_specification = packet_in.capacity_full_specification;
packet1.capacity_full = packet_in.capacity_full;
packet1.serial_number = packet_in.serial_number;
packet1.cycle_count = packet_in.cycle_count;
packet1.weight = packet_in.weight;
packet1.discharge_minimum_voltage = packet_in.discharge_minimum_voltage;
......@@ -11969,6 +11968,7 @@ static void mavlink_test_smart_battery_info(uint8_t system_id, uint8_t component
packet1.battery_function = packet_in.battery_function;
packet1.type = packet_in.type;
mav_array_memcpy(packet1.serial_number, packet_in.serial_number, sizeof(char)*16);
mav_array_memcpy(packet1.device_name, packet_in.device_name, sizeof(char)*50);
#ifdef MAVLINK_STATUS_FLAG_OUT_MAVLINK1
......
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Dec 10 2020"
#define MAVLINK_BUILD_DATE "Fri Dec 11 2020"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Dec 10 2020"
#define MAVLINK_BUILD_DATE "Fri Dec 11 2020"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 46
......
This diff is collapsed.
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Dec 10 2020"
#define MAVLINK_BUILD_DATE "Fri Dec 11 2020"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
......@@ -6597,7 +6597,7 @@
<field type="int32_t" name="capacity_full_specification" units="mAh">Capacity when full according to manufacturer, -1: field not provided.</field>
<field type="int32_t" name="capacity_full" units="mAh">Capacity when full (accounting for battery degradation), -1: field not provided.</field>
<field type="uint16_t" name="cycle_count">Charge/discharge cycle count. -1: field not provided.</field>
<field type="int32_t" name="serial_number">Serial number. -1: field not provided.</field>
<field type="char[16]" name="serial_number">Serial number in ASCII characters, 0 terminated. All 0: field not provided.</field>
<field type="char[50]" name="device_name">Static device name. Encode as manufacturer and product names separated using an underscore.</field>
<field type="uint16_t" name="weight" units="g">Battery weight. 0: field not provided.</field>
<field type="uint16_t" name="discharge_minimum_voltage" units="mV">Minimum per-cell voltage when discharging. If not supplied set to UINT16_MAX value.</field>
......
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Dec 10 2020"
#define MAVLINK_BUILD_DATE "Fri Dec 11 2020"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 22
......
This diff is collapsed.
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Dec 10 2020"
#define MAVLINK_BUILD_DATE "Fri Dec 11 2020"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Dec 10 2020"
#define MAVLINK_BUILD_DATE "Fri Dec 11 2020"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 179
......
This diff is collapsed.
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Thu Dec 10 2020"
#define MAVLINK_BUILD_DATE "Fri Dec 11 2020"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
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