In the "light_8258" example code of "tellink mesh sdk", when light is on/off, "online status" is received as OPCODE 0xDC and "APP" determines the status of light.
The definition of it is in "light_ll.h".
#define LGT_CMD_LIGHT_ONLINE 0x1c//get online status req//internal use
It says "internal use" and I can't find anywhere in the source code to modify it. I'm going to control two lights at 8258. Therefore, I think I need to reflect the on/off status value for this status value L light 1 and light 2, is there a way?
No related topics |
Hi,
Do you want to actively obtain the state of the Lights status through the APP? I don't quite understand your needs