Skip to content

Commit

Permalink
Update udp_multicast.rst
Browse files Browse the repository at this point in the history
Signed-off-by: IhorNehrutsa <[email protected]>
  • Loading branch information
IhorNehrutsa authored and IhorNehrutsa committed Dec 21, 2023
1 parent 7bad15e commit 74a2839
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/esp32/tutorial/udp_multicast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,19 @@ UDP MULTICAST
Use UDP MULTICAST connections to communicate between two devices in different networks
with IP-addresses 172.16.55.55 and 192.168.44.44.

Run `udp_multicast_client.py <https://github.com/micropython/micropython/blob/master/examples/network/udp_multicast_client.py>`_ on another device.
Run `udp_multicast_client.py <https://github.com/micropython/micropython/blob/master/examples/network/udp_multicast_client.py>`_ on one device.
Client send GET and receive ACK from the server.

Output is::
Output is::

GET to ('224.0.0.111', 5555) sent "client_ip:172.16.55.55 mac:b8-d6-1a-5a-c2-e4"
ACK from ('192.168.44.44', 5555) received "server_ip:192.168.44.44 mac:24-6f-28-7a-f3-9c"
GET to ('224.0.0.111', 5555) sent "client_ip:172.16.55.55 mac:b8-d6-1a-5a-c2-e4"
ACK from ('192.168.44.44', 5555) received "server_ip:192.168.44.44 mac:24-6f-28-7a-f3-9c"
...

Run `udp_multicast_server.py <https://github.com/micropython/micropython/blob/master/examples/network/udp_multicast_server.py>`_ on one device.
Run `udp_multicast_server.py <https://github.com/micropython/micropython/blob/master/examples/network/udp_multicast_server.py>`_ on another device.
Server receive GET and send ACK to the client.

Output is::
Output is::

GET from ('172.16.55.55', 5555) received "client_ip:172.16.55.55 mac:b8-d6-1a-5a-c2-e4"
ACK to ('224.0.0.111', 5555) sent "server_ip:192.168.44.44 mac:24-6f-28-7a-f3-9c"
Expand Down

0 comments on commit 74a2839

Please sign in to comment.