I am running the following application on my spark core.
At the time of this writing, I have run loop() 560 times, and have received exactly 5 on wireshark, which is listening on the wifi interface on my Mac on the same WiFi network as the spark.
unsigned count = 0;
void setup (void)
void loop (void)
Serial.print ("UDP ");
Udp.beginPacket (IPAddress (255,255,255,255), 12345);
Now, when I change the IPAddress to the WiFi address of my Mac, it works every time.
I’m pretty sure what I’m doing is legal; there’s no reason why I shouldn’t be able to do this that I know of.
I have also used the subnet broadcast address (192.168.254.255) and I got the same results as a normal broadcast.
Would someone please explain this? Is this my WiFi AP? Is this the spark core?