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

◆ PN_APP_IOD_getSubmodCfg()

uint32_t PN_APP_IOD_getSubmodCfg ( uint32_t  api,
uint32_t  submodId,
PN_APP_IOD_SubmodCfgEntry_t submodCfg 
)

Get the allowed configuration of a specific submodule as defined in pn_app_iod_mod_cfg.c.

A getter function for a submodCfgList element that corresponds to the submodule specified by api and submodId.

Parameters
[in]apiApplication Process Identifier.
[in]submodIdSubmodule ID.
[out]submodCfgPointer to submodule config item.
Returns
result of the operation as uint32_t.
Return values
PN_API_OKOperation succeeded.
PN_API_ERR_NO_SUBMODULESubmodule not found.
PN_API_ERR_PARAMInvalid parameter.