怎么查看串口号
我在PXA255的BSP中看到 分配给蓝牙的串口的注册表设置 如下。
其中,"Index"项被注释掉了,没有用。
请高人指点,我该从哪里找到分配给蓝牙的串口号啊?
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
"Dll"="xsc1bd_serial.Dll"
IF USE_HWUART !
"IoBase"=dword:a6400000 ;BTUART_BASE_U_VIRTUAL
"IoLen"=dword:24
ENDIF
IF USE_HWUART
"IoBase"=dword:a7800000 ;HWUART_BASE_U_VIRTUAL
"IoLen"=dword:30
ENDIF
"Irq"=dword:0 ;21 - Dummy value. This subkey is not really used by the driver.
"Tsp"="Unimodem.dll"
"DeviceArrayIndex"=dword:2
"Prefix"="COM"
;"Order"=dword:0
;"Index"=dword:4
;"Priority256"=dword:67 ; Using default priority value
"DeviceType"=dword:0
"FriendlyName"=LOC_FRIENDLYNAME_SERIAL2
; Eliminate flow control bit
"DevConfig"=hex: 10,00,00,00,05,00,00,00,10,01,00,00,00,4B,00,00,00,00,08,00,00,00,00,00,00
[解决办法]
注释掉了那就是系统自动分配的,开机看注册表里面ACTIVE注册表项下看对应的是COM几