#include <CommsUsb.h>
|
| CommsUsb () |
|
| ~CommsUsb () |
|
BError | connect (BString device) |
|
BError | disconnect () |
|
BUInt | readAvailable () |
|
BError | read (void *data, BUInt32 num, BUInt32 &nTrans) |
|
BError | write (const void *data, BUInt32 num, BUInt32 &nTrans) |
|
BError | wait (BEventWaitSet events, BTimeout timeout=-1, BUInt32 num=1) |
|
| BComms () |
|
virtual | ~BComms () |
|
virtual BError | init () |
|
virtual BError | setPacketMode (Bool packetMode) |
|
virtual Bool | packetMode () |
|
virtual BError | setTimeout (BTimeout timeoutUs) |
|
virtual BError | connect (const char *resource) |
|
virtual Bool | isConnected () |
|
virtual void | flush (Flush flush) |
|
virtual BUInt | writeAvailable () |
|
virtual BError | writeChunks (const BDataChunk *chunks, BUInt nChunks, BUInt32 &nTrans) |
|
virtual void | eventQueue (BEventQueue *eventQueue, BInt32 event, BUInt num=1) |
|
◆ CommsUsb()
BMeasureApi::CommsUsb::CommsUsb | ( | | ) | |
◆ ~CommsUsb()
BMeasureApi::CommsUsb::~CommsUsb | ( | | ) | |
◆ connect()
◆ disconnect()
BError BMeasureApi::CommsUsb::disconnect | ( | | ) | | | virtual |
◆ read()
◆ readAvailable()
BUInt BMeasureApi::CommsUsb::readAvailable | ( | | ) | | | virtual |
◆ readChunk()
BError BMeasureApi::CommsUsb::readChunk | ( | | ) | | | private |
◆ wait()
◆ write()
◆ obuffer
char BMeasureApi::CommsUsb::obuffer[102400] | | private |
◆ ocontext
libusb_context* BMeasureApi::CommsUsb::ocontext | | private |
◆ odev
libusb_device_handle* BMeasureApi::CommsUsb::odev | | private |
◆ odevice
BString BMeasureApi::CommsUsb::odevice | | private |
◆ onum
BUInt BMeasureApi::CommsUsb::onum | | private |
◆ oterminated
Bool BMeasureApi::CommsUsb::oterminated | | private |
The documentation for this class was generated from the following files: