Re: To communicate with Bluetooth module



Thanks Greg,
I have tested with BTloader sample and gave start card it is saying
Result=1. But i don't see any debug messages. I doubt whether btd.dll is
loaded or not. But i can see the btd.dll in the Release directory. And how to
turn on the debug messages in btd.dll, that is i am not sure about the files
included for that dll.

Thanks and regards,
Jeyanthi

"Greg Scott [MS]" wrote:

You need to start the BT stack manually if this is not a PnP BT module. You
can run "btloader start card" from the command line. The btloader sample
lives here:

public\common\oak\drivers\bluetooth\sample\btloader

To debug BT issues it is helpful to build the debug version of the module
and turn on debug zones in btd.dll.

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.
_____________________________________________________________

"Jeyanthi Jayakumar" <JeyanthiJayakumar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:A456181A-05E6-4175-8100-0D382A7BFB32@xxxxxxxxxxxxxxxx
Hi,

I have connected a bluegiga Bluetooth module(WT12) to the PXA270 processor
thro' UART interface(TXD,RXD,RTS and CTS of PXA directly connected to the
same of Bluetooth module).

In the registry(common.reg) i have ,

[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\HCI]
"flags"=dword:0
"name"="COM1:"

IF BSP_BLUETOOTH_BUILTIN_UART
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Transports\BuiltIn\1]
"driver"="bthuart.dll"
"flags"=dword:4
"name"="COM1:"
"baud"=dword:1c200
"resetdelay"=dword:1388
ENDIF


[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Transports]
"BthUnivPresent"=dword:1
"baud"=dword:1c200

And i have set the BSP_BLUETOOTH_BUILTIN_UART =1 in the environment
variable.

But in my image if i give scan device, from Control panel\bluetooth
properties it is saying Bluetooth Hardware error(controller not present).

I am not able to identify what is problem? And for the serial settings
IF BSP_NOSERIAL !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
"Irq"=dword:15 ; 21 IRQ_BTUART
"SysIntr"=dword:1C ; 28 SYSINTR_BTUART
"MemBase"=dword:40200000 ; BTUART Register
"MemLen"=dword:40
"DeviceArrayIndex"=dword:81 ; BTUART object
"Prefix"="COM"
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
"Dll"="ms2_serial.dll"
"Order"=dword:0

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"="Serial Cable on COM1:"
"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

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
"Irq"=dword:14 ; 20 IRQ_STUART
"SysIntr"=dword:1B ; 27 SYSINTR_STUART
"MemBase"=dword:40700000 ; STUART Register
"MemLen"=dword:40
"DeviceArrayIndex"=dword:82 ; STUART object
"Prefix"="COM"
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
"Dll"="ms2_serial.dll"
"Order"=dword:0

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"="Serial Cable on COM2:"
"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

ENDIF BSP_NOSERIAL !

By this i have configured BTUART as COM1 and STUART as COM2. And in the
boot
up time i am getting HCI open connection started and after some time HCI
CLose connection successful is coming once the image is up. My doubt is no
dirver is running for this to be active. Can anyone help me which is the
driver to be loaded and how to verify whether Bluetooth driver is active.

Thanks in advance,




.



Relevant Pages

  • Re: To communicate with Bluetooth module
    ... can run "btloader start card" from the command line. ... To debug BT issues it is helpful to build the debug version of the module ... I have connected a bluegiga Bluetooth moduleto the PXA270 processor ... CLose connection successful is coming once the image is up. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Problem connecting to SSH, OpenVMS7.3-2, HP TCP/IP v5.4 patched
    ... debug: ... connection lost. ... client on the same node as the server. ... [No surprise, as I allow, but don't use, host-based authentication.] ...
    (comp.os.vms)
  • Re: Problem: I cant debug APP VS 2003 with ActiveSync 4.5
    ... Since you're using ActiveSync to make the connection, not the network, you ... install the Smart Device development components... ... In this machine I can work normaly (i can debug APP with VS2003), ...
    (microsoft.public.pocketpc.activesync)
  • RE: Sprint Novatel Ovation U720 USB phone very slow on Fedora
    ... IntelPRO/100 VE Network Connection - Packet Scheduler Miniport ... It is usually a matter of the 'correct' initialize/dial strings. ... With syslog set to debug you should be able to see the entire handshake ... This means that a dial up initialization string (AT command) needs to be ...
    (Fedora)
  • Cant copy files using SCP on OpenVMS
    ... connected, or connection down, waiting... ... tcpip$ssh_scp2.exe:SshFileCopy/SSHFILECOPY.C:956: Connecting to remote ... debug: ... from connection protocol. ...
    (comp.os.vms)