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

◆ PN_APP_IOD_cbParamEnd()

PN_API_IOD_SubmodStatus_t PN_APP_IOD_cbParamEnd ( PN_API_IOD_Handle_t *const  pnHandle,
const uint16_t  arNum,
const uint16_t  sessionKey,
const uint32_t  api,
const uint16_t  slot,
const uint16_t  subslot,
const bool  moreFollows 
)

Callback function to notify that the parameter assignment for all modules has been completed.

This function confirms the parametrization end operation by setting the status of the corresponding submodule to PN_API_IOD_SubmodStatusRun and returning it to the stack.

Parameters
[in]pnHandleProfinet API Handle.
[in]arNumAR number.
[in]sessionKeySession key.
[in]apiApplication Process Identifier.
[in]slotSlot number, can not be 0.
[in]subslotSubslot number, which can be:
0: paramEnd for all submodules.
not 0: paramEnd for the specific module.
[in]moreFollowsMore calls of this function for additional submodules is to be expected.
Returns
Submodule status as PN_API_IOD_SubmodStatus_t.
Return values
PN_API_IOD_SubmodStatusRunSuccess, generate "application ready".
PN_API_IOD_SubmodStatusAppReadyFollowsSuccess, but not ready yet.
PN_API_IOD_SubmodStatusUnknownWrong submodule.
PN_API_IOD_SubmodStatusStopSomething went wrong.
See also
PN_API_IOD_paramEndCbf