File Write - 0X04 - Digi XBee 3 Cellular LTE-M User Manual

Smart modem
Table of Contents

Advertisement

File system API frames
Request
Offset
Size
5
8-bit
16-bit File Handle Value returned from
6
32-bit Read
8
16-bit Bytes To
12
Success Response
Offset
Size
5
8-bit
6
8-bit
7
16-bit
9
32-bit
13-n
variable

File Write - 0x04

Description
Write to the file.
Request
Offset
Size
5
8-bit
6
16-bit
8
32-bit
12-n
variable
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
Frame
Field
Description
File System
File Read - 0x03
Command
File position for read, or 0xFFFFFFFF to use the current position.
Offset
Number of bytes to read from file, or 0xFFFF to read as many as
Read
possible (limited by file size or maximum response frame size).
Frame Field
File System Command
Status
File Handle
Data Offset
Data
Frame Field
Description
File System
File Write - 0x04
Command
File Handle
Value returned from
Write Offset
File position for write, or 0xFFFFFFFF to use the current
position.
Data
Data to write to file. If empty, frame just refreshes the File
Handle timeout to keep the file open.
Local File System Request - 0x3B
File Open - 0x01
response.
Description
File Read - 0x03
Success - 0x00
Value sent in request.
Actual offset of data read from file.
Data read from the file.
File Open - 0x01
response.
292

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee 3 cellular nb-iot

Table of Contents