Hi
there is a sample code (sample light )which was supply by zstack ,it is ok to control one light in the device。
if there is two light were connected in the same device。
how could we change the sample code to achieve it ?
as i though , it needs adding a new endpoint,one endpoint control one light 。
and is that ok to copy zcl_samplelight.c ,zcl_samplelight_data.c,zcl_samplelight.h as zcl_samplelight-1.c ,zcl_samplelight_data-1.c,zcl_samplelight-1.h
then just change the endpiont value and all samplelight name to samplelight-1?
Or there is more step need to be do ?
BR