mavlink: forwarding and FTP fixed, flow control detector fixed

This commit is contained in:
Anton Babushkin
2014-07-25 00:16:02 +02:00
parent c486aa536f
commit 8f0af1c5fe
2 changed files with 77 additions and 39 deletions
+12 -7
View File
@@ -162,6 +162,11 @@ public:
void send_message(const uint8_t msgid, const void *msg);
/**
* Resend message as is, don't change sequence number and CRC.
*/
void resend_message(mavlink_message_t *msg);
void handle_message(const mavlink_message_t *msg);
MavlinkOrbSubscription *add_orb_subscription(const orb_id_t topic);
@@ -251,13 +256,6 @@ public:
*/
void count_rxbytes(unsigned n) { _bytes_rx += n; };
/**
* Get the free space in the transmit buffer
*
* @return free space in the UART TX buffer
*/
unsigned get_free_tx_buf();
/**
* Get the receive status of this MAVLink link
*/
@@ -358,6 +356,13 @@ private:
int mavlink_open_uart(int baudrate, const char *uart_name, struct termios *uart_config_original, bool *is_usb);
/**
* Get the free space in the transmit buffer
*
* @return free space in the UART TX buffer
*/
unsigned get_free_tx_buf();
static unsigned int interval_from_rate(float rate);
int configure_stream(const char *stream_name, const float rate);