PROFINET Device  v1.04.03

◆ PN_API_ETH_getStationName()

uint32_t PN_API_ETH_getStationName ( const uint8_t **  ppName_p,
uint16_t *  pLength_p 
)

Get station name of ethernet interface.

Called by application when profinet stack is started to get station name of ethernet interface.

Parameters
[out]ppName_pStation name.
[out]pLength_pLength of station name.
Returns
PN_API_ETH_EError_t as uint32_t
Return values
PN_API_ETH_eOK
PN_API_ETH_eERROR_WRONG_STATE
PN_API_ETH_eERROR_MISSING_PARAMETER_POINTER
Example
See also
PN_API_PDEV_start PN_API_PDEV_run