Skip to content

Test program blocks at UDP packet receiving #1

@PhilWheat

Description

@PhilWheat

The test program blocks at the line:
byte[] receivebytes = receivingUdpClient.Receive(ref RemoteIpEndPoint);

This is happening because the app is not receiving a response from any bulbs on the UDP packet. Items to test for troubleshooting:
Check IP Range - currently the package assumes 192.168.1.xxx IP range. Package needs to be modified to auto-detect the local IP and adapt the IP range accordingly.

Check Firewall - the first time the program is run, Windows firewall may require permission to be given. When it is given, the program needs to be re-run. Package needs to time out and re-send packets to overcome this (and some other lossy) scenario.

If the blocking line is inside the while (receivingUdpClient.Available > 0) loop, please open a separate issue item for additional requirements troubleshooting.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions