![Digi S6B Скачать руководство пользователя страница 118](http://html.mh-extra.com/html/digi/s6b/s6b_user-manual_2496668118.webp)
API operation
Frame descriptions
XBee Wi-Fi RF Module User Guide
118
Send Data Request - 0x28
Description
Send a file of the given name and type to Remote Manager.
Format
The following table provides the contents of the frame.
Frame data fields
Offset Description
Frame type
3
0x28.
Frame ID
4
Identifies the frame for send data response. If
0
, then no send data
response status will be received.
Path length
5
Length of path and file name.
Path
6-13
Path and file name.
Content type length 14
Length of target string (up to 16 bytes).
Content type
15-24
Indicates file type, such as text/plain, text/xml, or application/json.
Transport
25
Must be
0
to indicate TCP.
Options
26
0—overwrite
1—archive
2—append
3—transient data (do not store)
Data
27-53
Example
Frame data fields
Offset
Example
Start
0
0x7E
Length
1-2
0x0033
Frame type
3
0x28
Frame ID
4
0x55
Path length
5
0x08
Path
6-13
TestFile
Content type length
14
0x0A
Content type
15-24
Text/plain
Transport
25
0x00