Packet Structure:
Byte Number Value
Meaning
0x00
0x2A
Start character
0x01
0x49
Device type (iPort)
0x02
0x00
Packet Length High Byte
0x03
0x03
Packet Length Low Byte
0x04
0x38
Packet Command Type
0x05
0x3C
Packet Command High Byte
0x06
0x09
Packet Command Low Byte
0x07
0x37
Checksum
3. ReturnNumPlayingSongs
0x3C
0x0A
ReturnNumPlayigSongs
Direction: iPort —> Controller
Description: In response to
GetNumPlayingSongs the return pack-
et will include the count of the songs queued to play.
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
0x0A
Packet Command Low Byte
0x07
0xNN
Number of tracks (byte 4)
0x08
0xNN
Number of tracks (byte 3)
0x09
0xNN
Number of tracks (byte 2)
0x0A
0xNN
Number of tracks (byte 1)
0x0B
0xNN
Checksum
4. SetCurrentPlayingSong
0x3C
0x0B
SetCurrentPlayingSong
Direction: Controller —> iPort
Description: Sets the index of the track that needs to be playing
in the now playing playlist on the iPod. The index
that is specified is obtained by sending the
GetNumPlayingSongs and GetCurrentPlayingSong
Index commands to obtain the number of playing
songs and current playing song index respectively.
NOTE: This command is only usable when the iPod is in
a playing or paused state. The command will fail if the
iPod is stopped.
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
0x0B
Packet Command Low Byte
0x07
0xNN
New Current Playing Song Index (byte 4)
0x08
0xNN
New Current Playing Song Index (byte 3)
0x09
0xNN
New Current Playing Song Index (byte 2)
0x0A
0xNN
New Current Playing Song Index (byte 1)
0x0B
0xNN
Checksum
5. ReturnRepeat
0x3C
0x0C
ReturnRepeat
Direction: iPort —> Controller
Description: In response to the
GetRepeat command the current
iPod track repeat mode state is returned.
Repeat Mode Code:
Code
Category Type
0x00
Repeat Off
0x01
Repeat One Track
0x02
Repeat All
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
0x0C
Packet Command Low Byte
0x07
0xNN
Repeat Mode Code
0x08
0xNN
Checksum
4
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