This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-CC26X2R1: zed_sw example: No discovery

Part Number: LAUNCHXL-CC26X2R1
Other Parts Discussed in Thread: SYSCONFIG, Z-STACK, CC2531

Good afternoon

My first cc26x2 launchpads arrived jsut now...so I built the zed_sw project and uploaded it....fine...and the readme.html tells me to press BTN1 to start the commissioning process...but when I search for a new ZigBee device in my home automation system (HA) it doesn't find this new device...

So did I missed to change some configuration values upfront before building?

thanks in advance

richard

  • Just tried the zed_light example.....see in the console that it changes to "Initialized" when pressing BTN1...but also not discoverable by home assistant...

  • Hi Richard,

    Do you have a sniffer device available to view what is happening over-the-air?  Have you configured the primary channel mask inside the Z-Stack project's SysConfig (Z-Stack -> Radio -> Primary Channels) to match that of your existing network?  This can also be modified from the Common User Interface (CUI) you've referenced in your screenshot.  If your system uses Zigbee HA 1.2 Specification then you must set requestNewTrustCenterLinkKey to FALSE in zd_sec_mgr.c so that the Zigbee 3.0 device does not request a TC Link Key update, for which it will give up on joining the network without a new key after BDBC_TC_LINK_KEY_EXANGE_TIMEOUT ms.  It may help to get more familiar with the Z-Stack projects by commissioning a ZED switch to a ZC light network.  You can refer to the Zigbee Project Zero SimpleLink Academy Lab.

    Regards,
    Ryan

  • This worked ;-)

    Though switching on/off and changing brightness has a delay between 2 and 3 seconds.....my other ZigBee lights are much faster respsonding...

    For the sniffing part...sure this would be nice..but seems on Linux so far only the cc2531 usb dongle is supported with Wireshark....not sure if I can use the CC26X2 launchpad as well..besides, which firmware to flash then:

    ./cc26x2r1lp/sniffer_fw.hex
    ./cc26x0lp/sniffer_fw.hex
    ./cc2652rblp/sniffer_fw.hex

    Have an old cc2531 USB dongle here..but the CC debugger is still on its way to my home for flashing (o;

  • Your ZED's maximum latency is dependent on the POLL_RATE (default 3000 ms in SysConfig -> Z-Stack -> Power Management -> Poll Period).  You can use the cc26x2r1lp hex image and refer to the Zigbee Packet Sniffing Solutions E2E post.

    Regards,
    Ryan

  • Soon weekend to do more experiments with this great stack (o;

    Sadly those document describes only Wireshark for Windows as the plugin files are .dll only...not sure if the supplied sources would compile on Linux and be usable...