|
Try the below script in the AT Command Tester tool
//Script: at+cfsdfile - Delete file //The AT commands in this script are applicable for Simcom modules only //Check SIMCOM Module AT Command documentaiton //Get the support for the commands AT+CFSDFILE=? //Wait WAIT=1 //Allocate the data buffer AT+CFSINIT //Get the txt file size AT+CFSGFIS=0,"myfile.txt" //Wait WAIT=1 //Delete the file AT+CFSDFILE=0,"myfile.txt" //Free the data buffer AT+CFSTERM
Output of the above script in the AT Command Tester tool
AT+CFSDFILE=? +CFSDFILE: (0-3),50 OK AT+CFSINIT OK AT+CFSGFIS=0,"myfile.txt" +CFSGFIS: 22 OK AT+CFSDFILE=0,"myfile.txt" OK AT+CFSTERM OK