#include <uhd/types/serial.hpp>
| Public Types | |
| typedef std::shared_ptr< uart_iface > | sptr | 
| Public Member Functions | |
| virtual | ~uart_iface (void) | 
| virtual void | write_uart (const std::string &buf)=0 | 
| virtual std::string | read_uart (double timeout)=0 | 
UART interface to write and read strings.
| typedef std::shared_ptr<uart_iface> uhd::uart_iface::sptr | 
| 
 | virtual | 
| 
 | pure virtual | 
Read a line from a serial port.
| timeout | the timeout in seconds | 
| 
 | pure virtual | 
Write to a serial port.
| buf | the data to write |