Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

实现简易 MTP 解析器遇到的问题,请求指点。。 #4

Open
XIVN1987 opened this issue Sep 24, 2022 · 0 comments
Open

实现简易 MTP 解析器遇到的问题,请求指点。。 #4

XIVN1987 opened this issue Sep 24, 2022 · 0 comments

Comments

@XIVN1987
Copy link

你好,我在调试一个简单的 MTP 主机程序,,由于 usbpv 还未实现 MTP 解码,所以我想自己写一个简单的 MTP 解码器(简易的,只实现几条简单指令即可),,但是无论我怎么修改解码器代码,,usbpv 都只能识别MTP命令的Cmd包,不能将其后的Data包和Resp包识别为MTP命令的一部分,,显示如下:
MTP

我实在看不出是哪里的问题,,下面压缩包中是我写的MTP解码器代码和用于测试的MTP数据包,,麻烦有时间看下指点问题所在,,谢谢。。
MTP.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant