Jump to content
43oh

MSP430F5529 & CC3000 mDNS with Energia


Recommended Posts

I am using MSP430F5529 LP with CC3000 boosterpack, Energia v12.  My goal is to make the F5529LP device mdns discoverable so the mDNS Watch app can find it.

 

Using example sketch 'SimpleWebServer',  I have added below line after the wireless connection is established. But the mDNS Watch app can't find the F5529 device (the app can find other BonJour devices)

 

 

void loop() {

.......
int ret=0;
ret=mdnsAdvertiser(1, "CC3000", 6);
Serial.println("MDNS Advertizing returning!");
Serial.println(ret);
delay(5000);

.......

}

 

I see that the mdnsAdvertiser call is returning -67 or 189. But it should return 1 or 0 right? Wondering if I am missing any driver/firmware setup. 

Also I tried Wireshark and used the display filter "dns and udp.port eq 5353" but Wireshark is not showing anything with the filter. 

 

Please suggest. 

Link to post
Share on other sites

I replied to your post over at stelarisiti in the mDNS library thread.

 

Another problem might be that your Router isnt forwarding multicast pakets between LAN and WiFi, my former router had that bug, is was an Easybox803 router, now with my new Fritzbox everything is fine.

 

I don't know if the mDNSAvertiser bug returning bogus values is fixed in the last firmware, just ignore the returncode, i think the only moment it fails might be when all of the 4 ports the cc300 supports are in use or when it isnt connected to an access point.

 

best regards, Thorvard

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...