What is the A-device responsible for