Go to the source code of this file.
|
static void | mavlink_msg_auth_key_decode (const mavlink_message_t *msg, mavlink_auth_key_t *auth_key) |
| Decode a auth_key message into a struct. More...
|
|
static uint16_t | mavlink_msg_auth_key_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_auth_key_t *auth_key) |
| Encode a auth_key struct. More...
|
|
static uint16_t | mavlink_msg_auth_key_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_auth_key_t *auth_key) |
| Encode a auth_key struct on a channel. More...
|
|
static uint16_t | mavlink_msg_auth_key_get_key (const mavlink_message_t *msg, char *key) |
| Send a auth_key message. More...
|
|
static uint16_t | mavlink_msg_auth_key_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const char *key) |
| Pack a auth_key message. More...
|
|
static uint16_t | mavlink_msg_auth_key_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const char *key) |
| Pack a auth_key message on a channel. More...
|
|
#define MAVLINK_MESSAGE_INFO_AUTH_KEY |
#define MAVLINK_MSG_AUTH_KEY_FIELD_KEY_LEN 32 |
#define MAVLINK_MSG_ID_7_CRC 119 |
#define MAVLINK_MSG_ID_7_LEN 32 |
#define MAVLINK_MSG_ID_AUTH_KEY 7 |
#define MAVLINK_MSG_ID_AUTH_KEY_CRC 119 |
#define MAVLINK_MSG_ID_AUTH_KEY_LEN 32 |
static void mavlink_msg_auth_key_decode |
( |
const mavlink_message_t * |
msg, |
|
|
mavlink_auth_key_t * |
auth_key |
|
) |
| |
|
inlinestatic |
Decode a auth_key message into a struct.
- Parameters
-
msg | The message to decode |
auth_key | C-struct to decode the message contents into |
Definition at line 202 of file mavlink_msg_auth_key.h.
static uint16_t mavlink_msg_auth_key_encode |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_auth_key_t * |
auth_key |
|
) |
| |
|
inlinestatic |
Encode a auth_key struct.
- Parameters
-
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
msg | The MAVLink message to compress the data into |
auth_key | C-struct to read the message contents from |
Definition at line 99 of file mavlink_msg_auth_key.h.
static uint16_t mavlink_msg_auth_key_encode_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_auth_key_t * |
auth_key |
|
) |
| |
|
inlinestatic |
Encode a auth_key struct on a channel.
- Parameters
-
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
chan | The MAVLink channel this message will be sent over |
msg | The MAVLink message to compress the data into |
auth_key | C-struct to read the message contents from |
Definition at line 113 of file mavlink_msg_auth_key.h.
static uint16_t mavlink_msg_auth_key_get_key |
( |
const mavlink_message_t * |
msg, |
|
|
char * |
key |
|
) |
| |
|
inlinestatic |
Send a auth_key message.
- Parameters
-
chan | MAVLink channel to send the message |
key | key Get field key from auth_key message |
- Returns
- key
Definition at line 191 of file mavlink_msg_auth_key.h.
static uint16_t mavlink_msg_auth_key_pack |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
const char * |
key |
|
) |
| |
|
inlinestatic |
Pack a auth_key message.
- Parameters
-
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
msg | The MAVLink message to compress the data into |
key | key |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 35 of file mavlink_msg_auth_key.h.
static uint16_t mavlink_msg_auth_key_pack_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
const char * |
key |
|
) |
| |
|
inlinestatic |
Pack a auth_key message on a channel.
- Parameters
-
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
chan | The MAVLink channel this message will be sent over |
msg | The MAVLink message to compress the data into |
key | key |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 67 of file mavlink_msg_auth_key.h.