14 filesystem – Matrix Orbital GLK19264A-7T-1U User Manual
Page 49
44
Command Summary
6.14 Filesystem
14.1 Delete
Filesystem
Dec
Hex
ASCII
254 33 89 33
FE 21 59 21
■ ! Y !
v8.0
Completely erase all fonts and bitmaps from a graphic display. Extended length of the command is intended to
prevent accidental execution. To ensure filesystem integrity, cycle power to the display after erasure.
14.2 Delete a
File
Dec
Hex
ASCII
254 173
FE AD
■ ¡
Type ID
Type ID
Type ID
v8.0
Removes a single font or bitmap file given the type and unique identification number. Cycle power after deletion.
Type
Byte
0 for font or 1 for bitmap.
ID
*
Short
Unique identification number of font or bitmap to be deleted, value between 0 and 1023.
*Note:
ID was changed from a Byte length at firmware revision 8.1
14.3 Get
Filesystem Space
Dec
Hex
ASCII
254 175
FE AF
■ »
v8.0
Returns the amount of space remaining in the display for font or bitmap uploads.
Response
Integer
Number of bytes remaining in memory.
14.4 Get Filesystem
Directory
Dec
Hex
ASCII
254 179
FE B3
■ │
v8.0
Returns a directory to the contents of the filesystem. The total number and type of each entry will be provided.
Response
Short
Number of entries.
Byte(s) [8]
8 identification bytes for each entry.
Table 35: Filesystem Identification Bytes
Byte
7
6
5
4
3
2
1
0
Description
Size(MSB) Size Size Size(LSB) Type(4)/ID(4) ID (LSB) Start Page (MSB) Start Page (LSB)
Table 36: Extended Byte Descriptions
Size
The complete file size.
Type/ID
First four bits designate file type, 0 for font or 1 for bitmap, remaining 12 bits indicate ID number.
Start Page
Memory start page, a value of 0 indicates entry is not in use.
*Note:
ID and Size were changed from Byte and Short lengths respectively at firmware revision 8.1
14.5 Filesystem
Upload
Dec
Hex
ASCII
254 176
FE B0
■ ░
Size Data
Size Data
Size Data
v8.0
This command will upload a filesystem image to the display. The size used is almost always the entire memory.
Filesystem data can be uploaded LSB to MSB using the File Transfer Protocol.
Size
Integer
Size of the filesystem to upload.
Data
Byte(s)
Filesystem data to upload.