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
  • Hi,

    Not everything is logged in the application, and some logs may only be provided in the "DEBUG" log level. Are you able to set the log level to DEBUG in the CLI? If not, you may have to enable this in the application and rebuild it.

    If this does not work, I can also check if there are any lines in the firmware that log when a device is added to the ZC. Please let me know.

    Best regards,
    Jørgen

  • Hi, Jørgen! 

    Do you have any news for me? We're under a very strict deadline Disappointed

  • 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.

Reply
  • 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.

Children
Related