I am building an Arduino-based peripheral for a project at work that interacts with a Service on the PC side that, when auto-detecting the serial port, does so through a WMI search for the Caption.
It therefore looks for any attached USB device the caption of which contains the substring "Arduino".
It then attempts a handshake, and if this is successful it sets up the permanent connection.
So far, so good; the problem is that there is another Arduino attached, which is accessed by a different service to which I have no access.
This other service has no handshake, and given that both Arduinos are identical the best idea that I can think of is to alter an element of the information presented to the WMI database so that I can search in the new service for the altered information.
However I have no idea how, or indeed if, I can alter that information in some way?
My ideal would be to initialise this as part of the code on the Arduino itself, but is this possible? If so, how?
I understand that I could alter the Registry directly but that feels very wrong!