beautypg.com

5 get filesystem directory, 6 filesystem upload – Matrix Orbital GLK12232-25-FGW User Manual

Page 51

background image

Syntax

Hexadecimal

0xFE 0xAF

Decimal

254 175

Description

This command will return 4 bytes, LSB to MSB for how many bytes are
remaining in the 16 KB on board memory.

Remembered

No

12.5

Get Filesystem Directory

Syntax

Hexadecimal

0xFE 0xB3

Decimal

254 179

Description

This command will return a directory of the contents of the file system.
The first byte returned will be a hex value representing the number of
entries in the filesystem, followed by four bytes for each entry. See the
following tables:

Filesystem Header

Bytes

Description

1

Hex value representing the number

of entries in the filesystem

File Entry

Bytes

Description

1

Flag: Hex value of 0x00 indicates
that this file entry has not been used.

1

FileID/Type: 1st bit is the file type
(0: Font, 1: Bitmap). Next 7 bits are
the file ID.

1

File Size: LSB

1

File Size: MSB

Remembered

No

12.6

Filesystem Upload

Syntax

Hexadecimal

0xFE 0xB0 [data]

Decimal

254 176 [data]

Parameters

Parameter

Length

Description

data

4

LSB to MSB filesystem image data

Description

This command will upload a four byte filesystem image, LSB to MSB
to the display (16KB).

Remembered

Always

Matrix Orbital

GLK12232-25

46