Thanks for the answer.
I didn’t write any code yet. I tried to understand how it works first. I used the application Packet Sender, where I entered the long hexedecimal expression in HEX field, the ip address of the bulb in Address field, 56700 in Port field, slected UDP and then Send. However, nothing happens.
I also tried to use node-lifx library but failed to make it work. In examples/interactive-cli.js, I added some parameters as follows:
address: ‘10.42.0.1’, // this is the ip address of the wifi interface
broadcast: ‘10.42.0.255’, // got this by running ipconfig
lights: [‘10.42.0.68’] // this is the ip address of the lifx bulb
However, nothing happened, even with the discovery turned on or off. Is there any missing parameter/configuration?