44 #include <px4_platform_common/tasks.h> 66 size_t write(uint8_t *buffer,
size_t len);
73 size_t read(uint8_t *buffer,
size_t len);
int _from_shell_fd
fd to write to the shell
static int shell_start_thread(int argc, char *argv[])
int _shell_fds[2]
fd to read from the shell
px4_task_t _task
stdin & out used by the shell
int start()
Start the mavlink shell.
size_t read(uint8_t *buffer, size_t len)
Read from the shell.
size_t write(uint8_t *buffer, size_t len)
Write to the shell.
size_t available()
Get the number of bytes that can be read.
MavlinkShell operator=(const MavlinkShell &)=delete