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

No logs on the CLI coordinator that a new device has been added to the Zigbee network

Hello,

I'm still just starting to deal with Zigbee and I have a question. I use 2 nRF52840 chips. One as a Zigbee Coordinator (CLI in SDK\examples\zigbee\experimental\cli\cli_agent_router), the second as a Zigbee Router (any example which is not a coordinator). SDK version 4.0.0.

I figured out some of the coordinator's commands and already learned how to manage the Zigbee Router through the console. Everything works. But I just can’t get any logs (in UART) from the coordinator about the fact that a new device has been added to the zigbee network! I see this only in the logs of the device itself (Zigbee Router - [<info> app: Joined network successfully (Extended PAN ID: f4ce369d28a86677, PAN ID: 0xEADF)]). I included all available logs and still there is nothing:

  • log enable info zboss
  • log enable info zigbee.cli
  • log enable info zigbee.eprxzcl
  • log enable info zigbee.ping
  • log enable info zigbee.report

Example:

It was added to the network and wrote about this in log. Well done:

ZR, added and wrote a log. Well done!

ZC. A device was added to him, but it is silent! Not well done:

ZC. A device was added to him, but it is silent! Not well done.

Please, help!

Thanks in advance.

Parents Reply Children
  • Have you tried enabling logs for the app?

    > log enable info app
    > log enable info app
    > bdb role zc
    Coordinator set
    Done
    > bdb start
    Started coordinator
    Done
    <info> app: Production configuration is not present or invalid (status: -1)
    <info> app: Zigbee stack initialized
    <info> app: Device started for the first time
    <info> app: Start network formation
    <info> app: Network formed successfully, start network steering (Extended PAN ID: f4ce3672196e95c0, PAN ID: 0xE4B2)
    <info> app: Joined network successfully (Extended PAN ID: f4ce3672196e95c0, PAN ID: 0xE4B2)
    <info> app: Device update received (short: 0x216B, long: f4ce36fc853b8177, status: 1)
    <info> app: New device commissioned or rejoined (short: 0x216B)
    <info> app: Device authorization event received (short: 0x216B, long: f4ce36fc853b8177, authorization type: 1, authorization status: 0)
    

    I get the log "New device commissioned or rejoined (short: 0x216B)" on the coordinator when the router joins the network.

  • Thank you very much, Jørgen, it really worked for me. It would be great if you document this information somewhere, because it is not obvious, but it is very important Slight smile

Related