AT#M2MREAD

#M2MREAD – M2M File System File Read

SELINT 2

AT#M2MREAD=[<file_name>]

Execution command reports the content of the file <file_name> stored in the M2M file system in the current working directory.

 

Parameter:

<file_name> – file name, quoted string type (max 16 chars, case sensitive)

 

The device shall prompt a five character sequence

<CR><LF><less_than><less_than><less_than>

(IRA 13, 10, 60, 60, 60)

followed by the file content.

 

Note: the file name should be passed between quotes; file names are case sensitive.

Note: If the file <file_name> is not present in the current working directory, an error code is

 reported.

AT#M2MREAD=?

Test command returns OK result code.

Example

AT#M2MREAD="config.txt "

<<< here receive the prompt; then the file is displayed, immediately after the prompt

OK