cmdTEAINITIndex

Command Code:

The Packet:

Description:

This command opens a TEA file.  The next cmdTEAREAD or cmdTEADATA command will set the file mode.  A cmdTEAREAD command will make the file read-only.  A cmdTEADATA command will make the file write-only.  A File ID that is out of range will generate an error message.  Trying to open a TEA file after it has already been opened will generate an error message.

The reply packet contains cmdTEAREAD and the file index.

Module FileID range File Sizes
GP 1.0 0-10 1K
Moto 1.0 0-11 0-10 are 1K, 11 is 16K

version: 1.0, build 80903
© Copyright 1994-2008 Acroname, Inc., Boulder, Colorado.  All rights reserved.