
This command can be used to change the storage device that the module uses. Currently, there are two media types supported, SD-Cards and USB Flash Drives (USB Sticks).
STORAGE requires one of two arguments:
SD
Selects SD-Cards.
USB
Selects USB flash drives.
ERR_ARGUMENT (4) if the arguments is not invalid
ERR_OK (0) if the command is accepted
See (
here) for complete list of error codes.
STORAGE USB
Selects USB Flash Drive as storage media.
This command exists since version 4.49. The module must be rebooted for this command to take effect. STORAGE command only makes sense on modules that are equipped with appropriate hardware to access the selected media.
CAUTION: Because there is no defined default storage media, changes made by STORAGE cannot be reverted using RESTART CLEAR or other ways to restore factory settings.