What do you mean it doesn't work? If the initial broadcast is lost because your link is not ready, that should not matter. What client do you use? You have to query for the host/service and not just depend on broadcasts from the device.
On 8 December 2017 at 19:29, Louis Demers <[email protected]> wrote: > 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 > > > > _______________________________________________ > lwip-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/lwip-users >
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
