首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 嵌入开发 > WinCE >

bluetooth驱动的加载有关问题

2012-04-07 
bluetooth驱动的加载问题现在我的系统启动时,就会自动加载蓝牙驱动程序,但是我想在系统启动时不加载蓝牙驱

bluetooth驱动的加载问题
现在我的系统启动时,就会自动加载蓝牙驱动程序,但是我想在系统启动时不加载蓝牙驱动程序btd.dll,而是通过应用程序来加载这个驱动程序,要怎么做呢?急等中……

[解决办法]
把蓝牙部分的注册表的 DLL去掉。
[解决办法]
plateform.reg common.reg project.reg都找一下,实在不行整个文件查找...呵呵
[解决办法]
我用的是PXA300 的,注册表的蓝牙相关的部分如下,仅供参考
C:\WINCE500\PLATFORM\ZYLONITE_MHL\FILES\zylonite_common.reg

[code=C/C++][/code]
IF BSP_BLUETOOTH
; @CESYSGEN IF CE_MODULES_BTD
; @XIPREGION IF PACKAGE_OEMDRIVERS
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\HCI]
"Name"="COM5:" ;LOC_FRIENDLYNAME_SERIAL2 ;"COM5:"

; disable hardware detect when external bluetooth card is inserted. Onlye support static bingding
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Settings]
"IgnoreExternal"=dword:1


[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Transports\BuiltIn\1]
"driver"="bthcsr.dll"
; "driver"="bthuart.dll"
"flags"=dword:4
"name"="COM5:" ;LOC_FRIENDLYNAME_SERIAL2 ;"COM5:"
"baud"=dword:1c200
"resetdelay"=dword:0
; Ericsson dongle/dev board
; SiW boxes

;[HKEY_LOCAL_MACHINE\ExtModems\bluetooth_dcn]
;"port"="COM8:"
;"DeviceType"=dword:0
;"FriendlyName"="BluetoothDCN"

;[HKEY_LOCAL_MACHINE\ExtModems\bluetooth_dun]
; "port"="COM8:"
; "DeviceType"=dword:1
; "FriendlyName"="BluetoothDUN"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\HandsfreeProfileOn]
; the next line is not required but it looks like
; if nothing is here the key "HandsfreeProfileOn" will not be added
; maybe this has already been fixed
@="HandsfreeProfileOn"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\AudioGateway]
"Capability"=dword:21
"MapAudioToPcmMode"=dword:1 ;0
"ConnectScoInAlways"=dword:0

[HKEY_LOCAL_MACHINE\Software\Microsoft\Obex]
"IsEnabled"=dword:1

[HKEY_LOCAL_MACHINE\Software\Microsoft\Obex\Services\{00000000-0000-0000-0000-000000000000}]
"TransportAuthenticate"=dword:1

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\BtScoSnd]
"Prefix"="WAV"
"Dll"="btscosnd.dll"
"Order"=dword:25

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\ScoWav]
"Direction"=dword:0
"AirCoding"=dword:0
"ConnectInTimeout"=dword:10000
"8BitSignedSamples"=dword:1
;Specifying headset address for MapAudioToPcmMode=1
"AddressOut"=hex:00,00,00,00,00,00 ; 00,07,A4,01,C2,69 ;00,00,00,00,00,00 

; Set default Bluetooth Class of Device
; BTH_COD_MAJOR_DEVICE_CLASS_COMPUTER | BTH_COD_MINOR_COMPUTER_PDA | BTH_COD_MAJOR_SERVICE_CLASS_OBEX
; 0x100 + 0x14 + 0x100000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\SYS]
"COD"=dword:920114 ;920100 ;100114
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_BTD

ENDIF

热点排行