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

Command to send Beacon

Hello,

I would like to program the NRF52840DK to send ZigBee beacon(not beacon request) to the end devices, but I cannot seem to find the API, etc. to do so. 

Or perhaps is there any possible way to broadcast something to a network via PAN ID?

May I know how to do these? 

Regards,

Terence

  • Hi Terence

    It would help to know what you want to achieve with this. Why do you want the Zigbee device to send a beacon to the end device? Beacon requests and responses are used for network discovery, where the device that wants to connect to a network sends out a beacon request. This request is received by a Zigbee coordinator or by Zigbee routers, and these devices will then send a beacon response back to the first device.

    Broadcasts are used to send messages to all devices in the Zigbee network. The transmission is sent once by the device that initiated the message, and is then repeated by the coordinator and routers so that it propagates through the network. In order to broadcast a message you'll have to use one of the broadcast addresses. The different broadcast address options for our SDK, which can also be found here, are:

    Enumerator Address Description
    ZB_NWK_BROADCAST_ALL_DEVICES
    0xFFFF
    All devices in PAN
    ZB_NWK_BROADCAST_RX_ON_WHEN_IDLE
    0xFFFD
    macRxOnWhenIdle = TRUE (all non-sleeping devices)
    ZB_NWK_BROADCAST_ROUTER_COORDINATOR
    0xFFFC
    All routers and coordinator
    ZB_NWK_BROADCAST_LOW_POWER_ROUTER
    0xFFFB
    Low power routers only
    ZB_NWK_BROADCAST_RESERVED
    0xFFF8
    Reserved value

    Best regards,

    Marte

  • Hi Marte,

    Correct me if I'm wrong. So by setting the the destination address of a command to 0xFFFF, it will send it to all devices?

    Regards,

    Terence

  • Hi Terence,

    Yes, when using the address 0xFFFF (or ZB_NWK_BROADCAST_ALL_DEVICES in our SDK), it should be sent to all devices.

    Best regards,

    Marte

Related