Here is a decent document on the AP protocol for anyone interested in learning.