PROFINET Device4.2.0
 
Loading...
Searching...
No Matches

◆ PN_APP_IOD_cbArConnectInd()

void PN_APP_IOD_cbArConnectInd ( PN_API_IOD_Handle_t *const  pnHandle,
PN_API_IOD_ArType_t  arType,
uint32_t  arNum,
uint16_t  arSessionKey,
uint16_t  sendClock,
uint16_t  redRatioIoCrIn,
uint16_t  redRatioIoCrOut,
uint32_t  hostIp 
)

Callback function prototype to notify that a new connection to an IO controller has been established.

Based on the AR type, this function adds the new AR to the application's database and informs the user about the received update.

Parameters
[in]pnHandleProfinet API Handle.
[in]arTypeAR type.
[in]arNumAR number.
[in]arSessionKeySession key.
[in]sendClockSend clock parameter.
[in]redRatioIoCrInReduction ratio of input IOCR.
[in]redRatioIoCrOutReduction ratio of output IOCR.
[in]hostIpIP address of the host (IO controller).
See also
PN_API_IOD_arConnectCbf