Skip to content
RED SAGSkills
hard20 pts · first answer countsembedded-ccommunication-protocols

Reading a 32-bit field

A network protocol sends a 32-bit value in big-endian order. On a little-endian MCU, which code reads it correctly and portably from a byte buffer?

uint8_t *p = rx_buf + 4;
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions