The current MAVLink version is 2.3. The minor version numbers (after the dot) range from 1-255.
| Value | Field Name | Description |
|---|---|---|
| 0 | AIRLINK_ERROR_LOGIN_OR_PASS | Login or password error |
| 1 | AIRLINK_AUTH_OK | Auth successful |
MAVLink commands (MAV_CMD) and messages are different! These commands define the values of up to 7 parameters that are packaged INSIDE specific messages used in the Mission Protocol and Command Protocol. Use commands for actions in missions or if you need acknowledgment and/or retry logic from a request. Otherwise use messages.
[Message] (MAVLink 2) Authorization package
| Field Name | Type | Description |
|---|---|---|
| login | char[50] | Login |
| password | char[50] | Password |
[Message] (MAVLink 2) Response to the authorization request
| Field Name | Type | Values | Description |
|---|---|---|---|
| resp_type | uint8_t | AIRLINK_AUTH_RESPONSE_TYPE | Response type |