Is there any command to delete or create files on SIM?


#1

Hi,

There is no command to eliminate/delete or create files on the SIM .With AT+CSIM command it is only possible to perform certain operations like SELECT, READ/UPDATE BINARY etc. For more information on the supported operations refer to the section 18.3.3 of AT_Command_Interface_Guide .

Example to select a file
AT+CSIM=14,“A0A40000027F20”
Where first parameter ‘14’ is the length and second parameter is the command.
The detailed description of the command (2nd Parameter) is as such
A0- Class
A4-Instruction (for SELECT its A4)
00-P1
00-P2
02-P3
7F20-File ID of the file you want to select

Similarly to read a file we can give the command:
AT+CSIM=10,”A0B0000105”
Where: A0-Class
B0-Instruction (for Read Binary its B0)
00-P1
01-P2
05-Length to be read