- Jun 6, 2020
- 11,517
- 4,383
Hi,
As the title says, I have a problem connecting a HID device to an Android phone. The device I want to communicate with is an ARM based board that I created some years ago and have been using with a PC program and now I want an Android app. I'm using the ADB test project as a base and started modifying it. I changed the InterfaceClass and InterfaceSubClass and it seems to be working with one exception: when I read the data that the device sends back I get only zeros. The boards receives the command from the phone and replies to it, I was able to check that using an ARM debugger. What am I doing wrong?
B4X:
As the title says, I have a problem connecting a HID device to an Android phone. The device I want to communicate with is an ARM based board that I created some years ago and have been using with a PC program and now I want an Android app. I'm using the ADB test project as a base and started modifying it. I changed the InterfaceClass and InterfaceSubClass and it seems to be working with one exception: when I read the data that the device sends back I get only zeros. The boards receives the command from the phone and replies to it, I was able to check that using an ARM debugger. What am I doing wrong?
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید