Discussion:
Bluetooth under Windows CE 5.0
(too old to reply)
Fizyq
2005-11-14 15:10:14 UTC
Permalink
I have connectBlue Serial Port Adapter.
In PlatformBuilder I add "Bluetooth PAN" and "Bluetooth Stack with
Universal Loadable Driver" and "Bluetooth Stack with Universal Loadable
Driver".
What should I do to my system colaborate with Serial Port Adapter?
me
2005-11-21 11:51:03 UTC
Permalink
Hi!

I have exactly the same problem. I also use connectBlue serial port adapter.
I have tried to make changes to the bluetooth registers
HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\pan
and
HKEY_LOCAL_MACHINE\Comm\BTPAN1\Parms.
It seems that Windows CE does not recognize serial port adapter. When I try
to scan a device from the Bluetooth manager I get following error "Bluetooth
hardware error 10050 (controller not present)". Have you resolved this
problem? Could you give me some advice? Thanks!
Post by Fizyq
I have connectBlue Serial Port Adapter.
In PlatformBuilder I add "Bluetooth PAN" and "Bluetooth Stack with
Universal Loadable Driver" and "Bluetooth Stack with Universal Loadable
Driver".
What should I do to my system colaborate with Serial Port Adapter?
Greg Scott [MS]
2005-11-30 23:16:50 UTC
Permalink
You need to configure your BT module in the registry. First determine what
kind of BT transport driver you need (UART, BCSP, etc). In common.reg (in
your release directory) look at the registry inside
BSP_BLUETOOTH_BUILTIN_UART. You need to add this registry for your driver
with the necessary configuration parameters.

You can find some information on MSDN regarding Bluetooth registry settings:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk5/html/wce50conbluetoothhcitransportlayer.asp

I hope this helps.
--
Greg Scott
Software Design Engineer, Windows CE
Microsoft Corporation
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________
Post by me
Hi!
I have exactly the same problem. I also use connectBlue serial port adapter.
I have tried to make changes to the bluetooth registers
HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\pan
and
HKEY_LOCAL_MACHINE\Comm\BTPAN1\Parms.
It seems that Windows CE does not recognize serial port adapter. When I try
to scan a device from the Bluetooth manager I get following error "Bluetooth
hardware error 10050 (controller not present)". Have you resolved this
problem? Could you give me some advice? Thanks!
Post by Fizyq
I have connectBlue Serial Port Adapter.
In PlatformBuilder I add "Bluetooth PAN" and "Bluetooth Stack with
Universal Loadable Driver" and "Bluetooth Stack with Universal Loadable
Driver".
What should I do to my system colaborate with Serial Port Adapter?
nolidog
2006-01-13 07:00:02 UTC
Permalink
Hi,

I have the same problem. But I'm working on WinCE .Net 4.2 platform.
I want to connect my BT device via UART to the platform. The BT device has
been tested with PC, and it works well.
However, after I connect it to the CE platform and open the bluetooth
manager. It always says "bluetooth hardware error 10050".
If I select bluetooth UART driver only, after the image been built, I don't
know why there is no "bthuart.dll" such file.
So I choose bluetooth universal loadable driver and make change to the
registry(in common.reg) like this:
1. Set the environment variable "BSP_BLUETOOTH_BUILTIN_UART = 1"
And we'll have:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Transports\BuiltIn\1]
"driver"="bthuart.dll"
"flags"=dword:4
"name"="COM2:"
"baud"=dword:1c200
"resetdelay"=dword:1388
2. Add:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\HCI]
"flags"=dword:0
"name"="COM2:"
"baud"=dword:1c200

No matter how hard I try, it still doesn't work. Have anyone resolved the
problem?
Please tell me what else I shold do. Any suggestions?
Thanks in advance!
Post by Greg Scott [MS]
You need to configure your BT module in the registry. First determine what
kind of BT transport driver you need (UART, BCSP, etc). In common.reg (in
your release directory) look at the registry inside
BSP_BLUETOOTH_BUILTIN_UART. You need to add this registry for your driver
with the necessary configuration parameters.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk5/html/wce50conbluetoothhcitransportlayer.asp
I hope this helps.
--
Greg Scott
Software Design Engineer, Windows CE
Microsoft Corporation
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________
Post by me
Hi!
I have exactly the same problem. I also use connectBlue serial port adapter.
I have tried to make changes to the bluetooth registers
HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\pan
and
HKEY_LOCAL_MACHINE\Comm\BTPAN1\Parms.
It seems that Windows CE does not recognize serial port adapter. When I try
to scan a device from the Bluetooth manager I get following error "Bluetooth
hardware error 10050 (controller not present)". Have you resolved this
problem? Could you give me some advice? Thanks!
Post by Fizyq
I have connectBlue Serial Port Adapter.
In PlatformBuilder I add "Bluetooth PAN" and "Bluetooth Stack with
Universal Loadable Driver" and "Bluetooth Stack with Universal Loadable
Driver".
What should I do to my system colaborate with Serial Port Adapter?
Yannick Chamming's [eMVP]
2006-01-13 09:28:35 UTC
Permalink
Please check you don't include Bluetooth CSR support component, as this one
removes all the other ones !
--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO (ADESET)
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
Post by nolidog
Hi,
I have the same problem. But I'm working on WinCE .Net 4.2 platform.
I want to connect my BT device via UART to the platform. The BT device has
been tested with PC, and it works well.
However, after I connect it to the CE platform and open the bluetooth
manager. It always says "bluetooth hardware error 10050".
If I select bluetooth UART driver only, after the image been built, I don't
know why there is no "bthuart.dll" such file.
So I choose bluetooth universal loadable driver and make change to the
1. Set the environment variable "BSP_BLUETOOTH_BUILTIN_UART = 1"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Transports\BuiltIn\1]
"driver"="bthuart.dll"
"flags"=dword:4
"name"="COM2:"
"baud"=dword:1c200
"resetdelay"=dword:1388
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\HCI]
"flags"=dword:0
"name"="COM2:"
"baud"=dword:1c200
No matter how hard I try, it still doesn't work. Have anyone resolved the
problem?
Please tell me what else I shold do. Any suggestions?
Thanks in advance!
Post by Greg Scott [MS]
You need to configure your BT module in the registry. First determine what
kind of BT transport driver you need (UART, BCSP, etc). In common.reg (in
your release directory) look at the registry inside
BSP_BLUETOOTH_BUILTIN_UART. You need to add this registry for your driver
with the necessary configuration parameters.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk5/html/wce50conbluetoothhcitransportlayer.asp
I hope this helps.
--
Greg Scott
Software Design Engineer, Windows CE
Microsoft Corporation
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________
Post by me
Hi!
I have exactly the same problem. I also use connectBlue serial port adapter.
I have tried to make changes to the bluetooth registers
HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\pan
and
HKEY_LOCAL_MACHINE\Comm\BTPAN1\Parms.
It seems that Windows CE does not recognize serial port adapter. When I try
to scan a device from the Bluetooth manager I get following error "Bluetooth
hardware error 10050 (controller not present)". Have you resolved this
problem? Could you give me some advice? Thanks!
Post by Fizyq
I have connectBlue Serial Port Adapter.
In PlatformBuilder I add "Bluetooth PAN" and "Bluetooth Stack with
Universal Loadable Driver" and "Bluetooth Stack with Universal Loadable
Driver".
What should I do to my system colaborate with Serial Port Adapter?
nolidog
2006-01-14 01:46:02 UTC
Permalink
Excuse me! Do you mean that I should exclude Built-in CSR support components
and remove all the other drivers except UART in the bluetooth universal
loadable drivers?
BTW, Can you tell me where to look up the meanings of parameters, such as
"flags" & "name", such that I can set the serial port correctly to map to the
BT device?
Thanks for your reply.
Post by Yannick Chamming's [eMVP]
Please check you don't include Bluetooth CSR support component, as this one
removes all the other ones !
--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO (ADESET)
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
Post by nolidog
Hi,
I have the same problem. But I'm working on WinCE .Net 4.2 platform.
I want to connect my BT device via UART to the platform. The BT device has
been tested with PC, and it works well.
However, after I connect it to the CE platform and open the bluetooth
manager. It always says "bluetooth hardware error 10050".
If I select bluetooth UART driver only, after the image been built, I don't
know why there is no "bthuart.dll" such file.
So I choose bluetooth universal loadable driver and make change to the
1. Set the environment variable "BSP_BLUETOOTH_BUILTIN_UART = 1"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Transports\BuiltIn\1]
"driver"="bthuart.dll"
"flags"=dword:4
"name"="COM2:"
"baud"=dword:1c200
"resetdelay"=dword:1388
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\HCI]
"flags"=dword:0
"name"="COM2:"
"baud"=dword:1c200
No matter how hard I try, it still doesn't work. Have anyone resolved the
problem?
Please tell me what else I shold do. Any suggestions?
Thanks in advance!
Post by Greg Scott [MS]
You need to configure your BT module in the registry. First determine what
kind of BT transport driver you need (UART, BCSP, etc). In common.reg (in
your release directory) look at the registry inside
BSP_BLUETOOTH_BUILTIN_UART. You need to add this registry for your driver
with the necessary configuration parameters.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk5/html/wce50conbluetoothhcitransportlayer.asp
I hope this helps.
--
Greg Scott
Software Design Engineer, Windows CE
Microsoft Corporation
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________
Post by me
Hi!
I have exactly the same problem. I also use connectBlue serial port adapter.
I have tried to make changes to the bluetooth registers
HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\pan
and
HKEY_LOCAL_MACHINE\Comm\BTPAN1\Parms.
It seems that Windows CE does not recognize serial port adapter. When I try
to scan a device from the Bluetooth manager I get following error "Bluetooth
hardware error 10050 (controller not present)". Have you resolved this
problem? Could you give me some advice? Thanks!
Post by Fizyq
I have connectBlue Serial Port Adapter.
In PlatformBuilder I add "Bluetooth PAN" and "Bluetooth Stack with
Universal Loadable Driver" and "Bluetooth Stack with Universal Loadable
Driver".
What should I do to my system colaborate with Serial Port Adapter?
Yannick Chamming's [eMVP]
2006-01-16 08:18:51 UTC
Permalink
Yes, you should exclude Built in CSR support.

flags and name registry settings are generic for stream driver, not specific
to serial driver. You can look at generic information on stream driver in PB
help.
--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO (ADESET)
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
Post by nolidog
Excuse me! Do you mean that I should exclude Built-in CSR support components
and remove all the other drivers except UART in the bluetooth universal
loadable drivers?
BTW, Can you tell me where to look up the meanings of parameters, such as
"flags" & "name", such that I can set the serial port correctly to map to the
BT device?
Thanks for your reply.
Post by Yannick Chamming's [eMVP]
Please check you don't include Bluetooth CSR support component, as this one
removes all the other ones !
--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO (ADESET)
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
Post by nolidog
Hi,
I have the same problem. But I'm working on WinCE .Net 4.2 platform.
I want to connect my BT device via UART to the platform. The BT device has
been tested with PC, and it works well.
However, after I connect it to the CE platform and open the bluetooth
manager. It always says "bluetooth hardware error 10050".
If I select bluetooth UART driver only, after the image been built, I don't
know why there is no "bthuart.dll" such file.
So I choose bluetooth universal loadable driver and make change to the
1. Set the environment variable "BSP_BLUETOOTH_BUILTIN_UART = 1"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Transports\BuiltIn\1]
"driver"="bthuart.dll"
"flags"=dword:4
"name"="COM2:"
"baud"=dword:1c200
"resetdelay"=dword:1388
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\HCI]
"flags"=dword:0
"name"="COM2:"
"baud"=dword:1c200
No matter how hard I try, it still doesn't work. Have anyone resolved the
problem?
Please tell me what else I shold do. Any suggestions?
Thanks in advance!
Post by Greg Scott [MS]
You need to configure your BT module in the registry. First determine what
kind of BT transport driver you need (UART, BCSP, etc). In common.reg (in
your release directory) look at the registry inside
BSP_BLUETOOTH_BUILTIN_UART. You need to add this registry for your driver
with the necessary configuration parameters.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk5/html/wce50conbluetoothhcitransportlayer.asp
I hope this helps.
--
Greg Scott
Software Design Engineer, Windows CE
Microsoft Corporation
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________
Post by me
Hi!
I have exactly the same problem. I also use connectBlue serial port adapter.
I have tried to make changes to the bluetooth registers
HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\pan
and
HKEY_LOCAL_MACHINE\Comm\BTPAN1\Parms.
It seems that Windows CE does not recognize serial port adapter.
When I
try
to scan a device from the Bluetooth manager I get following error "Bluetooth
hardware error 10050 (controller not present)". Have you resolved this
problem? Could you give me some advice? Thanks!
Post by Fizyq
I have connectBlue Serial Port Adapter.
In PlatformBuilder I add "Bluetooth PAN" and "Bluetooth Stack with
Universal Loadable Driver" and "Bluetooth Stack with Universal Loadable
Driver".
What should I do to my system colaborate with Serial Port Adapter?
Continue reading on narkive:
Loading...