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

Questions regarding ZigBee MAC address

Hi team,

Some questions from my customer as below regarding on ZigBee MAC address usage, could you please help to clarify?

Q: If a Router wants to obtain a new device ZigBee MAC address, do we have any example in our ZigBee SDK to support this?

Thanks!

Leon

  • Hi,

    Yes, we do have sample code for discovering peers in the Zigbee benchmark example (located in examples\multiprotocol\benchmark\zigbee). This example provides a command line interface, and you con discover peers using the command 'test peer discover'. This will give you a list of devices and their 16-bit network address. The 16-bit address can be translated into IEEE address using the command 'zdo ieee_addr <nwk_addr>'.

    If you want to do this discovery in application, please have a look at zigbee_benchmark_peer_discovery_request_send() in components\benchmark\zigbee\zigbee_benchmark.c.

    Best regards,
    Jørgen

Related