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

◆ PN_APP_IOD_getModProp()

uint32_t PN_APP_IOD_getModProp ( uint32_t  modId,
PN_APP_IOD_ModPropEntry_t modProp 
)

Get the properties of a specific module as defined in pn_app_iod_mod_cfg.c.

A getter function for a modPropList element that corresponds to the module specified by modId.

Parameters
[in]modIdModule ID.
[out]modPropPointer to module properties item.
Returns
result of the operation as uint32_t.
Return values
PN_API_OKOperation succeeded.
PN_API_ERR_NO_MODULEModule not found.
PN_API_ERR_PARAMInvalid parameter.