Coding a USB connection

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tclancey

    Coding a USB connection

    Hi all. I have a slight issue I would like to get around if anyoine can
    help.

    I have a WM5 device running a keyboard wedge bit of software, this I've
    written and it works well. However I have problems with the USB device
    dropping off every now and then, then you have to go through the connection
    process again, this is quite annoying!

    Has anyone got any idea if it is possible to programatically create a
    connection to a USB device through a Com port, or do you have to use the USB
    connection wizard thing?

    If I could force the connection in code I could simply check for the
    connection state? Possibly? And if the expected connection isn't there,
    add it it?

    Any ideas would be greatfully received.

    Cheers.


Working...