How can I establish an AVRCP connection from Windows 7 (controller) to phone (target) using L2CAP on Widcomm SDK?

不问归期 提交于 2019-12-10 19:26:45

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!