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

How to send Zigbee Announcement command

Hi to everybody,

there's a way to force a Zigbee router device to send Announcement Command at certain time interval also if it's already joined to a network?

I saw that an End Divice (i.e. light_switch example) sends this command at every start, the router instead  send this command only at the moment of join (i.e. light_bulb example).

BR

Maurizio

  • Hi Maurizio,

    Can you explain more in detail what is that you want to achieve? New nodes that joins (or rejoin in the case of ZEDs) a network are announced to the network by a broadcast ZDO command device announce. After this a coordinator may then use ZDO discovery services to discover more information about the node.

    In the case of ZEDs, device announce is an important part of the rejoining process, as if they have lost contact with their old parent and find a new one they will need to tell the network that the node have been moved, this is specified by the Zigbee Base Device Behaviour specification.

    The initialization procedure steps for both routers and end devices is explained in section 7 of the Zigbee Base Device Behaviour specification. 

    Best regards,

    Marjeris

  • Hello,

    thank you for reply.

    Can you explain more in detail what is that you want to achieve?

    Simply I need to send a ZDO command device announce at specified time period. 

    The goal is to know whitch router are alive on the network monitoring the device announce commands received on the coordinator.

    It would be enough to know how to send this command.

  • Hi Maurizio,

    This command is passed by the stack when the device joins/rejoins the network. I think the only way to send this command at a specified time period would be to leave the network and join again with the given time period, which I suppose is not what you are looking for.

    If the goal is to know if a router is alive on the network you could rather send a match descriptor request to all devices on the network and then parse the response to optain the short address of the nodes.

    Best regards,

    Marjeris

  • Hi Marjeris,

    at the end I've solved by making Announcemend packet through zb_aps_send_user_payload()

    BR,

    Maurizio

Related