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.

CC2530: Suitable Device ID

Part Number: CC2530

Hi.

I'm going to create a simple outside temperature sensor (ZCL_HA_DEVICEID_TEMPERATURE_SENSOR) and plain display unit that will hang on the wall inside. What Zigbee Device ID should I use for display unit? It will only display outside temperature and nothing else.

  • Couldn't understand your question. What do you mean "What Zigbee Device ID should I use for display unit?"
  • Here is a simple decriptor for temperature sensor:

    SimpleDescriptionFormat_t zclSampleTemperatureSensor_SimpleDesc =
    {
    SAMPLETEMPERATURESENSOR_ENDPOINT, // int Endpoint;
    ZCL_HA_PROFILE_ID, // uint16 AppProfId[2];
    ZCL_HA_DEVICEID_TEMPERATURE_SENSOR, // uint16 AppDeviceId[2];
    SAMPLETEMPERATURESENSOR_DEVICE_VERSION, // int AppDevVer:4;
    SAMPLETEMPERATURESENSOR_FLAGS, // int AppFlags:4;
    ZCLSAMPLETEMPERATURESENSOR_MAX_INCLUSTERS, // byte AppNumInClusters;
    (cId_t *)zclSampleTemperatureSensor_InClusterList, // byte *pAppInClusterList;
    ZCLSAMPLETEMPERATURESENSOR_MAX_OUTCLUSTERS, // byte AppNumInClusters;
    (cId_t *)zclSampleTemperatureSensor_OutClusterList // byte *pAppInClusterList;
    };

    I need to specify simple descriptor for display device and set AppDeviceId.

  • I don’t remember Zigbee define specific ID for temperature display. Why don’t you use ZCL_HA_DEVICEID_TEMPERATURE_SENSOR?
  • I thought it's for temperature sensors only and somehow influences it's behavior relative to other devices in the network. What is the meaining of this parameter? Does it somehow influence binding procedure?
  • It’s for recognizeing what kind of this device is. It doesn’t impact binding procedure.