| void PN_APP_IOD_cbArOwnershipInd | ( | PN_API_IOD_Handle_t *const | pnHandle, |
| uint32_t | arNum, | ||
| PN_API_IOD_Exp_t * | expSubmodsCfg | ||
| ) |
Callback function to dynamically reconfigure the submodules and claiming their ownership.
This function receives the expected submodule configuration from the IO controller and tries to align with it. To do this, it checks the compatibility of each sumodule, updates its location if possible, stores the updated information in the remanent memory and informs the IO controller about the final ownership status.
| [in] | pnHandle | Profinet API Handle. |
| [in] | arNum | AR number. |
| [in,out] | expSubmodsCfg | Configured submodule list to be verified. User application needs to set the following values: ownSubmod->submod[i].ownSessionKey = 0, if AR ownership is NOT assumed. ownSubmod->submod[i].isWrongSubmod = true, if submodule ownership is NOT assumed. Otherwise, true. |