iAP2 sample source code, used for developing apple hardware accessories