25. GetNumberedCategorizedDBRecords
0x3C
0x24
GetNumberedCategorizedDBRecords
Direction: Controller —> iPort
Description: Requests the number of records of a particular data-
base category. Category type codes are described
in the
SelectSortDBRecord command code descrip-
tion section.
NOTE: The record count returned by this command depends on
the database state before this command is sent. If the database
has been reset (
ResetDBSelection), then this command will return
the total number of records for a given category. If this command
is sent after one or more categories are selected, then the record
count will be the subset of records that are members of all the
categories selected prior to this command.
Packet Structure:
Byte Number Value
Meaning
0x00
0x2A
Start character
0x01
0x49
Device type (iPort)
0x02
0x00
Packet Length High Byte
0x03
0x04
Packet Length Low Byte
0x04
0x38
Packet Command Type
0x05
0x3C
Packet Command High Byte
0x06
0x24
Packet Command Low Byte
0x07
0xNN
Category Type Code
0x08
0xNN
Checksum
26. ReturnNumberedCategorizedDBRecords
0x3C
0x25
ReturnNumberedCategorizedDBRecords
Direction: iPort —> Controller
Description: In response to the
GetNumberedCategorizedDB
Records command, returns the number of database
records matching the specified database category. If
no matching database records are found, a record
count of zero will be returned.
Packet Structure:
Byte Number Value
Meaning
0x00
0x2A
Start character
0x01
0x49
Device type (iPort)
0x02
0x00
Packet Length High Byte
0x03
0x07
Packet Length Low Byte
0x04
0x38
Packet Command Type
0x05
0x3C
Packet Command High Byte
0x06
0x25
Packet Command Low Byte
0x07
0xNN
Database Record Count (byte 4)
0x08
0xNN
Database Record Count (byte 3)
0x09
0xNN
Database Record Count (byte 2)
0x0A
0xNN
Database Record Count (byte 1)
0x0B
0xNN
Checksum
27. RetrieveCategorizedDBRecords
0x3C
0x26
RetrieveCategorizedDBRecords
Direction: Controller —> iPort
Description: Retrieves one or more database records from the
iPod based usually based on the results from the
GetNumberCategorizedDBRecords query. Category
type codes are described in the
SelectSort
DBRecord command code description section.
Packet Structure:
Byte Number Value
Meaning
0x00
0x2A
Start character
0x01
0x49
Device type (iPort)
0x02
0x00
Packet Length High Byte
0x03
0x0C
Packet Length Low Byte
0x04
0x38
Packet Command Type
0x05
0x3C
Packet Command High Byte
0x06
0x26
Packet Command Low Byte
0x07
0xNN
Category Type Code
0x08
0xNN
Database Record Start Index (byte 4)
0x09
0xNN
Database Record Start Index (byte 3)
0x0A
0xNN
Database Record Start Index (byte 2)
0x0B
0xNN
Database Record Start Index (byte 1)
0x0C
0xNN
Database Record Read Count (byte 4)
0x0D
0xNN
Database Record Read Count (byte 3)
0x0E
0xNN
Database Record Read Count (byte 2)
0x0F
0xNN
Database Record Read Count (byte 1)
0x10
0xNN
Checksum
11
Instruction Manual
iPort RS-232 Programming
iPort
Command
High Byte
iPort
Command
Low Byte
Command
iPort
Command
High Byte
iPort
Command
Low Byte
Command
iPort
Command
High Byte
iPort
Command
Low Byte
Command