Hello everyone,
I need some advices about assigning multiple endpoints to one ZigBee device. Basically, I am developing a temperature measurement device on which can be attached up to 2 temperature sensors. So, I need two endpoints, one for each sensor. These sensors need to work independently, each sensor need to send attribute report(measured temperature) at given time, also each sensor need to process zcl_read_attribute cmd...
In order to achieve that functionality, Do I need to define separate task for each endpoint and add it in osal task array? (sensor1_task, sensor2_task)
On both sensors I am using basic cluster attributes, so these attributes will be duplicated on both endpoints, I am not sure that is good approach ??