Hello.
I'm using the PROFINET device demo from Industrial communication SDK 11.00.00.13, and I'm wondering, that the process output data in the demo application callback function
PN_APP_IOD_cbDataRead(PN_API_IOD_Handle_t *const pnHandle, PN_API_IOD_DevAddr_t *const addr, const uint32_t bufLen, uint8_t *const buffer, const PN_API_IOD_IOXS remoteIops)
after the buffer pointer are provided in big endian format. I expected littel endian format.
With the process input data copied to the buffer pointer within function PN_APP_IOD_cbDataWrite(PN_API_IOD_Handle_t *const pnHandle, PN_API_IOD_DevAddr_t *const addr, const uint32_t bufLen, uint8_t *const buffer, const PN_API_IOD_IOXS remoteIocs)
it is the same. I have to copy the process input data also in big endian format.
I didn't read something about big/little endian format, thus I expected little endian format. This is also the configuration within the project properties for the ARM compiler ("-mlittle-endian").
Do you have an explanation?




