9.9.1.1 +FS

This command performs a file system operation. The file system operation command is split into several sub-commands:

  • Load
  • List
  • Delete
  • Info

Load Sub-Command – The load sub-command initiates a file transfer from the DTE to the DCE.

List Sub-Command – The list sub-command produces a list of files present in the file system based on the file type specified.

Delete Sub-Command – The delete sub-command deletes a single file object of the type specified from the file system.

Info Sub-Command: – The info sub-command returns information on the file system.

Security – Default Security for the command is: GGGG

Table 9-54. Command Syntax
Command Description Security

AT+FS=<OP>

Operate on filesystem

GGGG

AT+FS=<OP>,<FILETYPE>

Operate on file types

GGGG

AT+FS=<OP>,<FILETYPE>,<FILENAME>

Operate on files

GGGG

AT+FS=<OP>,<FILETYPE>,<TSFRPROT>,<FILENAME>,<FILELENGTH>

Load file (single)

GGGG

AT+FS=<OP>,<FILETYPE>,<TSFRPROT>

Load file (batch)

GGGG

Table 9-55. Command Parameter Syntax

Parameter Name

Type

Description

<OP>

Integer

Operations:

  1. Load
  2. List
  3. Delete
  4. Information

<FILETYPE>

Integer

File type:

  1. Certificate
  2. Private Key

<FILENAME>

String

The name of the file

<TSFRPROT>

Integer

Transfer protocol

  1. X Modem + checksum
  2. X Modem + CRC16
  3. X Modem 1K
  4. Y Modem

<FILELENGTH>

Integer

File length

Table 9-56. Response Syntax

Response

Description

+FS:<OP>,<FILETYPE>,<FILENAME>

List operation response

+FS:<OP>,<FREESPACE>,<HANDLES>

Information operation response

Table 9-57. Response Element Syntax
Element Name Type Description

<OP>

Integer

Operation
  • 2 – List
  • 4 – Information

<FILETYPE>

Integer

File type

  • 1 – Certificate
  • 2 – Private Key

<FILENAME>

String

The name of the file

<FREESPACE>

Integer

Free space

<HANDLES>

Integer

Free file handles