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

Nrf router and end device with Digi Xbee Coordinator

Hello,

I am using nrf sdk 1.5.1 and trying to connect the Nrf ZigBee router(light bulb example) with Digi Xbee Coordinator but it doesn't seem to connect. I observed the same when I tried to connect nrf end device(light switch example). 

Note - the digi xbee coordinator is tested and working with the digi end device and router

I have attached the sniffer log for more information.

IG_nrfRouter.pcapng

Any help on this is appreciated.

Thanks and Regards,

Yash.

  • Hi,

    Have you made sure to fully erase the nRF device before programming the application, to make sure there is no commissioning data stored in flash?

    Can you post the application log from the light bulb/switch example, to see if this provides any information about what is failing? You can enable more logs and increase the log level of the application as described in the SDK documentation.

    Best regards,
    Jørgen

  • Hello Jorgen,

    Appreciate your quick response.

    Yes, I erased the nrf board completely using the nrfjprog --eraseall command. I also erased the board using the programmer application as well.


    I am new to this environment, Is there a separate log file that is generated? If yes, can you please help me locate that file?
    In the meantime, the following messages are observed on putty -

    I: nRF5 802154 radio initialized
    *** Booting Zephyr OS build v2.4.99-ncs2 ***
    I: Production configuration is not present or invalid (status: -1)
    I: Zigbee stack initialized
    I: Device started for the first time
    I: Start network steering
    I: Started network rejoin procedure.
    I: Network left (leave type: 0)
    I: Network steering was not successful (status: -1)
    I: Network left (leave type: 0)

    Thanks and Regards,

    Yash.

  • Hi,

    Can you try the suggestion in this post?

    Yash_2 said:
    Is there a separate log file that is generated? If yes, can you please help me locate that file?

    No, I was referring to the console log output that you see on Putty.

    Best regards,
    Jørgen

  • Hi Jorgen,

    I will try the suggestions mentioned in the post.

    In the meantime, I have an observation to share, I increased the log level to Debug and did the same test again and I have attached the log file below. I compared nrf Coordinator and nrf Router interaction log with nrf router and Digi Coordinator and found the discrepancy on zb_transmit function which returns result as '2'. A small snapshot from the attached file(Line number 240 in the attached fike) -

    D: Function: zb_trans_transmit, channel: 15
    D: 0x20002af1 (19)
    D: Sending frame (ch:15, txpower:8)
    D: Result: 2

    nrfRouter_IG_terminal.zip

    I dug a bit and the error here - 

    Is that the same error, if yes. How can I resolve it?

     

    2) There was another observation, as I was trying out other things I kept the code running as they are and observed a FATAL ERROR after a few times of nrf router trying to connect to the digi Coordinator. Attaching the screenshot for the same. Is that expected? Or something is going wrong here?

    Thanks and Regards,

    Yash

  • Hello Jorgen,

    I went through the link you suggested but I am guessing its for NRF5 as I can't locate the functions(zb_start and zb_zdo_set_tc_standard_distributed_key) mentioned in the link and I am working with nrf NCS 52833. Are there any equivalent steps in NCS that I can try?

    Thanks and Regards,

    Yash.

Related