Hello,
I'm working on an improved LCDproc
HD44780 driver using the FTDI FT2232D to add keypad support.
I have both interfaces working
perfectly, but would like to tell the user what the serial
number is of the interface that has been opened.
Is it possible to query the serial
number of an interface that has already been opened?
e.g.
/* open LCD channel*/
ftdi_init(&p->ftdic);
ftdi_set_interface(&p->ftdic, INTERFACE_A);
ftdi_usb_open(&p->ftdic, ftdiVendorIdLcd,
ftdiProductIdLcd);
<QUERY OPENED SERIAL NUMBER
HERE>
printf("Opened device serial
number is: %s",serilaNo);
ftdi_deinit(&p->ftdic);
Best regards,
Alex