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

How to find the process of decoding the package from server?

Hello:

I want to do OTA with Mesh DFU using nrf52832. Now I make sure that DFU works correctly in the mesh and the host can receive the package from the server. The problem is, the host cannot correctly decode the package and then it is impossible to send dfu packages to sub-machine. I think the problem is with the format sended by the server.

Could you please tell me where can I find the document describe the format of package from computer to host? If there is no document, can you tell me which part of code takes charge of decoding the package from computer?

Thank you 

Jin

Parents
  • Hi:

    I have read this document several times and I am sure that this part talks about the protocol and format inside the mesh network. My question is about the process between the host and the server (PC). 

    When I want to do DFU, first step is following the documant and using nrfutil tool to generate the DFU packet (one zip). Then I use command line to transmit the packet to the host (one nrf52832) through the serial port and the host will transmit the packet to submachines. 

    From the document, the process of transmitting packets from host to submachines is clear, but what is the format of the packet from server (PC) to host? Is it the same as the packets from host to submachines, which always contain a 16-byte data segment? If it is the same, who devides the zip file to the packets? The computer or the host? If the host does that, which part of code takes charge of it, the serial part in application or the bootloader? I cannot find answer in the mesh DFU protocol, if I misunderstand it, could you please correct me?

    Thank you

    Jin

Reply
  • Hi:

    I have read this document several times and I am sure that this part talks about the protocol and format inside the mesh network. My question is about the process between the host and the server (PC). 

    When I want to do DFU, first step is following the documant and using nrfutil tool to generate the DFU packet (one zip). Then I use command line to transmit the packet to the host (one nrf52832) through the serial port and the host will transmit the packet to submachines. 

    From the document, the process of transmitting packets from host to submachines is clear, but what is the format of the packet from server (PC) to host? Is it the same as the packets from host to submachines, which always contain a 16-byte data segment? If it is the same, who devides the zip file to the packets? The computer or the host? If the host does that, which part of code takes charge of it, the serial part in application or the bootloader? I cannot find answer in the mesh DFU protocol, if I misunderstand it, could you please correct me?

    Thank you

    Jin

Children
Related