Profinet library, roughly based on libnodave