问题
I am using the CL2Cap class in the Widcomm SDK on Win7. I am able to successfully establish the L2CAP connection and send the UNIT INFO command but the data returned is incorrect. I suspect that the stack has already established a connection and the AVRCP spec says:
"Only one L2CAP connection shall be established between AVCTP entities. If the connection already exists, the CT/TG shall not initiate the connection request."
Can anyone shed some light on what could be the problem? I have verified that the stack can establish a connection directly and play media on from the phone, but I am unable to do this programmatically.
来源:https://stackoverflow.com/questions/8997255/how-can-i-establish-an-avrcp-connection-from-windows-7-controller-to-phone-ta