Firmware
|
Public Member Functions | |
int | start () |
Start the mavlink shell. More... | |
size_t | write (uint8_t *buffer, size_t len) |
Write to the shell. More... | |
size_t | read (uint8_t *buffer, size_t len) |
Read from the shell. More... | |
size_t | available () |
Get the number of bytes that can be read. | |
size_t MavlinkShell::read | ( | uint8_t * | buffer, |
size_t | len | ||
) |
Read from the shell.
This is blocking, if 0 bytes are available, this will block.
len | buffer length |
int MavlinkShell::start | ( | void | ) |
Start the mavlink shell.
size_t MavlinkShell::write | ( | uint8_t * | buffer, |
size_t | len | ||
) |
Write to the shell.