Topic

FAQ
Login Register
How to edit "LIGHT ON LINE" Value (tlsr825x mesh sdk)
Feb 14, 2023 05:52

/

A

/A


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?



1 replies
TL_Soyo Feb 14, 2023 10:17
0
/A

Hi,

  Do you want to actively obtain the state of the Lights status through the APP? I don't quite understand your needs