beautypg.com

Filesystem – Matrix Orbital GLK24064-25 Legacy User Manual

Page 41

background image

41

12. Filesystem

12.1. Wipe

Filesystem

Dec
Hex
ASCII

254 33 89 33

FE 21 59 21

■ ! Y !

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.


12.2. Delete a File

Dec
Hex

254 173

FE AD

Type ID
Type ID

Removes a single font or bitmap file given the type and unique identification number. Cycle power after deletion.

Type

1 byte, 0 for font or 1 for bitmap

ID

1 byte, unique identification number of font or bitmap to be deleted


12.3. Get Filesystem

Space

Dec
Hex

254 175

FE AF

Returns the amount of space remaining in the display for font or bitmap uploads.

Response

4 bytes, number of bytes remaining in 32KB memory, LSB to MSB


12.4. Get Filesystem

Directory

Dec
Hex

254 179

FE B3

Returns a directory to the contents of the filesystem. The total number and type of each entry will be provided.

Response

variable length, 1 byte representing number of entries followed by 4 identification bytes for each entry

Table 38: Filesystem Identification Bytes

Byte

3

2

1

0

Description

Size MSB Size LSB Type/ID Flag

Table 39: Extended Byte Descriptions

Size MSB

most significant byte of the file size

Size LSB

least significant byte of the file size

Type/ID

MSB designates file type, 0 for font or 1 for bitmap, remaining bits indicate ID number

Flag

a value of 0 indicates entry is not in use

This manual is related to the following products: