26 void send(
const QByteArray &data)
override;
27 int read(
const QByteArray &data)
override;
28 bool connect(
const QString &devicePath,
int deviceId)
override;
void send(const QByteArray &data) override
Send data to a device.
Definition: stubMspI2c.cpp:21
Communicates with MSP processor over I2C bus.
Definition: mspI2cInterface.h:22
Empty implementation of I2C bus communicator. Only logs operations, returns 0 on all "read" calls...
Definition: stubMspI2c.h:23
void disconnect() override
Disconnect from MSP.
Definition: stubMspI2c.cpp:38
int read(const QByteArray &data) override
Reads data by given I2C command number and returns the result.
Definition: stubMspI2c.cpp:26
Definition: brickFactory.h:21
bool connect(const QString &devicePath, int deviceId) override
Establish connection with MSP over I2C bus.
Definition: stubMspI2c.cpp:32