Avisaro Online Documentation - Wiki
Impressum Kontakt Sitemap

STORAGE

Description

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).

Parameters

STORAGE requires one of two arguments:

SD
Selects SD-Cards.

USB
Selects USB flash drives.

Return value

ERR_ARGUMENT (4) if the arguments is not invalid
ERR_OK (0) if the command is accepted
See (Mehr here) for complete list of error codes.

Example

STORAGE USB

Selects USB Flash Drive as storage media.

Remarks

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.