I want to wake up a device with WOL, but I always get a Socket error when I try to send an UDP packet, even with a minimal example such as:
var s = new UDPSocket();s.send("ABC", "10.0.0.2", 4100);
The code works flawlessly in the simulator, and even wakes up the device, but as far as I can tell, my TSU 9600 with firmware 7.4.22 doesn't even try to send anything, and instead throws the Socket Error when send() is called. The error occurs with any destination address I've tried, e.g. multicast, broadcast, existing local or remote hosts. TCP sockets to control the device in question or other devices work as expected. Other devices in the same WiFi network can send WOL packets without issues. PEP Version is 184.108.40.206. I've even started a new master project from the supplied templates, with no change in behavior.