LE910Cx AT Commands Reference Guide
80502ST10950A Rev. 14 Page 1622 of 1904 2022-03-04
M2M
3.27.1. AT#M2MARG - M2M Set Arguments
Set command sets/resets the main arguments of the executable binary file (".bin"
extension) saved in "/mod" directory which RUN permission has been set by
#M2MRUN command. The arguments are used by M2MB_main( argc, argv ) function.
AT#M2MARG=[<file_bin>],[<arg1>,<arg2>,…,<argn>,…,<argN>]
Parameters:
executable file name selected for
arguments setting/resetting. If
parameter <file_bin> is not present, the
arguments configuration is applied to
all executables.
The format of <file_bin> is a quoted or
unquoted string, max 64 chars, case
sensitive.
arguments to be applied. Format is
unquoted string (max 32 chars, case
sensitive) and maximum number of
arguments is N=10. The empty space is
seen as normal character. Comma is
not supported as char inside
arguments.
If none of <argn> is present, arguments
are deleted (reset).
If an empty arg is provided in between
other args, an ERROR is returned being