EasyManua.ls Logo

Digi XBee3 - ATFS MD Directory; ATFS LS [Directory]; ATFS PUT Filename; ATFS XPUT Filename

Digi XBee3
172 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AT commands File system commands
Digi XBee3 Cellular LTE-M Global Smart Modem User Guide
135
ATFS MDdirectory
Creates the directorydirectory. PrintsOKif successful or an error if unable to create the requested
directory.
ATFS LS [directory]
Lists files and directories in the specified directory. Thedirectoryparameter is optional and defaults
to a period(.), which represents the current directory. The list ends with a blank line.
Entries start with zero or more spaces, followed by filesize or the string<DIR>for directories, then a
single space character and the name of the entry. Directory names end with a forward slash (/) to
differentiate them from files. Secure files end with a hash mark (#) and you cannot download them.
<DIR> ./
<DIR> ../
<DIR> cert/
<DIR> lib/
32 test.txt
1234 secure.bin#
ATFS PUTfilename
Starts a YMODEM receive on the XBee Smart Modem, storing the received file tofilenameand ignoring
the filename that appears in block 0 of the YMODEM transfer. The XBee Smart Modem sends a
prompt (Receivingfile with YMODEM...)when it is ready to receive, at which point you should initiate
a YMODEM send in your terminal emulator.
If the command is incorrect, the reply will be an error as described in Error responses.
ATFS XPUTfilename
Similar to thePUTcommand, but stores the file securely on the XBee Smart Modem. See Secure files
for details on what this means.
If the command is incorrect, the reply will be an error as described in Error responses.
ATFS HASHfilename
Print a sha256 hash of a secure file uploaded via the XPUTcommand to allow for verification against a
local copy of the file. On Windows, you can generate a SHA256 hash of a file with the
commandcertutil -hashfile test.txt SHA256.On Mac and Linux useshasum -b -a 256 test.txt.
ATFS GETfilename
Starts a YMODEM send offilenameon the XBee device.When it is ready to send, the XBee Smart
Modem sends a prompt:Sendingfile with YMODEM...). When the prompt is sent, you should initiate
a YMODEM receive in your terminal emulator.
If the command is incorrect, the reply will be an error as described in Error responses.
ATFS MVsource_pathdest_path
Moves or renames the selected file or directorysource_pathto the new name or locationdest_
path.This commandfails with an error ifsource_pathdoes not exist, ordest_pathalready exists.

Table of Contents

Related product manuals