open-ameba/sdk/component/common/example/mcast
Drasko DRASKOVIC eeb7f808ae Change SDK dir name. Use OpenOCD only.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2017-05-14 18:47:13 +02:00
..
example_mcast.c Change SDK dir name. Use OpenOCD only. 2017-05-14 18:47:13 +02:00
example_mcast.h Change SDK dir name. Use OpenOCD only. 2017-05-14 18:47:13 +02:00
readme.txt Change SDK dir name. Use OpenOCD only. 2017-05-14 18:47:13 +02:00

LWIP MULTICAST EXAMPLE

Description:
Join multicast group of 224.0.0.251 and listen on port 5353. 
Send packet with the content of received packet to multicast group of 224.0.0.251.

Configuration:
[lwipopts.h]
    #define LWIP_UDP     1
    #define LWIP_IGMP    1
[platform_opts.h]
    #define CONFIG_EXAMPLE_MCAST    1
	
Execution:
Can make automatical Wi-Fi connection when booting by using wlan fast connect example.
A multicast example thread will be started automatically when booting.