added additional parameter form open/reopen call

This commit is contained in:
Robin Müller 2020-03-20 22:47:07 +01:00
parent 52c05e2f3d
commit af6d18d60b

View File

@ -54,7 +54,7 @@ public:
* @return * @return
*/ */
virtual ReturnValue_t open(Cookie **cookie, address_t address, virtual ReturnValue_t open(Cookie **cookie, address_t address,
uint32_t maxReplyLen) = 0; uint32_t maxReplyLen, uint32_t comParameter = 0) = 0;
/** /**
* Use an existing cookie to open a connection to a new DeviceCommunication. * Use an existing cookie to open a connection to a new DeviceCommunication.
@ -68,7 +68,7 @@ public:
* previous connection * previous connection
*/ */
virtual ReturnValue_t reOpen(Cookie *cookie, address_t address, virtual ReturnValue_t reOpen(Cookie *cookie, address_t address,
uint32_t maxReplyLen) = 0; uint32_t maxReplyLen, uint32_t comParameter = 0) = 0;
/** /**
* Closing call of connection. Don't forget to free memory of cookie. * Closing call of connection. Don't forget to free memory of cookie.