We have LPCXpresso54102 LQFP64 Rev A board. we use this board as USB to I2C bridge. We use LIBUSBSIO python library for I2C operation of Bridge.
Now, We have these 2 bridges connected with the PC and we want to differentiate the device.
sio = LIBUSBSIO(loglevel=logging.DEBUG)
numports = sio.GetNumPorts()
sio.Open(0)
here sio.GetNumPorts() give no of connected sio device. for the Opening port we just give no of a device(In my case 0 or 1).so, how can we identify which board is comport is open?
There is any way to find which device is open.
Please suggest to me some ideas related to my usage?