#M2MRUN – M2M Set Run File Permission |
SELINT 2 | |
AT#M2MRUN=<mode>[,<file_name>] |
Set command sets and resets the RUN file permission for the executable binary files and compressed files stored in the drive 0 in the directory \MOD in the M2M file system.
Parameters: <mode> - integer type, set/reset mode value: 0 – resets RUN file permission for all the files stored in the drive 0, directory \MOD.
1 – sets RUN file permission for the file <file_name> stored in the drive 0, directory \MOD. Reserved for future use.
2 – sets RUN file permission for the file <file_name> stored in the drive 0, directory \MOD, and resets RUN file permission for all the other files stored in the drive 0, directory \MOD.
<file_name> - file name to set RUN file permission, quoted string type (max 16 chars, case sensitive). File name extension must be either .bin or .gz or .bin.gz. <file_name> parameter must not be present if <mode> is 0.
Note: the file name should be passed between quotes; file names are case sensitive. | |
AT#M2MRUN? |
Read command reports the files with the RUN file permission between those in the drive 1 in the directory \MOD in the M2M file system in the format:
[<CR><LF>#M2MRUN: <file_name1>… [<CR><LF>#M2MRUN: <file_namen>]]
where: <file_namen> – file name, quoted string type (max 16 chars, case sensitive) | |
AT#M2MRUN=? |
Test command returns the allowed values for parameter <mode>. | |
Example |
AT#M2MRUN =2,"M2MAPZ.bin" OK
AT#M2MRUN? #M2MRUN: "M2MAPZ.bin" OK |