B.45 WRITEFILEHEX Create/Append Data to CF Card

The writefilehex command allows you to create files on the CF card or append data to an existing file on the CF card in Hexbyte format.

The writefilehex command writes data to a file named filename on the CF card. If a file named filename does not exist, the file is created. If a file named filename already exists, data is appended to the end of the file. Only simple filenames (maximum 8 characters and an optional 3-character extension) are supported. data is up to 1024 joined hexadecimal pairs if the writefilehex command is issued in ASCII, and is 1024 bytes in a binary writefilehex message.

length specifies the number of bytes supplied as data.

Syntax

writefilehex filename length data

Message ID = 240

Field

Data

Bytes

Format

Units

Offset

 

 

 

 

 

 

1

Header

 

-

-

0

 

 

 

 

 

 

2

Filename

12

Char[]

 

H

 

 

 

 

 

 

3

Length

4

Ulong

Bytes

H+12

 

 

 

 

 

 

4

Data

Max. 1024

Hexbyte

 

H+16

 

 

 

 

 

 

DL-V3 User Manual Rev 3

145

Page 145
Image 145
Novatel DL-V3 user manual Writefilehex Create/Append Data to CF Card, 145