Nrf DFU Application Library

Hi all,

I have Nrf52 devices that use Nrf DFU with "Buttonless Secure DFU Service".

I would like to integrated the ability do to firmware update the devices to our "fleet management software". 

I could not find a clear definition of the internal services and characteristics used and what exact control logic / payloads are needed to properly do a firmware update via ble.

I know that the update works with nrf tools like nrf connect. But I need it in my own software. Are there any open libraries / deeper documentation?

Thanks


Best

Mark

Parents Reply
  • Hello Mark,

    Mark G. said:
    This shows that for the transfer of the data a "Response PRN Success" should be notified. I have never received this response from the device. But it seems to work nevertheless

    Did you enable indications on the DFU service?

    I believe you did, since you are receiving other packets from the DFU Target, right?

    Can you try setting NRF_DFU_PROTOCOL_REDUCED to 0 in your bootloader's sdk_config.h.

    Mark G. said:
    In the actual firmware transfer. After sending the "Select Command" with 0x06, 0x02. The Device responses with "max_size" 4096. What does this max_size refer to?

    It has been a while since looking into this, but I believe that it is the object size. This is aligned with the flash page size.

    Best regards,

    Edvin

Children
No Data
Related