73 size_t read(uint8_t *buffer,
size_t len);
82 int _to_shell_fd = -1;
83 int _from_shell_fd = -1;
84 int _shell_fds[2] = { -1, -1};
87 static int shell_start_thread(
int argc,
char *argv[]);
size_t available()
Get the number of bytes that can be read.
Definition: mavlink_shell.cpp:171
int start()
Start the mavlink shell.
Definition: mavlink_shell.cpp:70
size_t write(uint8_t *buffer, size_t len)
Write to the shell.
Definition: mavlink_shell.cpp:161
Definition: video_device.h:50
Definition: mavlink_shell.h:48
size_t read(uint8_t *buffer, size_t len)
Read from the shell.
Definition: mavlink_shell.cpp:166