You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was needed to use ArduinoMNS
it was tested on nucleo-f767zi
[Sandeep Mistry]
Add virtual beginMulticast(...) stub to UDP class
Change-Id: I7cb92be0c88d350408ecc21f1662299b0721856a
Origin: arduino/ArduinoCore-avr@5a05bf0
Author: Sandeep Mistry <s.mistry@arduino.cc>
Signed-off-by: Philippe Coval <p.coval@samsung.com>
Copy file name to clipboardExpand all lines: cores/arduino/Udp.h
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,8 @@
41
41
classUDP : publicStream {
42
42
43
43
public:
44
-
virtualuint8_tbegin(uint16_t) =0; // initialize, start listening on specified port. Returns 1 if successful, 0 if there are no sockets available to use
44
+
virtualuint8_tbegin(uint16_t) =0; // initialize, start listening on specified port. Returns 1 if successful, 0 if there are no sockets available to use
45
+
virtualuint8_tbeginMulticast(IPAddress, uint16_t) { return0; } // initialize, start listening on specified multicast IP address and port. Returns 1 if successful, 0 on failure
45
46
virtualvoidstop() =0; // Finish with the UDP socket
0 commit comments