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.

CCS/CC2530: Binding of two End-Devices

Part Number: CC2530
Other Parts Discussed in Thread: MSP430F2370, , Z-STACK

Tool/software: Code Composer Studio

Hello,

i am working with the CC2530 Zigbee Chip in combination with an application processor (MSP430F2370).

My minimal system looks like this: 1 Coordinator + 2 End-Devices.

My approach shall be to bind these 2 End-Devices to each other as I send a ZDO_END_DEVICE_BIND_REQ from each end device to the coordinator after I registered my application with AF_REGISTER. But I always get the response 0x89 back. The end device bind request was unsuccessful due to a failure to match any suitable clusters.

End-Device 1: Switch (send message to End-Device 2) = Client

End-Device 2: ON/OFF (receives message and switches a lamp on/off) = Server

I use the following application configurations from the ZNP2530 Mini Kit:

struct applicationConfiguration getApplicationConfigurationForEndDevice()
{
    printFtdi("Getting Application Configuration For End Device\r\n");
    struct applicationConfiguration ac;
    memset(&ac, 0, sizeof(struct applicationConfiguration));
    ac.endPoint =                       DEFAULT_ENDPOINT;       //0xD7
    ac.profileId =                      DEFAULT_PROFILE_ID;     //0xD7D7
    ac.deviceId =                       DEVICE_ID;              //doesn't matter
    ac.deviceVersion =                  DEVICE_VERSION;         //doesn't matter
    ac.latencyRequested =               LATENCY_NORMAL;
    ac.numberOfBindingInputClusters =   1;
    ac.bindingInputClusters[0] =       	0x0001;
    ac.numberOfBindingOutputClusters =  0; //1
    return ac;
}

I don't really know how I have to configure the bindinginputcluster and bindingoutputclaster. They are different for End-Device 1 and 2? And which role plays the coordinator. The Coordinator is actually only available in order to route the messages, so that I dont need there application registrations, correct?