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.

CCS/CC3200-LAUNCHXL: Connecting cc3200 to openVPN as a client

Part Number: CC3200-LAUNCHXL
Other Parts Discussed in Thread: CC3200

Tool/software: Code Composer Studio

Hello,

1.  I am trying to get the cc3200 to connect to an openvpn server as an openvpn client. Is there an easy way to do this and how? I have the default example working on how to connect to a wifi access point to internet, but now I want to connect through a VPN. I would like to modify the example so that I can connect to internet as a vpn client. 

2. I noticed that there is a MQTT protocol that can also be used for secure comms with the CC3200, but have some concerns as to what is the data rate compared to if I do not use MQTT but rather modify the default wifi example to connect via VPN?

Thank you,
-iFer

  • Hi iFer,

    1. There is no direct support for VPN at CC3200 API or SDK. You need to create support for this feature by your code (find some 3rd party library or create code according specification)

    2. MQTT protocol is different thing than VPN. This is a IoT protocol for data exchange between devices. It is commonly used for a smaller amount of data. Inside CC3200 SDK is a MQTT protocol example.

    Another option for secure sending data can be for example https.

    Jan
  • Hello Jan,

    Thank you for the reply. The CC3200 MQTT solution sounds like it won't be a high enough data rate and also sounds like CC3200 is not inherently VPN compatible. I am looking for a wifi module that interfaces either with TI's M4 running Starterware or RTOS and allows for VPN client capability. What Wifi module do you recommend that I use that supports VPN and that is interfacing directly to an m4 that is either running TI RTOS or bare metal c code with TI Starterware libraries?

    Thank you!,
    -iFer
  • Hi iFer,

    You should write what you expect from that module (throughput, etc.). VPN and MQTT are basically two different things. I am not sure what you need to. You cannot expect from any kind of Cortex-M4 to be high performance solution.

    For you purpose will better suits processor with Linux capability (like Sitara A8 + WiLink Wifi - e.g. www.ti.com/lit/ml/sprt721/sprt721.pdf ).

    Jan