How to issue ZigBee ZDO Device Announce ?

What API could be used to send out ZDO Device announce, when router (zr) or end device joins network ?

Is there any sample code could be referenced?

Thanks,

Robert

Parents Reply
  • Hi Robert,

    When the device restarts and it has previously been joined to a network it will generate the signal ZB_BDB_SIGNAL_DEVICE_REBOOT. If you want to overwrite the default handling of this signal, or do something in additional, you can do so by handling the signal in zboss_signal_handler. In this way, you can make the device send a command when it rejoins. You should make sure that the device still stops network rejoin if the device successfully rejoins when this signal is generated (stop_network_rejoin), so do not override it completely.

    You cannot manually send a device announcement, as that command is not available to the application, so you must find another way to handle this.

    Best regards,

    Marte

Children
No Data
Related