Zigbee OTA server and Client connection problem

Hi there,

I am trying to implement the OTA DFU feature via Zigbee in my product. i tried to implement the example available in SDK as below
https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.2.0%2Fzigbee_example_ota_client.html

I used three development kits of Nrf 52840, one acted as a server ,one as a client  and one as a light coordinator. I followed the example as it is but encountered that sever doesn't connect with coordinator and also once DFU package is installed via BLE it doesn't transfer image to client.

Is the documentation complete? Do we need to use any command after server has the DFU package installed, to transfer it to client?

Any help in this regard will be highly appreciated.

Thanks 
Syed Ali Sajjad
Embedded Developer

  • Hi,

    Can you clarify which example(s) you are using? You are linking to the Zigbee OTA client example, but you also mention BLE in your post.

    There are two Zigbee OTA examples in the SDK:

    The documentation should be complete. Please let me know which step you get stuck at, and any logs from the applications running on your board (OTA server and client(s)).

    Best regards,
    Jørgen

  • Hi Jorgen,

    Thank you for your response. I have tried both examples but couldn't perform the firmware update, So for the first example (Zigbee OTA Client example) I performed all the steps listed in Testing section. I was able to create a client and than prepare a image and DFU package but in the end when I connects the OTA server to transfer the image from my PC to client it only gets installed on OTA server but not on the client.

    I find step no 7b a bit confusing. shouldn't the serial number in the following step be of client instead of server

    7.b)Run the following command to start the DFU process over Zigbee, where 608123456 is the serial number of the Zigbee OTA Upgrade Server for the Development Kit, and 11 is the 802.15.4 channel number:

    nrfutil dfu zigbee -f 007B-0141-01020101-good_image.zigbee -snr 608123456 --channel 11
    Awaiting for your guidance.
    Regards
    Syed Ali Sajjad
  • Hi there,

    I also have a question how are we going to initiate DFU once image is installed in our OTA upgrade server. Also if there are multiple clients in ZigBee network how are we going to choose on which client we want to update firmware.

    Your assistance will be highly apppreciated.

    Thanks
    Syed Ali Sajjad

  • Ali Sajjad said:

    I find step no 7b a bit confusing. shouldn't the serial number in the following step be of client instead of server

    7.b)Run the following command to start the DFU process over Zigbee, where 608123456 is the serial number of the Zigbee OTA Upgrade Server for the Development Kit, and 11 is the 802.15.4 channel number:

    No, the serial number is for the debugger on the connected DK. This is used by nrfutil to select the correct server board that will be used to transfer the image to the Zigbee network.

    Ali Sajjad said:
    I also have a question how are we going to initiate DFU once image is installed in our OTA upgrade server. Also if there are multiple clients in ZigBee network how are we going to choose on which client we want to update firmware.

    You will not select the client that will receive the update explicitly. The client will determine if it should download the available firmware based on its HW id, application version, etc. Please have a look at this tutorial for some more in-depth information.

  • Hi Jorgen Thank You very much for helping me out. I was able to perform DFU via Zigbee.

    The error I was facing was of channel masking in the example the command has channel 11 listed where as in the sdk of client example its 16. so after using channel 16 I was able to do it.

    Another thing I want to ask you is that can I merge this Zigbee OTA Upgrade Client Example with BLE ZigBee Dynamic template to have this feature in my product. I already have  ZigBee On Off and Power Config clusters implemented.

    https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.2.0%2Fzigbee_multi_dynamic_template_example.html&cp=8_3_3_8_4_3

    Best Regards,

    Syed Ali Sajjad

Related