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.

Compiler/CC3200: How to setup WLAN RX/TX Characteristics

Part Number: CC3200
Other Parts Discussed in Thread: CC3100,

Tool/software: TI C/C++ Compiler

Hi

     I want to know  how to setup WLAN Receiver Characteristics and  WLAN Transmitter Characteristics

     In program example ,ican't found these imformation。

 

    

  • Hi user4982663,

    If you are referring to transceiver mode, please see chapter 16 of the Network Processor User's Guide: http://www.ti.com/lit/swru368

    Best regards,
    Sarah
  • Hi Sarah

        Tks for your reply

         Below is my program,I try to change CHNNEL from 1 to 13 and RXDriver Channel is 6 ,but  data is ok always ,and I can,t get CHANNEl value

         So I think  sl_SetSockOpt/  sl_GetSockOpt  didn't work normaly,  need I to do something else for change these values or read them

       

  • // connect OK...

    channel = 2;
    //sl_SetSockOpt(g_iSockID, SL_SOL_PHY_OPT, SL_SO_PHY_RATE, &rate, sizeof(rate));
    //sl_SetSockOpt(g_iSockID, SL_SOL_PHY_OPT, SL_SO_PHY_TX_POWER, &txpower, sizeof(txpower));
    sl_SetSockOpt(g_iSockID, SL_SOL_SOCKET, SL_SO_CHANGE_CHANNEL, &channel,1);

    //rate = 4;
    //txpower = 5;
    channel = 6;

    //sl_GetSockOpt(g_iSockID, SL_SOL_PHY_OPT, SL_SO_PHY_RATE, (void *)&rate, (_u16 *)sizeof(rate));
    //sl_GetSockOpt(g_iSockID, SL_SOL_PHY_OPT, SL_SO_PHY_TX_POWER, &txpower, (_u16 *)sizeof(txpower));
    sl_GetSockOpt(g_iSockID, SL_SOL_SOCKET, SL_SO_CHANGE_CHANNEL, &channel,(_u16 *)1);



    if(TcpPackSend(g_iSockID, g_cBsdBuf, iLength, 0) != iLength)//Tx Data Pakage
  • // connect OK...

    channel = 2;
    //sl_SetSockOpt(g_iSockID, SL_SOL_PHY_OPT, SL_SO_PHY_RATE, &rate, sizeof(rate));
    //sl_SetSockOpt(g_iSockID, SL_SOL_PHY_OPT, SL_SO_PHY_TX_POWER, &txpower, sizeof(txpower));
    sl_SetSockOpt(g_iSockID, SL_SOL_SOCKET, SL_SO_CHANGE_CHANNEL, &channel,1);

    //rate = 4;
    //txpower = 5;
    channel = 6;

    //sl_GetSockOpt(g_iSockID, SL_SOL_PHY_OPT, SL_SO_PHY_RATE, (void *)&rate, (_u16 *)sizeof(rate));
    //sl_GetSockOpt(g_iSockID, SL_SOL_PHY_OPT, SL_SO_PHY_TX_POWER, &txpower, (_u16 *)sizeof(txpower));
    sl_GetSockOpt(g_iSockID, SL_SOL_SOCKET, SL_SO_CHANGE_CHANNEL, &channel,(_u16 *)1);


    //Tx Data Pakage....
    if(TcpPackSend(g_iSockID, g_cBsdBuf, iLength, 0) != iLength)
  • Hi,

    Please make sure that you have set country code to EU. Usage of channel number 13 is in USA prohibited. Default country code for CC3200 is US.

    Jan
  • Tks ,I will keep an eye on it.
    now channel can‘t’ be change ,Receiver‘s channel is 6,and communication is ok
    It doesn't seem to change channel through sl_SetSockOpt()...
  • Hi,

    Can you describe what you need to do? Do you using transceiver mode or connected mode (AP mode, STA mode)? Do you use latest SDK and ServicePack?

    Jan
  • Hi JAN
    I want to improve communication quality by change Tx/RX Characteristics ,for example change channel/Rate /Tx power
    In my project ,CC3200 using Station Mode,and socket mode is TCP ,transfers Speed is up to 700KB/s ,and connect time is about 500ms(SL_SEC_TYPE_OPEN / SL_SEC_TYPE_WPA_WPA2 )
    This cannot meet requirements so i want to inprove speed through change Characteristics,but i can't change them
    My SDK is CC3200SDK_1.3.0 / CC3100_CC3200_ServicePack_1.0.1.11-2.9.0.0
  • Hi,

    This option is valid only for transceiver mode. It is not for STA or AP mode. For STA mode you can change only TX power by WLAN_GENERAL_PARAM_OPT_STA_TX_POWER.

    In your case you have 5.6Mbit/s and this is reasonable value for CC3200 in real applications. Network performance can be also slightly improved by set SL_ALWAYS_ON_POLICY.

    Jan

  • HI JAN
    Ths for your reply
    thank you very much