trikRuntime
|
Empty implementation of MSP USB bus communicator. Only logs operations, returns 0 on all "read" calls. More...
#include <stubMspUsb.h>
Public Member Functions | |
void | send (const QByteArray &data) override |
Send data to MSP. More... | |
int | read (const QByteArray &data) override |
Reads data by given MSP command number and returns the result. More... | |
bool | connect () override |
Establish connection with MSP over USB bus. More... | |
void | disconnect () override |
Disconnect from MSP. More... | |
Public Member Functions inherited from trikHal::MspUsbInterface | |
MspUsbInterface ()=default | |
virtual | ~MspUsbInterface ()=default |
Empty implementation of MSP USB bus communicator. Only logs operations, returns 0 on all "read" calls.
|
overridevirtual |
Establish connection with MSP over USB bus.
Implements trikHal::MspUsbInterface.
|
overridevirtual |
Disconnect from MSP.
Implements trikHal::MspUsbInterface.
|
overridevirtual |
Reads data by given MSP command number and returns the result.
Implements trikHal::MspUsbInterface.
|
overridevirtual |
Send data to MSP.
Implements trikHal::MspUsbInterface.