| uint32_t PN_API_IOD_asyncApplReady | ( | PN_API_IOD_Handle_t *const | pnHandle, |
| uint16_t | arNum, | ||
| uint32_t | api, | ||
| uint16_t | slot, | ||
| uint16_t | submodId, | ||
| PN_API_IOD_SubmodStatus_t | submodState, | ||
| bool | moreFollows | ||
| ) |
Send an asynchronous application ready message.
Needed only if the "application ready" for a submodule should be delayed due to incomplete parameter assignment for that submodule. Therefore, instead of passing this information to the stack using the return value of PN_API_IOD_paramEndCbf() so the stack can automatically generate "application ready", the user application returns PN_API_IOD_SubmodStatusAppReadyFollows for the PN_API_IOD_paramEndCbf() and later sends the "application ready" using this function.
| [in] | pnHandle | Profinet API Handle. |
| [in] | arNum | AR number. |
| [in] | api | Application Process Identifier. |
| [in] | slot | Slot number. |
| [in] | submodId | Submodule identifier, or 0 for all submodules. |
| [in] | submodState | Submodule state. |
| [in] | moreFollows | true, if "application ready" for more submodulesin this AR are expected. false, if no further "application ready" needed. |
| PN_API_OK | Success. |
| PN_API_NOT_OK | Something went wrong. |
| PN_API_ERR_PARAM | Invalid parameter. |