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.

CC3100: Want to read single file in blocks rather than reading entire file altogether.

Part Number: CC3100

Hello,

I am using CC3100 and i am storing some file in SFLASH of CC3100 and wish to read back that particular file in number of blocks rather than reading entire file altogether and storing in a single Array.

Please do suggest how do i achieve this thing using sl_FsRead() function.

Hoping for a quik help.

Thanks,

Pradeep 

  • Please refer to the documentation found in the sdk.

    C:\ti\CC3100SDK_1.3.0\cc3100-sdk\docs\simplelink_api\html\group___file_system.html

    Status = sl_FsRead(FileHandle, 0, &readBuff[0], readSize);
    

    There is also an example provided

    C:\ti\CC3100SDK_1.3.0\cc3100-sdk\examples\file_operations

    Regards,
    Chris