mdns-search: add an example using the lwip mDNS service search code.
This commit is contained in:
parent
832c1e64a7
commit
289ee8bed4
5 changed files with 180 additions and 0 deletions
11
examples/mdns-search/Makefile
Normal file
11
examples/mdns-search/Makefile
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Makefile for mDNS search example
|
||||
PROGRAM=mdns-search
|
||||
EXTRA_COMPONENTS=extras/dhcpserver extras/wificfg
|
||||
|
||||
# For the mDNS responder included with lwip:
|
||||
EXTRA_CFLAGS += -DLWIP_MDNS_RESPONDER=1 -DLWIP_NUM_NETIF_CLIENT_DATA=1 -DLWIP_NETIF_EXT_STATUS_CALLBACK=1 -DLWIP_MDNS_SEARCH=1
|
||||
|
||||
# Avoid writing the wifi state to flash when using wificfg.
|
||||
EXTRA_CFLAGS += -DWIFI_PARAM_SAVE=0
|
||||
|
||||
include ../../common.mk
|
||||
Loading…
Add table
Add a link
Reference in a new issue