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.

CC3200_Transparent_Mode

Other Parts Discussed in Thread: CC3200

Hello all,

I hope that you are well. I would like to consult by you about the behavior of CC3200, if I can?
I try to implement so called "Transparent mode" (or Bridge mode) between UART and TCP communication in CC3200. For that reason I have built the following algorithm:
- connect to AP
- open TCP socket
- go in "Transparent mode"
My general question is: If it's possible to implement such kind of Mode ("Transparent mode") in CC3200 and is there any SKD's example for that? Thanks in advance!


Best regards,

Sergey Mihaylov.

  • Hi Sergey,

    Are you trying to route all packets/information received over TCP onto the UART? Is this correct?

    Best regards,

    Naveen

  • Hi Naveen,

    Yes, that's I trying. When I receive packet over TCP, I route this packet byte by byte onto UART, and it works fine. But when I try to send data over UART and route this data onto TCP, I can't build working algorithm (I lose data when I try to send a large amount of data).

    In internet I have read that there are devices which support so called UART2TCP bridge behavior (and reverse). I will try to explain with a few words, what I want get to, when CC3200 go in this Transparent (or Bridge) mode:

    - basically the configuration between devises (which I have) is       HOST -> CC3200 ---- wifi network----> AP->SERVER (for server I use a PC on which I have a terminal program. This program can catch TCP packets, which I send by CC3200 and visualize them on PC desktop).
    - HOST communicate with CC3200 by UART
    - CC3200 communicate with SERVER by AP
    - AP communicate with SERVER thought LAN cable 
    - I start to implement this "Transparent" mode as a while loop, in which I use the both TCP API functions sl_Send() and sl_Recv() , in NON bloking mode and both UART function UARTCharPutNonBlocking() and UARTCharGetNonBlocking().

    The main purpose in that case is: When some data receive from HOST in CC3200 (by UART), this data to be transport to SERVER by TCP packet(s). And when SERVER send some TCP data packets to CC3200, this data to be transport to HOST by UART. Because of that this mode is called "Transparent" or "Bridge". It's a "Bridge" between UART and TCP communication.
    I would like to understand how can use CC3200 to transfer large size files (over 3 Kbytes for example) between two network points (HOST to SERVER and SERVER to HOST),or if it's possible to transfer large size files using CC3200 between mentioned network points, which is the main goal in my "Transparent"(Bridge) mode?

    Best regards,

    Sergey.

  • Hi Sergey,

    For school i have to build a connection between a microcontroller (UART) and a smartphone (WIFI). This project has many similarities with yous. I already have purchased a cc3200 launchpad.

    my question is:  May we see your code in order to start my project?

    Best regards,

    Dirk