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

the documentation is a bit vague

I'm implementing my own equivalent of hci_dfu_send_hex; There is not enough information in the documentation on how these packets are constructed. I found that the first packet (prep flash) sent by hci_dfu_send_hex to the bootloader has an ACK counter of 0x02, sequence of 0x01; the next (first data packet) has an ACK of 0x03 and a sequence of 0x02; also the data packet payload length seems to be 0x204; this includes the DFU packet field length ? (I assume); also the 8bit checksum field is still a mystery at this point; Does anyone have any information that is clearer....reverse engineering the structures is fun but time consuming. cheers Radu

Related