Go to the source code of this file.
Classes | |
struct | __mavlink_param_set_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_PARAM_SET |
#define | MAVLINK_MSG_ID_23_CRC 168 |
#define | MAVLINK_MSG_ID_23_LEN 23 |
#define | MAVLINK_MSG_ID_PARAM_SET 23 |
#define | MAVLINK_MSG_ID_PARAM_SET_CRC 168 |
#define | MAVLINK_MSG_ID_PARAM_SET_LEN 23 |
#define | MAVLINK_MSG_PARAM_SET_FIELD_PARAM_ID_LEN 16 |
Typedefs | |
typedef struct __mavlink_param_set_t | mavlink_param_set_t |
Functions | |
static void | mavlink_msg_param_set_decode (const mavlink_message_t *msg, mavlink_param_set_t *param_set) |
Decode a param_set message into a struct. More... | |
static uint16_t | mavlink_msg_param_set_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_param_set_t *param_set) |
Encode a param_set struct. More... | |
static uint16_t | mavlink_msg_param_set_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_param_set_t *param_set) |
Encode a param_set struct on a channel. More... | |
static uint16_t | mavlink_msg_param_set_get_param_id (const mavlink_message_t *msg, char *param_id) |
Get field param_id from param_set message. More... | |
static uint8_t | mavlink_msg_param_set_get_param_type (const mavlink_message_t *msg) |
Get field param_type from param_set message. More... | |
static float | mavlink_msg_param_set_get_param_value (const mavlink_message_t *msg) |
Get field param_value from param_set message. More... | |
static uint8_t | mavlink_msg_param_set_get_target_component (const mavlink_message_t *msg) |
Get field target_component from param_set message. More... | |
static uint8_t | mavlink_msg_param_set_get_target_system (const mavlink_message_t *msg) |
Send a param_set message. More... | |
static uint16_t | mavlink_msg_param_set_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t target_system, uint8_t target_component, const char *param_id, float param_value, uint8_t param_type) |
Pack a param_set message. More... | |
static uint16_t | mavlink_msg_param_set_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t target_system, uint8_t target_component, const char *param_id, float param_value, uint8_t param_type) |
Pack a param_set message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_PARAM_SET |
Definition at line 22 of file mavlink_msg_param_set.h.
#define MAVLINK_MSG_ID_23_CRC 168 |
Definition at line 18 of file mavlink_msg_param_set.h.
#define MAVLINK_MSG_ID_23_LEN 23 |
Definition at line 15 of file mavlink_msg_param_set.h.
#define MAVLINK_MSG_ID_PARAM_SET 23 |
Definition at line 3 of file mavlink_msg_param_set.h.
#define MAVLINK_MSG_ID_PARAM_SET_CRC 168 |
Definition at line 17 of file mavlink_msg_param_set.h.
#define MAVLINK_MSG_ID_PARAM_SET_LEN 23 |
Definition at line 14 of file mavlink_msg_param_set.h.
#define MAVLINK_MSG_PARAM_SET_FIELD_PARAM_ID_LEN 16 |
Definition at line 20 of file mavlink_msg_param_set.h.
typedef struct __mavlink_param_set_t mavlink_param_set_t |
|
inlinestatic |
Decode a param_set message into a struct.
msg | The message to decode |
param_set | C-struct to decode the message contents into |
Definition at line 286 of file mavlink_msg_param_set.h.
|
inlinestatic |
Encode a param_set struct.
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 |
param_set | C-struct to read the message contents from |
Definition at line 127 of file mavlink_msg_param_set.h.
|
inlinestatic |
Encode a param_set struct on a channel.
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 |
param_set | C-struct to read the message contents from |
Definition at line 141 of file mavlink_msg_param_set.h.
|
inlinestatic |
Get field param_id from param_set message.
Definition at line 255 of file mavlink_msg_param_set.h.
|
inlinestatic |
Get field param_type from param_set message.
Definition at line 275 of file mavlink_msg_param_set.h.
|
inlinestatic |
Get field param_value from param_set message.
Definition at line 265 of file mavlink_msg_param_set.h.
|
inlinestatic |
Get field target_component from param_set message.
Definition at line 245 of file mavlink_msg_param_set.h.
|
inlinestatic |
Send a param_set message.
chan | MAVLink channel to send the message |
target_system | System ID |
target_component | Component ID |
param_id | Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string |
param_value | Onboard parameter value |
param_type | Onboard parameter type: see the MAV_PARAM_TYPE enum for supported data types. Get field target_system from param_set message |
Definition at line 235 of file mavlink_msg_param_set.h.
|
inlinestatic |
Pack a param_set message.
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 |
target_system | System ID |
target_component | Component ID |
param_id | Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string |
param_value | Onboard parameter value |
param_type | Onboard parameter type: see the MAV_PARAM_TYPE enum for supported data types. |
Definition at line 47 of file mavlink_msg_param_set.h.
|
inlinestatic |
Pack a param_set message on a channel.
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 |
target_system | System ID |
target_component | Component ID |
param_id | Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string |
param_value | Onboard parameter value |
param_type | Onboard parameter type: see the MAV_PARAM_TYPE enum for supported data types. |
Definition at line 89 of file mavlink_msg_param_set.h.