b170c73f92
Originally written and uploaded by Lalufu (Ralf Ertzinger) in Feb 2012. They have been condensed into a single patch and some further additions by Andy Potter. Currently includes Authentication V2 support from iPod to Accessory, RF/BlueTooth transmitter support, selecting a playlist and selecting a track from the current playlist. Does not support uploading Album Art or podcasts. Has been tested on the following iPods, 4th Gen Grayscale, 4th Gen Color/Photo, Mini 2nd Gen, Nano 1st Gen and Video 5.5Gen. Change-Id: Ie8fc098361844132f0228ecbe3c48da948726f5e Co-Authored by: Andy Potter <liveboxandy@gmail.com> Reviewed-on: http://gerrit.rockbox.org/533 Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
23 lines
979 B
Text
23 lines
979 B
Text
These are perl test scripts for validating the IAP implementation.
|
|
Also included is a perl class for talking to an iPod via the serial
|
|
port. You will probably need Linux to use this.
|
|
|
|
Run "make moduletest" to test the perl module itself. This will not
|
|
require any serial connection, or even an iPod, for that matter.
|
|
|
|
Run "make test" to run the iPod communication tests themselves.
|
|
|
|
In order to test make sure
|
|
|
|
- the iPod is connected to a serial port
|
|
- the test scripts assume that this port is /dev/ttyUSB0. Change
|
|
as neccessary
|
|
|
|
Sometimes, tests will time out instead of giving the desired result.
|
|
As long as the timeouts are not reproducable this is usually not a
|
|
problem. The serial port is known to be unreliable, and devices will
|
|
retransmit. This happens even with the OF.
|
|
|
|
The tests were designed against an iPod Touch 2G as a reference device.
|
|
Some older iPods fail some of the test, even with the OF, because of
|
|
behaviour changes in later firmware releases by Apple.
|