How to inquiry and pair bluetooth device

From: hi (mailyou_mailyou_at_hotmail.com)
Date: 10/30/04


Date: Sat, 30 Oct 2004 14:41:40 +0800


  I am using intel xscale PXA255 as hardware platform, and my bluetooth
module is connected to the PXA255 BTUART ,BTUART's device file name is
"COM2" in OS. When I use the application "BTPair" in
\wince420\public\common\oak\drivers\bluetooth\sample to inquiry my
bluetooth printer, I get the last Error is "Bluetooth hardware error 10050"
. My bluetooth module is correct when I conntect it to my PC, and it can
find out my blueooth printer. My setting of
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\HCI] in common.reg file is
as following
         "flags" = dword:0
         "name" = "COM2:"
         "baud" = dword:2580 // My bluetooth module also use the same baud
rate
and I set the bluetooth HCI Transport Layer only use BTUART in Platform
Builer.

  How to inquriy and pair bluetooth device in wince? what I must note and do
in wince if I want to implement that bluetooth inquiry and pair?