p-net icon indicating copy to clipboard operation
p-net copied to clipboard

pnet_get_station_name function need

Open SupermanOfHeiLinPu opened this issue 2 years ago • 1 comments
trafficstars

After the profinet controller assigns the profinet device name, the name obtained through pnet_cfg_t is incorrect, so an interface is needed to obtain the profinet device name.

SupermanOfHeiLinPu avatar May 09 '23 04:05 SupermanOfHeiLinPu

The name given in pnet_cfg_t is the device name used at first startup, or after factory reset.

I think maybe we could add a callback at IP and station name changes, to inform the application.

pyhys avatar Jun 01 '23 08:06 pyhys