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.

Two Endpoints in one device

Hi! Is it possible to use two logical enddevicse like termostat and temperature sensor in one CC2530SOC. What is the way?

  • Yes, it is possible. You can refer to http://processors.wiki.ti.com/index.php/Multi-endpoint_device_implementation and have some hand-on by yourself.
  • Hi! Mr Chen. I have read abovementioned link and try to change TemperatureSensor from HA profile for work as TempSensor and HeatingCoolingUnit simultaneously. But I have some questions:
    1. What do I with second osal_init_tasks()?
    2. As I understand, zcl_RegisterEZMode, ZDO_RegisterForZDOMsg, must be only one like RegisterForKeys and zcl_registerForMsg? But how in that case i can see second device in EZ mode?

    Thank you in advance. Michael
  • 1. You can have only one osalInitTasks(). However, you can initialize different things with different taskIDs in one osalInitTasks(0.
    2. You can revise the code to use different key to trigger EZ-mode for second device. For example, SW2 is used to trigger ez-mode for first device and SW4 is for second device.