Forum: Cross-Platform-Entwicklung
by DonAlfredo,
24. Mär 2016
You're welcome. And thanks for your feedback.
Together, we solved this more quickly than I expected !
Forum: Cross-Platform-Entwicklung
by DonAlfredo,
23. Mär 2016
I think you do not need the permission part.
As long as you apply the device filter (device_filter.xml ; with your values).
AFAIK, you do not use the interrupt endpoints, so they are not important for your programme.
Forum: Cross-Platform-Entwicklung
by DonAlfredo,
23. Mär 2016
I think you are referring to usb.pas ?!
If so, this usb.pas is tailor made for my application.
It is a measurement system with sometimes over 25 mcu's. All connected by USB.
All mcu's have a serial, so that the app can distinguisch them.
On initial connect, a serial is generated by the main system, and stored in firmware of the mcu.
If you do not connect multiple identical USB HID...
Forum: Cross-Platform-Entwicklung
by DonAlfredo,
23. Mär 2016
Ok.
I have added a quick and dirty feature report (see GitHub).
Not tested. Just use it as a start. Adapt for your needs.
Now I have to go back to normal business.
Forum: Cross-Platform-Entwicklung
by DonAlfredo,
23. Mär 2016
I just had a quick look on how to send/get a report.
You need to do a controltransfer.
I you look at: function TJvHidDevice.GetDeviceString(Idx: Byte): string;
You will find an example on how to do a controltransfer.
It could give you a start.
Forum: Cross-Platform-Entwicklung
by DonAlfredo,
23. Mär 2016
Yep. It will need (a lot) more work to implement reports.
And if that is the case, you will have to have a little patience.
Sorry for that. I will report back.
Forum: Cross-Platform-Entwicklung
by DonAlfredo,
22. Mär 2016
Nop !
No GET_REPORT.
I wrote this library to communicate with some Microchip USB mcu's.
HID interrupt only. No reports. Yet.
This:
TCommands = (
CMD_get_serial=100,
CMD_set_serial=101,
Forum: Cross-Platform-Entwicklung
by DonAlfredo,
21. Mär 2016
Here the author.
What Delphi version are you using ?
If I check with XE8 and XE10, all is ok !
Edit:
Sorry, I see: XE6.
Unfortunately, I do not have XE6.