Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

[MBS] WinUSBNotificationMBS + HIDAPIDeviceMBS (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] [ANN] 17.0pr2
Next thread: [MBS] Dropbox link lost!


Re: [MBS] [ANN] Changes in REAL Studio Project Format   -   Garth Hjelte
  [MBS] WinUSBNotificationMBS + HIDAPIDeviceMBS   -   Jeremy Wood
   Re: [MBS] WinUSBNotificationMBS + HIDAPIDeviceMBS   -   Jeremy Wood
   Re: [MBS] WinUSBNotificationMBS + HIDAPIDeviceMBS   -   Christian Schmitz

[MBS] WinUSBNotificationMBS + HIDAPIDeviceMBS
Date: 04.01.17 02:59 (Tue, 3 Jan 2017 17:59:50 -0800)
From: Jeremy Wood
I'm interested in using WinUSBNotificationMBS to detect USB devices being
added/removed, and then connect to them via HIDAPIDeviceMBS.

I can't figure out how to go from the device path that is provided in the
WinUSBNotificationMBS.DeviceAdded(Name as string) event to HIDAPIDeviceMBS.
The device name in the notifier doesn't match any of the
HIDAPIDeviceInfoMBS.Path's when I step through the available devices with
HIDAPIDeviceInfoMBS. Nor does it seem to work to open the path directly
with HIDAPIDeviceMBS.OpenPath().

Has anybody figured this out?

Thanks,

Jeremy
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] WinUSBNotificationMBS + HIDAPIDeviceMBS
Date: 04.01.17 20:58 (Wed, 4 Jan 2017 11:58:27 -0800)
From: Jeremy Wood
That's too bad. OK, I'll figure it out.

On Wed, Jan 4, 2017 at 1:26 AM, Christian Schmitz <
<email address removed>> wrote:

>
> > Am 04.01.2017 um 02:59 schrieb Jeremy Wood <<email address removed>>:
> >
> > I'm interested in using WinUSBNotificationMBS to detect USB devices being
> > added/removed, and then connect to them via HIDAPIDeviceMBS.
> > Has anybody figured this out?
>
> Sorry, but WinUSBNotificationMBS is based on Windows API to detect devices
> coming/going.
> We just register to get notified about changes on USB devices.
>
> You can of course try to figure out IDs from that string.
>
> Or maybe just use other classes to rescan and figure out what is new or
> missing.
> Be aware that HID classes don't see all USB devices.
>
> Sincerely
> Christian
>
> --
> Read our blog about news on our plugins:
>
> http://www.mbsplugins.de/
>
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> <email address removed>
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_
> monkeybreadsoftware.info
>
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] WinUSBNotificationMBS + HIDAPIDeviceMBS
Date: 04.01.17 10:26 (Wed, 4 Jan 2017 10:26:07 +0100)
From: Christian Schmitz

> Am 04.01.2017 um 02:59 schrieb Jeremy Wood <<email address removed>>:
>
> I'm interested in using WinUSBNotificationMBS to detect USB devices being
> added/removed, and then connect to them via HIDAPIDeviceMBS.
> Has anybody figured this out?

Sorry, but WinUSBNotificationMBS is based on Windows API to detect devices coming/going.
We just register to get notified about changes on USB devices.

You can of course try to figure out IDs from that string.

Or maybe just use other classes to rescan and figure out what is new or missing.
Be aware that HID classes don't see all USB devices.

Sincerely
Christian