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.

CC3135: No Channel Number on STA Connect Event

Part Number: CC3135
Other Parts Discussed in Thread: , CC3120

SL_WLAN_EVENT_CONNECT does not return the AP channel number as per SWRU455K – FEBRUARY 2017 – REVISED JULY 2020, p. 50 . It returns 0 instead. Is it suppose to be like that?

  • Hello,

    You have to get it from the SlWlanEventConnect_t data element provided through the pWlanEvent pointer in the SimpleLinkWlanEventHandler. Check wlan.h for more info. 

    typedef struct
    {
        _u8     SsidLen;
        _u8     SsidName[32];
        _u8     Bssid[6];
        _u8     Channel;
    } SlWlanEventConnect_t;

    Jesu

  • Hello,

    You have to read my post again - this structure, described in the SWRU455K, returns 0 instead of the channel number.

    Olek

  • Hi Olek,

    Ah I understand now. I just tested this and I see the same behavior. Let me check with the team if this feature is supported.

    Jesu

  • Olek,

    What wifi plugin version and service pack version are you using? This feature was recently added to our SW. If you are not using the latest you will not have it.

    Jesu

  • Jesu,

    Your documentation states that it should be available irrelevant to the service pack version number.

    Request to sl_DeviceGet() with SL_DEVICE_GENERAL_VERSION option gave me the following:

    Firmware: 3.0.0.25 PHY: 3.1.0.0 NWP: 4.0.1.33 ROM 0

    Also, SL driver firmware version number (SL_MAJOR_VERSION_NUM,SL_MINOR_VERSION_NUM,SL_VERSION_NUM,SL_SUB_VERSION_NUM) is: 3.0.1.65

    The wifi plugin: simplelink_sdk_wifi_plugin_4_20_00_10

    What service pack do I need to have this function? How can I be sure that our production will get CC3135MOD with a right service pack pre-installed? 

    Olek

  • Hi Olek,

    You haven't updated ServicePack inside your CC31xx device. It is your responsibility to update ServicePack during your production. Because it is unlikely that you will get CC3135MOD with latest ServicePack from the supply chain. You should have capability to update ServicePack at the field (at the end user deployment) as well.

    Latest ServicePack for CC3x35 devices is 4.8.0.8_3.7.0.1_3.1.0.26.

    Jan

  • Jan,

    It is responsibility of TI to ensure accuracy of their technical documentation. SWRU455K – FEBRUARY 2017 – REVISED JULY 2020, p. 50, states that the valid channel number is returned irrelevant to the used service pack.

    Question to TI guys. Do you have errata of your chip (CC3153R and CC3135MOD)? If you have one, I would like to see it.

    Olek

  • Hi Olek,

    I don't see such information that channel number at WLAN connect event is not related to Service Pack. At page 50 is not stated any such information.

    As I know there is not official overall errata document for CC32xx/CC31xx device. If you need to know changes, you can goes through release release notes at SDK or SimpleLink plug-in (service pack changes and host driver changes). For CC3135 or CC3235 device is this not a big issue because these devices are not much long at market. For CC3220 or CC3120 is this worse. But there is bigger issue. Many times is stated at release notes "bugfixes" and there is hidden many changes.

    Jan

  • Jan,

    By default, it is not related. When it is related, it is explicitly mentioned. Not mentioning the Service Pack means that the information in the manual is valid for any released software or any Service Pack.

    Your logo does not show your affiliation with TI. My question was to the TI team.

    Olek

  • Hi Olek,

    I understand your premise, it will be nice if this will be valid, but datasheets for complex devices at semiconductor world does not work like that. I don't know any manufacturer where this premise will be 100% applicable. Maybe about ADI we can say that is closer.

    Yes, I am not a TI employee. You can wait for answer from TI. You expect different answer than is mine. Unfortunately I can't be more specific.

    Jan

  • Hi Olek,

    We don't have errata for Simplelink Wi-Fi devices. SW issues are addressed via release notes of our SDK like Jan mentioned. Please let me know if the latest service pack resolves the channel issue. 

    Jesu

  • Hi Jesu,

    Thank you for commenting. The latest  service pack sp_4.7.0.3_3.1.0.5_3.1.0.26.bin has resolved the channel issue.

    Thanks,

    Olek