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.

CC3235MODSF: New library for AWS and Azure?

Part Number: CC3235MODSF

Hi,

I know ti release new sdk(v4.20.00.07) for cc3235, and it finally could let me get into SL_WLAN_IOT_LOW_POWER_POLICY and reduce the power consumption.
But i am using aws and azure plugin, both of them are using old sdk to build(v4.10.00.07).
When will the new plugin release?

  • Hi Frank,

    We have not planned our next plug-in releases yet, so I can't share a specific timeline at this point. 

    Do you mean that updating the servicepack for the device fixed an issue you had before? If so, can you try just changing the servicepack of the device to the one from the latest v4.20 SDK and using the applications built with the v4.10 releases?

    Best Regards,

    Ben M

  • Hi Ben M,

    When i using the servicepack for 4.10 (sp_4.6.0.1_3.1.0.5_3.1.0.25.bin) and run the SL_WLAN_IOT_LOW_POWER_POLICY policy, i got 78mA.
    When using the servicepack for 4.20, i got about 4mA.

    I am waiting for the new plugin because there's still some unexpected thing. (I don't know if it will help, but i can't fix the problem)
      1. When i store a small size file(just 36 byte) in flash and read out, it will stock at sl_FsRead(). If i store a large file, it runs good.  (both 4.10 & 4.20 servicepack)
      2. 4mA is still too high for me, i expected to get about 400uA.  (after changing servicepack  reduce from 78mA to 4mA)

    Following is my the code store and read file.

    void Http_StoreFile(const char* fileName, char* data, int len) {
      // store file
      int32_t  FileHdl;
      int32_t  RetVal;
      uint32_t MaxSize = 4*1024;
      uint32_t MasterToken;
    
      FileHdl = sl_FsOpen(fileName, SL_FS_CREATE|SL_FS_OVERWRITE|SL_FS_CREATE_MAX_SIZE(MaxSize), &MasterToken);
      RetVal  = sl_FsWrite(FileHdl, 0, data, len);
      RetVal  = sl_FsClose(FileHdl, NULL, NULL , 0);
    }
    //======================================================================================================================
    void Http_ReadFile(const char* fileName, char* data, int* len) {
      int32_t  FileHdl;
      int32_t  RetVal;
      uint32_t MasterToken;
      
      FileHdl =  sl_FsOpen(fileName, SL_FS_READ, &MasterToken);
      RetVal = sl_FsRead(FileHdl, 0, data, FILE_MaxSize);
      RetVal = sl_FsClose(FileHdl, NULL, NULL , 0);
      *len = strlen(data);
    }
    //======================================================================================================================
    

  • Hi Frank,

    I see, so you have two underlying issues you are observing -

    1) Power consumption with SL_WLAN_IOT_LOW_POWER_POLICY

    2) File system access with small file size (36 bytes)

    Can you open new E2E threads for each of these using the "Ask a related question" or "Ask a new question" button since they are not related to your inquiry about the new cloud plug-ins? We will assign someone to the questions asap and work on responding.

    Thank you,

    Ben M