| typedef void(* PN_API_IOD_arDisconnCbf) (PN_API_IOD_Handle_t *const pnHandle, const uint16_t arNum, const uint16_t sessionKey, const PN_API_IOD_ArReason_t reasonCode) |
Callback function prototype to notify the user application that an AR connection with the IO controller has been terminated.
A connection termination event takes place when an established connection is either alarmed or deliberately terminated by the IO controller or the IO device.
| [in] | pnHandle | Profinet API Handle. |
| [in] | arNum | AR number. |
| [in] | sessionKey | Session key. |
| [in] | reasonCode | Reason code (see PN_API_IOD_ArReason_t) |