IMTQ handler complete

This commit is contained in:
2021-06-15 15:13:47 +02:00
parent 595abf3899
commit 5e7cdd9f7f
5 changed files with 1916 additions and 249 deletions

View File

@ -542,8 +542,7 @@ void ObjectFactory::produce(void* args){
I2cCookie* imtqI2cCookie = new I2cCookie(addresses::IMTQ, IMTQ::MAX_REPLY_SIZE,
std::string("/dev/i2c-0"));
IMTQHandler* imtqHandler = new IMTQHandler(objects::IMTQ_HANDLER, objects::I2C_COM_IF, imtqI2cCookie);
imtqHandler->setStartUpImmediately();
new IMTQHandler(objects::IMTQ_HANDLER, objects::I2C_COM_IF, imtqI2cCookie);
UartCookie* plocUartCookie = new UartCookie(std::string("/dev/ttyUL3"), 115200,
PLOC::MAX_REPLY_SIZE);