Atfs Put Filename; Atfs Xput Filename; Atfs Hash Filename; Atfs Get Filename - Digi XBee 3 Cellular LTE-M User Manual

Smart modem
Table of Contents

Advertisement

AT commands
<DIR> lib/
32 test.txt
1234 secure.bin#
ATFS PUT filename
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
ATFS XPUT filename
Similar to the PUT command, but stores the file securely on the XBee Smart Modem.  See
for details on what this means.
If the command is incorrect, the reply will be an error as described in
ATFS HASH filename
Print a SHA-256 hash of a file to allow for verification against a local copy of the file.
On Windows, you can generate a SHA-256 hash of a file with the command certutil -hashfile
n
test.txt SHA256.
On Mac and Linux use shasum -b -a 256 test.txt.
n
ATFS GET filename
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
ATFS MV source_path dest_path
Moves or renames the selected file or directory source_path to the new name or location dest_
path. This command fails with an error if source_path does not exist, or dest_path already exists. 
Note
Unlike a computer's command prompt which moves a file into the dest_path if it is an existing
directory, you must specify the full name for dest_path.
ATFS RM file_or_directory
Removes the file or empty directory specified by file_or_directory. This command fails with an error
if file_or_directory does not exist, is not empty, refers to the current working directory or one of its
parents.

ATFS INFO

Report on the size of the filesystem, showing bytes in use, available, marked bad and total. The report
ends with a blank line, as with most multi-line AT command output. Example output:
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
File system commands
Error
responses.
Secure files
Error
responses.
Error
responses.
233

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee 3 cellular nb-iot

Table of Contents