39 namespace rp{
namespace arch{
namespace net{
51 virtual bool bind(
const char * portname, uint32_t baudrate, uint32_t flags = 0);
71 bool open(
const char * portname, uint32_t baudrate, uint32_t flags = 0);
virtual void flush(_u32 flags)
virtual int waitfordata(size_t data_count, _u32 timeout=-1, size_t *returned_size=NULL)
virtual int waitforsent(_u32 timeout=-1, size_t *returned_size=NULL)
virtual size_t rxqueue_count()
virtual bool bind(const char *portname, uint32_t baudrate, uint32_t flags=0)
virtual int senddata(const unsigned char *data, size_t size)
virtual int recvdata(unsigned char *data, size_t size)
_u32 getTermBaudBitmap(_u32 baud)
typedef _word_size_t(THREAD_PROC *thread_proc_t)(void *)
virtual int waitforrecv(_u32 timeout=-1, size_t *returned_size=NULL)