17 #include <QtCore/QByteArray> 30 virtual void send(
const QByteArray &data) = 0;
33 virtual int read(
const QByteArray &data) = 0;
virtual void send(const QByteArray &data)=0
Send data to current device, if it is connected.
virtual int read(const QByteArray &data)=0
Reads data by given I2C command number and returns the result.
Abstract interface for communication with MSP, may be implemented by I2C or USB buses, depending on current MSP configuration.
Definition: mspCommunicatorInterface.h:26
Definition: trikCommunicator.h:27
TRIK device interface, base interface for everything that can be plugged to a brick or already on boa...
Definition: deviceInterface.h:23