39 namespace rp{
namespace arch{
namespace net{
53 virtual bool bind(
const char * portname,
_u32 baudrate,
_u32 flags = 0);
58 virtual int waitfordata(
size_t data_count,
_u32 timeout = -1,
size_t * returned_size = NULL);
63 virtual int waitforsent(
_u32 timeout = -1,
size_t * returned_size = NULL);
64 virtual int waitforrecv(
_u32 timeout = -1,
size_t * returned_size = NULL);
72 bool open(
const char * portname,
_u32 baudrate,
_u32 flags);
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)
volatile HANDLE _serial_handle
virtual int waitforrecv(_u32 timeout=-1, size_t *returned_size=NULL)