Part Number: CC3200MODLAUNCHXL
Hi,
CCS version : 6.1.3.00034, TI CC3200 SDK : V1.3, CC3100_CC3200_ServicePack_1.0.1.6-2.7.0.0
I am using internal flash memory to store log files when CC3200 Wifi connection or server connection is lost. Below is the sequence of steps I am following
1. when the wifi connection is lost offline1.txt file is created and its handle is obtained
2. offline data is stored
3. when the wifi connection is restored the file handle is closed
4. after that I am opening, reading and closing one packet data from offline1.txt
5. now I have new data available to transmit and before sending data I am again disconnecting wifi
6. now new file offline2.txt is created and data is stored in it
7. again I turn on wifi
8. offline2.txt is closed
9. now trying to read offline1.txt file and its throwing error SL_FS_FILE_HAS_NOT_BEEN_CLOSE_CORRECTLY
The above steps are to take care of log files when there are multiple interruptions. I have searched in forums but couldnt find much info
Any help appreciated
James