This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

need DFU description explanations

Hello,

I'm started implementing DFU over serial port and see documentation from this link:
https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.2.0%2Flib_dfu_transport_serial.html

And for me is misunderstanding about little and big endian in your descriptions. In examples I see is big endian format (PRN number is 02 01 00 - it means 256) but in description is mentioned little endian format ("Value (uint16, little endian) "). What I should believe? Example or description?

Same situation is with MTU message, where is the true?

And other think if in other messages not mentioned little endian format it does it mean that it is in big endian format?

Then how it understand that some messages value (Create and PRN) fields is in little endian format and another  all messages is in big endian format?

It does it mean that  DFU protocol mixing endian between messages?

Wait for comments!

FW developer

Remigijus

Parents Reply Children
No Data
Related