flux_led icon indicating copy to clipboard operation
flux_led copied to clipboard

curious about how did you capture the control package?

Open squallee opened this issue 8 years ago • 3 comments

To get the control protocol, I think you have to capture the led bulb control package first. By learning your code, I found that the package is a UDP DGRAM. But when I try to capture these packages with Wireshark and Tcpdump, I got nothing. I tried to use: tshark host 192.168.128.187 and tcpdump port 48899, but I didn't get anything. How did you accomplish that? Thank you.

squallee avatar Dec 16 '16 04:12 squallee

I used ssl packet capture on my phone. I think you heed to be on either the sending or receiving machine to capture anything meaningful

ChefsSlaad avatar Dec 16 '16 04:12 ChefsSlaad

Thank you very much! Really inspiring and rapid reply.

squallee avatar Dec 16 '16 06:12 squallee

The other way of capturing is if the data flows through a PC. In other words your phone would connect to your PC's wifi and you would bridge your PC's wifi and ethernet connections. Then you should be able to use software like Wireshark.

wayner9 avatar Dec 22 '16 15:12 wayner9