lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] mDNS


From: Louis Demers
Subject: [lwip-users] mDNS
Date: Fri, 8 Dec 2017 13:29:48 -0500

Hi,

I'm new to lwip(coming from uip) and total newbie about mDNS so bare with me.

        I'm trying to get mDNS to work on our microbes eval board (Zynq). I've 
successfully replaced lip 1.4.1 from xilinx with the latest lwip 2.0.3. Got 
basic things working (telnet and http). But can't get my head around mDNS.  I 
followed the instructions and got the following results

1) if i call the 

netif_set_up(&netif);
// Delay needed
mdns_resp_init() ;
mdns_resp_add_netif(&netif, "zynq", 60); 
mdns_resp_add_service(&netif, "Web", "_http", DNSSD_PROTO_TCP, 80, 60, srv_txt, 
NULL);

it practically never works. If i insert a delay after netif_set_up(&netif), 
then it works...

2) During development, i choose a short TTL (60 sec). My bug/problem is that 
after TTL seconds, the service is no longer visible. I thought i needed to 
re-add the service but that didn't work either....
Sniffing with wireshark, I only see the 3 packets coming out of the board,

1 after mdns_resp_add_netif()
2 after mdns_resp_add_service()


Thanks for any clue...



Louis Demers eng. 
Co-Founder
Obzerv Technologies Inc.
400 blvd. Jean Lesage, suite 201
Quebec, QC, Canada
G1K 8W1
T: 418.524.3522
F: 418.524.6745
C: 418 953-6204





reply via email to

[Prev in Thread] Current Thread [Next in Thread]