Project Description

  • Summary:

    The default arduino ethernet library doesn’t support multicast, however the W5100 chip on the ethernet shield does support one multicast address per socket.
    W5100 data sheet Media:w5100.pdf
    A multicast capable library compatible with the standard Ethershield library is now available: Media:EthernetMulti.tar.gz
    One method UdpClass::beginMulti(uint16_t portMulti, uint8_t * addrMulti) has been added. the parameters are the UDP port portMulti, like UdpClass::begin(uint16_t port), and a multicast IP address addrMulti (no class D checking yet).
    Modified example program UDPSendReceiveString listening on multicast address 239.0.0.57 port 12345

  • Key Part List

*Author: tkkrlab

*source:https://tkkrlab.nl/wiki/Arduino_UDP_multicast