[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SER24402]
"DeviceArrayIndex"=dword:1
"Index"=dword:4
"Port"="COM4:"
"FriendlyName"="Serial Cable on COM4:"
也就是将原来的com2修改成了com4,应用程序只要打开com4就可以用uart1了。
"FriendlyName"=LOC_USBFN_SERIAL_NAME
"idVendor"=dword:0547
"Manufacturer"=LOC_USBFN_SERIAL_MANUFACTURER
"idProduct"=dword:2720
"Product"=LOC_USBFN_SERIAL_PRODUCT
"Index"=dword:2
"Dll"="serialusbfn.dll"
"InterfaceSubClass"=dword:ff
"InterfaceProtocol"=dword:ff
"DeviceName"="USBFNS1:"
"Tsp"="Unimodem.dll"
"Prefix"="COM"
"DeviceArrayIndex"=dword:0
"DeviceType"=dword:0
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
"idVendor"=dword:045E
"Manufacturer"="Generic Manufacturer (PROTOTYPE--Remember to change idVendor)"
"idProduct"=dword:00ce
"Product"="Generic Serial (PROTOTYPE--Remember to change idVendor)"
"bcdDevice"=dword:0