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.

CC2538DK: guide to connect to the philips hue bulb

Part Number: CC2538DK
Other Parts Discussed in Thread: CC2538, Z-STACK

I bought the cc2538 development kit. Now I want to compile the code and connect the board to the Samsung outlet.

1. Which project should I compile? or how should I modify the code?

2. I tried samplelight and sampleswitch project. However, the board will not successfully connect to the device and send "leave" message to terminate the connection.

Here is the capture.

  • Assuming that you are evaluating Z-Stack 3.0.2, set BDB_DEFAULT_TC_REQUIRE_KEY_EXCHANGE to FALSE to allow Zigbee HA Profile devices to join without exchanging a Trust Center Link Key.

    Regards,
    Ryan

  • I have set it False. However, it does not work. I still see the leave message.

    I changed the BDB_DEFAULT_TC_REQUIRE_KEY_EXCHANGE to FALSE

    I compiled the sampleswitch coordinator project (Z-stack 3.0.2) to cc2538 board. Then I tried to connect it with the Samsung smart outlet. Then I get the capture below.

    Any help appreciate.

  • Clean and rebuild your project, also erase all memory on your CC2538 before re-programming, BDB_DEFAULT_TC_NODE_JOIN_TIMEOUT still appears to be active.  You can also further debug your project to determine how the "if(tempJoiningDescNode->NodeJoinTimeout == 0)" statement of bdb_TCProcessJoiningList is handled.

    Regards,
    Ryan