2021-02-14 14:55:33 +01:00
|
|
|
#include "I2cCookie.h"
|
2021-01-08 09:34:43 +01:00
|
|
|
|
|
|
|
I2cCookie::I2cCookie(address_t i2cAddress_, size_t maxReplyLen_,
|
|
|
|
std::string deviceFile_) :
|
2021-02-14 19:06:26 +01:00
|
|
|
i2cAddress(i2cAddress_), maxReplyLen(maxReplyLen_), deviceFile(deviceFile_) {
|
2021-01-08 09:34:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
address_t I2cCookie::getAddress() const {
|
|
|
|
return i2cAddress;
|
|
|
|
}
|
|
|
|
|
|
|
|
size_t I2cCookie::getMaxReplyLen() const {
|
|
|
|
return maxReplyLen;
|
|
|
|
}
|
|
|
|
|
|
|
|
std::string I2cCookie::getDeviceFile() const {
|
|
|
|
return deviceFile;
|
|
|
|
}
|
|
|
|
|
|
|
|
I2cCookie::~I2cCookie() {}
|