Hi,
I am unable to find the DFU services in example ble_app_buttonless_dfu provided in SDK 17.
Please suggest how to proceed.
Thanks
Raj
Hi,
I am unable to find the DFU services in example ble_app_buttonless_dfu provided in SDK 17.
Please suggest how to proceed.
Thanks
Raj
Hi,
rajAsthana said:I think DFU is happening because name of the Device Changes .
I see. Then is is just that the log is from another time, I guess? Can you try again and make sure that the log is from the actual DFU process? Will will see clearly form the log that DFU is ocuring with a lot of printouts of received commands etc.
Hi,
whenever I try to write on DFU packet characteristics, on ESp32 side we observer that code gets stuck at "m_semaphoreWriteCharEvt.wait("writeValue"); "
ty..
I see. It is not easy for me to comment on your ESP32 code, though. But I am happy to assist on the DFU protocol.
Hi Einar,
While Sending Init packet I am getting this response from Target Controller, Can you please confirm is it valid response or not?
DFU Controller ----------0x01-----------> DFU Target (AT DFU characteristics)
DFU Controller <----------0X20 0x01 0x01----------- DFU Target
DFU Controller ----------0x06 0x01-----------> DFU Target (AT Control characteristics)
DFU Controller <---------60 06 01 00 02 00 00 00 00 00 00 00 00 00 00------------ DFU Target
DFU Controller ----------01 01 90 00 00 00----------> DFU Target (AT Control characteristics)
DFU Controller <----------60 01 01---------- DFU Target
DFU Controller ----------Send init packet no response----------> DFU Target (AT data characteristics)
DFU Controller ----------0x03---------> DFU Target (AT Control characteristics)
DFU Controller <----------60 03 01 90 00 00 00 58 0b a5 3b---------- DFU Target
DFU Controller ----------0x04---------> DFU Target (AT Control characteristics)
DFU Controller <----------60 04 05---------- DFU Target
Thanks
Raj
Hi Raj,
The response you are getting is 0x05 which is NRF_DFU_RES_CODE_INVALID_OBJECT. From API doc: "Data object does not match the firmware and hardware requirements, the signature is wrong, or parsing the command failed". You can refer to this post for more details.