hello.
I think there's a misunderstanding in the question, so I'm asking you again.
The functions on the above source code are similar in form
1. For the "void light_sim_notify_mesh(void)" function
Comnad Opcode became LGT_CMD_NOTIFY_MESH
2. For the "void light_sim_light2light(void)" function
Comnad Opcode became LGT_CMD_LIGHT_ONOFF.
I'd like to know about each use.
No related topics |
Hi,
light_sim_notify_mesh() will try to send the msg to phone(the phone will recived msg while it is connectting a node in the mesh network) ,light_sim_light2light() is a basic function used to send cmd to node in the mesh network.