This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Multicast CC3000

Other Parts Discussed in Thread: MSP430FR5739

Hello,

I must write again. I use msp430FR5739 with cc3000, and i want to do multicast from my PC to network, and i want that my devices (cc3000) on network answered me with IP and MAC adress.

I was saw in firmware, function mDNS, but that is Apple protocol for MAC and iPhone, and if i use mDNS function i must use Bonjour browser to detect my devices. I want make somethink like UPnP protocol.
My question is:
Did cc3000 supported multicast?
If suported, did i must turn on (like on ethernet controler)? And where is multicast on protocol stack?

  • Hey!

    For multicast, open a Socket with UDP and you can broadcast messages using that!

    While sending data, Set Last byte of Default Gateway as 0xFF or 255. You will be able to broadcast the message.

    To limit your broadcast, you can implement your own encryption or data format so that only desired nodes can understand the transmission.

  • Hello,

    Does CC300 support below protocols?

    SSDP

    SOAP

    Does CC3000 support UPnP protocol?


    If any body has sample code or another document for UPnP support in CC3000?

  • It depends what you mean by support.

    SSDP is not provided with the CC3000 firmware. You may be able to implement this yourself (in fact you may need to).

    SOAP isn't a network protocol, but rather an implementation of XML for webservices. If you could get a web server up and running on the CC3000, you could code some SOAP services. Discussion on implimenting a web server can be found here - http://e2e.ti.com/support/low_power_rf/f/851/t/313679.aspx

    UPnP is not provided. The CC3000 uses SmartConfig to join a network, it is the coolest and best feature about the CC3000, it makes it very simple to join a CC3000 device to a network. More information here - http://processors.wiki.ti.com/index.php/CC3000_Smart_Config

    Glenn.

  • Hello narav Patel3,

    I tried to implement UPnP and SSDP protocol on MSP430FR5739 development board, but unsuccessful. The reason of that is SRAM limitation of microcontroler. I tried to include freeRTOS to run HTTP server, UDP and TCP at same time. And this microcontroler for this operation had a little memory. If you have some better microcontroler you can try implement UPnP and SSDP yourself. All other information you have in last post of Glenn Vassallo. 

    Radovan.

  • Hello Glenn,

    Thanks for providing this detail.  We want to use, port forwarding in router so that our device which is in local LAN behind firewall can be operated from internet also.

    To add port forwarding rule, we want to rely on UPnP's IGD (Internet Gateway Device) service. i.e. user need not to configure anything and device itself take care of it by UPnP.

    For UPnP, we need SSDP to find service offered by router/hotspot and SOAP  to add port forwarding.

    Since SSDP and SOAP is not provided on CC3000 firmware ... we need to implement it our self.

    Now as you said , SMART Config is an option. So does Smart Config is capable of providing option i.e. port forwarding that we want to use, using UPnP?

    Regards,

    khodidas

  • Khododas,

    I recommend you read the details of smartconfig, so you get a better idea of how it works. You can also find out more from George Hawkins site - http://depletionregion.blogspot.com.au/

    But basically you use smartconfig to join a CC3000 device to the same wifi router that you have your smartphone or computer on, that is being used to configure the CC3000 device. So port forwarding as you have suggested, is not really applicable.

    Again, I recommend you do a little reading.

    Glenn.