[details] Simple Agent for Paring Please include a detailed description as well as steps to reproduce the bug.
[details] script to make a connection to PTS from SRC or disconnect PTS
A2DP SRC Role PTS testing failed in 3 cases: TC_SRC_CC_BV_10_I, TC_SRC_SET_BV_06_I and TC_SRC_AS_BV_01_I. I observe that PTS can not end the 3 cases after receiving HCI_DISCONNECTION_COMPLETE_EVENT. You might need to turn on 2 optional pics: TSPC_A2DP_2_11 and TSPC_A2DP_2_12 when tesing. Here is one log from PTS: Test case : TC_SRC_SET_BV_06_I started - SDP Service record: A2DP successfully registered - A2DP SNK successfully registered - SDP Service record: AVRCP successfully registered - AVCTP profile: 'AVRCP CT' successfully registered - SDP Service record: AVRCP successfully registered - PTS is in discoverable mode, please make connection from IUT. - AVDTP: AVDTP connected by IUT succeeded - AVDTP: Service Level Connection for SNK is successful setup - AVCTP: received AVCTP connect request from IUT. - Sending streaming by going to Media player may needed from IUT. - AVDTP: discover routine success. - AVDTP: get_capabilities routine success. - IUT support sbc codec with Join Stereo. - AVDTP: set_configuration routine success. - AVDTP: open routine success. - AVDTP: start routine success. - AVDTP: streaming data received successfully. - Action: Stop streaming and put the IUT out of radio range. - AVDTP: Service Level Connection disabled - AVCTP: Service Level Connection for CT disabled - WARNNING: It is not recommanded that AVRCP channel disconnected before A2DP can be disconnect. - Bring the IUT back in radio range. - MTC: Guard timer timed out. - CM_EXIT - MTC: Test case ended Final Verdict : INCONC