p60dock, acu and pdu handler completed

This commit is contained in:
2020-12-21 10:26:28 +01:00
parent c9fbd2c048
commit f573d15830
4 changed files with 16 additions and 1 deletions

View File

@ -92,6 +92,8 @@ void ObjectFactory::produceGenericObjects() {
addresses::PDU1);
CspCookie* pdu2CspCookie = new CspCookie(PDU::MAX_REPLY_LENGTH,
addresses::PDU2);
CspCookie* acuCspCookie = new CspCookie(ACU::MAX_REPLY_LENGTH,
addresses::ACU);
/* Communication interfaces */
new CspComIF(objects::CSP_COM_IF);
@ -106,6 +108,9 @@ void ObjectFactory::produceGenericObjects() {
new GomspaceDeviceHandler(objects::PDU2_HANDLER, objects::CSP_COM_IF,
pdu2CspCookie, PDU::MAX_CONFIGTABLE_ADDRESS,
PDU::MAX_HKTABLE_ADDRESS);
new GomspaceDeviceHandler(objects::ACU_HANDLER, objects::CSP_COM_IF,
acuCspCookie, ACU::MAX_CONFIGTABLE_ADDRESS,
ACU::MAX_HKTABLE_ADDRESS);
/* Test Device Handler */
#if ADD_TEST_CODE == 1