| void PN_APP_IOD_cbArDisconn | ( | PN_API_IOD_Handle_t *const | pnHandle, |
| const uint16_t | arNum, | ||
| const uint16_t | arSessionKey, | ||
| const PN_API_IOD_ArReason_t | reasonCode | ||
| ) |
Callback function to notify that an AR connection with the IO controller has been terminated.
Based on the AR type, this function removes the deactivated AR from the application's database and if it was the last running AR, it deactivates the exchange of cyclic IO data.
| [in] | pnHandle | Profinet API Handle. |
| [in] | arNum | AR number. |
| [in] | arSessionKey | Session key. |
| [in] | reasonCode | Reason code (see PN_API_IOD_ArReason_t) |