FIX: fixed the following issues

1.fixed the problem of setting the gimbal mode abnormally when the gimbal is not rotated.
2.fixed the waypoint v2 mission state enum description error.
3.fixed the problem that large-capacity video download fails on M30/M30T.
4.added the api doc for uart available baudrate list.
5.added the enum defines for single smart battery info.

Signed-off-by: DJI-Martin <DJI-Martin@dji.com>
This commit is contained in:
DJI-Martin
2023-03-06 22:48:59 +08:00
parent 84714c112a
commit 23c461830a
18 changed files with 109 additions and 58 deletions

View File

@ -83,7 +83,18 @@ typedef void *T_DjiDirHandle;
typedef void *T_DjiSocketHandle;
typedef enum {
/**
* All aircraft type supportusers can connect via chip serial port or USB to TTL serial port.
* Baud rate support list on M300 RTK Payload Port: 115200, 230400, 460800, 921600.
* Baud rate support list on M300 RTK Extension Port: 115200, 230400, 460800, 921600, 1000000.
* Baud rate support list on M30/M30T: 115200, 230400, 460800, 921600, 1000000.
* Baud rate support list on M3E/M3T: 921600.
* */
DJI_HAL_UART_NUM_0,
/**
* Only support on M300 RTK Extension Port by USB virtual serial port, such as /dev/ttyACM0.
* Baud rate support list on M300 RTK Extension Port: 921600.
* */
DJI_HAL_UART_NUM_1,
} E_DjiHalUartNum;