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.

SETUP GPIO IN CC2430DB from CC2430EB



Hi everybody : )

I'm using the simple application from zstack1.4.3-1.2.0  and I'm trying to setup a GPIO high/low on CC2430BB "simple sensorDB" by launching a command over the air using a key

event from CC2430EB "simple collectorEB".

is it possible? and how can i proceed knowing that i've tried to make it but i can't get succesful result ?

Does anyone have any suggestions.

can anyone help me please showing me the right way to do it.I really need a help.

Thanks : )

  • Hi everybody

    any suggestions please i really need your help.

    i have to set an event in joystick 3 in collector

    //CC2430EB

    if ( keys & HAL_KEY_SW_3 )
        {


        }

    //

    this event must setup a GPIO in CC2430BB "end point".

    is it possible or not because i've tried and it doesn't work.

    i really need your help.

    best regards.

  • You are struggling with the concept of "bi-directional" data communication, which is not the default setup in the simple collector and sensor. Understanding the concepts related to this is essential to being successful with ZigBee. Thankfully, the topic has been discussed at great length on this forum and all you have to do is search for "bi-directional" to see all of the threads. By studying those threads you will learn about the significance of the various parts of the ZigBee EndPoint and Descriptor. In your particular case, simply look at SimpleCollector.c and SimpleSensor.c and see that the collector is not configured to send anything out (#define NUM_OUT_CMD_COLLECTOR                0) and the sensor is not configured to receive anything in (#define NUM_IN_CMD_SENSOR                 0)

    Good luck and have fun!