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.

CC31: force_ap

Other Parts Discussed in Thread: UNIFLASH, CC3100MOD, CC3100

Team, 

Customer mistakenly had FORCE-AP pulled high and was seeing some strange behavior. It doesn't seem to be documented, but in this mode it doesn't seem that you can change the SSID from either API or Web page - always seems to boot with default mysimplelink-<portion of MAC address> where the MAC address can be changed and will reflect ...

Can we pls document this mode better. 

  • Thanks Greg! I would like to add that we've had excellent Support from TI (i.e. Greg :)) so far (off-Forum of course)

    As far as documentation is concerned - we are disappointed! because, this is not the first time that we've been blind-sided by the documentation or lack thereof. TI can do better!

    Two very very very minor examples
    1. the Software user guide swru368 (june 2014) lists WLAN_AP_OPT_BEACON_INT which is not available in current SDK (was available in the previous Version though!)

    2. sl_WlanGet API documentation (SDK v1.0.0.10) WLAN_GENERAL_PARAM_OPT_AP_TX_POWER is supposed to be of type _u8, but what does the API actually return? _u32!
  • Hi Greg, SG,

    Thanks for pointing it out. We will take a look at them and fix these issues.

    Regards,
    Raghavendra
  • Hi Greg,

    beside WLAN_AP_OPT_BEACON_INT, WLAN_AP_OPT_DTIM_PERIOD is also missing in the SDK.

    What are the right values fo both ?

    Regards
    Werner
  • Hi Werner,

    Please note that although configuration of this parameters isn't available using the APIs anymore, it is possible to configure them using Uniflash. The default values are:
    * WLAN_AP_OPT_BEACON_INT - 100Tu (~102ms)
    * WLAN_AP_OPT_DTIM_PERIOD - 2

    Thanks,
    Alon
  • Alon, what does one do when one has no possibility to use Uniflash? Is it expected that customers must use Uniflash in their production line? why?

  • Hi,

    AP configuration of beacons & DTIM intervals are sensitive system settings which are not expected to be changed in the field.
    Can you please explain what is the use case you have which requires changing these parameters dynamically?

    Thanks,
    Alon
  • Alon, thanks for the Information.

    The trick is to then use the following code to know the beacon period with which the CC31x is operating.
    unsigned short config_opt = 2;
    sl_WlanGet(SL_WLAN_CFG_AP_ID, &config_opt, &len, data);

    But, this is digressing from the Topic of this thread i.e. inconsistancy between functionality and documentation.
  • Hi Alon,

    as i am a little bit confused about how to configure beacon and DTIM using Uniflash,
    i just tried out using API.

    My CC3100MD has FW: 1.0.0.10.0
    My Host SL is: 1.0.0.1

    With:
    #define WLAN_AP_OPT_BEACON_INT  (2)
    #define WLAN_AP_OPT_DTIM_PERIOD (5)

    When using sl_WlanGet(), i get back: beacon is 100
                                                                DTIM     is 2

    Then using slWlanSet(), i am able to set these to: beacon is 200
                                                                                   DTIM     is 3

    Then again using sl_WlanGet(), i get back: beacon is 200
                                                                         DTIM    is 3

    So CC3100MOD still accepts these two configurations.

    Open questions now are:
    - how (in principle) to change CC3100 Parameters using Uniflash ?
      In the Uniflash description i was not able to find it.
    - What influences have beacon and DTIM on the power consumption of the CC3100MOD ?

  • Hi Werner,

    1. Please use the latest uniflash release (3.2).
    Under the CC31xx/CC32xx Config groups (In the right screen), press on "AP", then in the right screen, you will have an option to configure the "Beacon Interval" and " DTIM Interval", amongst other parameters.

    2 . For all practical use cases, no influence at all. If the reason to set it is for AP power consumption then I wouldn't do it.
    It might help with the connecting station power consumption if you are looking to improve that.

    Thanks,
    Alon