44 #ifndef MAVLINK_COMMUNICATION_H_
45 #define MAVLINK_COMMUNICATION_H_
51 #include "scheduler.h"
52 #include "mavlink_stream.h"
53 #include "mavlink_message_handler.h"
54 #include "onboard_parameters.h"
62 typedef void* handling_telemetry_module_struct_t;
68 typedef void (*mavlink_send_msg_function_t) (handling_telemetry_module_struct_t,
mavlink_stream_t*, mavlink_message_t*);
77 mavlink_send_msg_function_t
function;
167 bool mavlink_communication_add_msg_send(
mavlink_communication_t* mavlink_communication, uint32_t repeat_period, task_run_mode_t run_mode, task_timing_mode_t timing_mode, task_priority_t priority, mavlink_send_msg_function_t
function, handling_telemetry_module_struct_t module_structure, uint32_t task_id);
Main message handler structure.
Definition: mavlink_message_handler.h:152
mavlink_message_handler_t message_handler
Message handler.
Definition: mavlink_communication.h:99
Configuration of the module Mavlink Communication.
Definition: mavlink_communication.h:110
mavlink_send_msg_handler_set_t * send_msg_handler_set
Pointer to the sending message handler set.
Definition: mavlink_communication.h:102
Scheduler.
Definition: scheduler.h:171
scheduler_t scheduler
Task set for scheduling of down messages.
Definition: mavlink_communication.h:97
Structure used to hold parameters during initialisation.
Definition: mavlink_message_handler.h:164
onboard_parameters_conf_t onboard_parameters_config
Configuration for the module onboard parameters.
Definition: mavlink_communication.h:115
mavlink_stream_t mavlink_stream
Mavlink interface using streams.
Definition: mavlink_communication.h:98
mavlink_stream_t * mavlink_stream
Pointer to the MAVLink stream structure.
Definition: mavlink_communication.h:76
onboard_parameters_t onboard_parameters
Onboard parameters.
Definition: mavlink_communication.h:100
handling_telemetry_module_struct_t module_struct
Pointer to module data structure to be given as argument to the function.
Definition: mavlink_communication.h:78
Scheduler configuration.
Definition: scheduler.h:182
uint32_t max_msg_sending_count
Configuration for the sending message handler.
Definition: mavlink_communication.h:117
mavlink_message_handler_conf_t message_handler_config
Configuration for the module message handler.
Definition: mavlink_communication.h:114
Byte stream.
Definition: streams.h:62
mavlink_stream_conf_t mavlink_stream_config
Configuration for the module MAVLink stream.
Definition: mavlink_communication.h:113
Configuration structure for the module MAVLink stream.
Definition: mavlink_stream.h:102
Main structure of the module onboard parameters.
Definition: onboard_parameters.h:97
Main MAVLink Communication structure.
Definition: mavlink_communication.h:95
Configuration for the module onboard parameters.
Definition: onboard_parameters.h:108
uint32_t msg_sending_count
Number of message callback currently registered.
Definition: mavlink_communication.h:87
uint32_t max_msg_sending_count
Maximum number of callback that can be registered.
Definition: mavlink_communication.h:88
MAVLink message handler setting structure.
Definition: mavlink_communication.h:85
MAVLink message handler structure.
Definition: mavlink_communication.h:74
Main structure for the MAVLink stream module.
Definition: mavlink_stream.h:87