I am trying to query all lifx devices using the GetService function and determine their IP addresses. However, I am getting no response back from the bulbs. I have monitored the connection using wireshark and see the broadcast to 255.255.255.255:56700 but no responses. I tried using the actual broadcast IP address but it made no difference. I also used delfick’s photon application to see if it was my code but it was not able to find any devices either. The LIFX app works perfectly fine and is able to control the bulbs. What could be causing this?
This is the discovery packet I’m currently sending:
24 00 00 34 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00