hi…
i am developing a usb2serial filter driver(virtual com port) which
will sit on top of the USB functional device driver by using UMDF tech…in
usb functional driver i am inter facing with the device by
hr = m_FxDevice->CreateDeviceInterface(&GUID_DEVINTERFACE_OSRUSBFX2,
NULL);
hr = m_FxDevice->AssignDeviceInterfaceState(&GUID_DEVINTERFACE_OSRUSBFX2,
NULL,
TRUE);
and this filter driver has to be appeared as COM2 for my PC for that i
thought to us e
m_FxDevice->CreateDeviceInterface(&GUID_DEVINTERFACE_COMPORT,NUL
m_FxDevice->AssignDeviceInterfaceState(&GUID_DEVINTERFACE_COMPORT,NULL,TRUE);
if i add this code in filter driver cofigure() function will it work as
COM2 for my pc
or anything i would have to use…and canu tell me how to cofigure the
baudrate n all while sending n receiving the data if u had any idea…
for ur understanding my requiremnet:
we had one softare in PC which will detect only COM ports…earlier this pc
was talking with the device by rs232…now the device is upgraded to
USB…and we r not supposed to do any chnges in software of PC…so we thoght
that we will develop a driver i.e USB 2 serial filter driver acts as a
virtual com port for PC…
it will sit on top of USB functional driver which will talk with the device
correctly