RE: bluetooth question

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: hxiaow (hxiaow_at_discussions.microsoft.com)
Date: 06/11/04


Date: Fri, 11 Jun 2004 08:27:01 -0700

Now I understand BT better than before.Thank Gregd Scott very much!

Hardware:
I connect BT module tn COM2 of my PC.

Software:(Platform Builder)
I add "BT UART-only driver" from PB catalog into my platform of "EMULATOR: X86 Win32 (WCE emulator) Debug".

Then I add the line "set BSP_BLUETOOTH_BUILTIN_UART=1" in the "Emulator.bat" file.(Is it correct?)

Then I build the platform and download the image. After I double-kick the icon of "bluetooth *" in the control panel,but I receive an error imformation that "bluetooth controller error:10050".

I check that my BT does connect to the COM2.But I can't find the "bthuart.dll" in my directory "E:\WINCE420\PUBLIC\tty\RelDir\EMULATOR_X86Debug". I doubt whether the BSP_BLUETOOTH_BUILTIN_UART variable has been set to "1".(Do I doubt right?)

Where did I take an error operation?
Or where else must I modify except the following operations ?

>

"Greg Scott [MS]" wrote:

> In most cases, you should be able to use either Winsock APIs or Virtual COM
> port APIs. Both these APIs are on top of RFCOMM. The BT samples should be
> everything you need to figure this out.
>
> If you only care about enabling BT on serial interface do this:
>
> set SYSGEN_BTH_UART_ONLY=1 (or "BT UART-only driver" from PB catalog)
> set BSP_BLUETOOTH_BUILTIN_UART=1
>
> This will put BT on COM2 by default. Look at registry in common.reg
> between:
> IF BSP_BLUETOOTH_BUILTIN_UART
> ....
> ENDIF
>
> You can change COM port, baud, etc from here in registry.
>
> 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.
> _____________________________________________________________
>
> --------------------
> | Thread-Topic: bluetooth question
> | thread-index: AcROrsU30egh5pwKSASfrhnxDN5EOQ==
> | X-WBNR-Posting-Host: 207.46.71.12
> | From: =?Utf-8?B?aHhpYW93?= <hxiaow@discussions.microsoft.com>
> | References: <C4C5F333-DB1E-43F9-B7AF-2651C3ADD0DB@microsoft.com>
> <ApIdyhWTEHA.3468@cpmsftngxa10.phx.gbl>
> | Subject: RE: bluetooth question
> | Date: Wed, 9 Jun 2004 22:50:01 -0700
> | Lines: 19
> | Message-ID: <D05266CF-CAD2-4C58-8E3C-151CD7D3A7E5@microsoft.com>
> | MIME-Version: 1.0
> | Content-Type: text/plain;
> | charset="Utf-8"
> | Content-Transfer-Encoding: 7bit
> | X-Newsreader: Microsoft CDO for Windows 2000
> | Content-Class: urn:content-classes:message
> | Importance: normal
> | Priority: normal
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> | Newsgroups: microsoft.public.windowsce.platbuilder
> | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 127.0.0.1
> | Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
> | Xref: cpmsftngxa10.phx.gbl microsoft.public.windowsce.platbuilder:51017
> | X-Tomcat-NG: microsoft.public.windowsce.platbuilder
> |
> | Thanks very much!!
> |
> | 1. I am trying to use the Microsoft Bluetooth stack,not the third-part
> stack. Does it mean that I should call the btd.dll and btdrt.dll?(or use
> btd.lib and btdrt.lib?)Which way I can call the stack then??
> |
> | And should I use the transport driver required for my Bluetooth hardware,
> UART: bthuart.dll?
> |
> | 2. My "contain" means I can develop my application furtherly based on
> the bluetooth stack which is offered by WinCE 4.2. Can I develop my app
> based on the RFCOMM layer?
> |
> | 3. Bluetooth hardware is typically using a serial interface. I want to
> connect BT hardware to physical COM1, because this way is easy for me. If
> BT stack needs to use COM1,where I can set the registry? Where I can set
> the bt port?
> |
> |
> | If I want to use BT virtual COM ports then I need to register a COM port
> (via
> | RegisterDevice) .In this way ,what physical interface does the BT module
> connect to? ----It is not the physical COM1,is it?
> |
> | :-)
> | I have read the documentation in Platform Builder and seen the samples in
> public\common\oak\drivers\bluetooth\sample.Now I have some conception about
> the samples.
> | :-)
> |
> |
> |
>
>



Relevant Pages

  • RE: [Full-Disclosure] Microsoft urging users to buy Harware Firewalls
    ... connections between multiple computers. ... A Linksys NAT router box is selling for only $40 at Amazon ... Besides protecting against the MSBlaster worm, a hardware ... Then the user finds about port forwarding, and as soon as the user ...
    (Full-Disclosure)
  • RE: Hardware/Software Solution for Standalone DSL User
    ... A cable/DSL router is not a real "hardware security solution". ... Port filtering only works if used, if set up properly, and then only if ... the connection is using ports you don't allow through. ... A hardware solution such as a Cisco PIX 501 does more than NAT. ...
    (Security-Basics)
  • Re: System hangs up every day
    ... I would suggest examining the hardware components, ... The server works as: ... <ACPI PCI bus> on pcib0 ... port may not be enabled ...
    (freebsd-stable)
  • Re: BT Stack under WM2005
    ... Under WM5.0 (with the Microsoft stack) once you have paired a device you can view it's properties in Settings> Connections> Bluetooth and view the properties, if you check Serial Port and save you can then go to the COM Ports tab of the Bluetooth settings applet and map an outgoing COM port to your device. ... Although there's always one preliminary step I have to take prior to engaging this kind of communication: I've either got to use the built-in GPS manager, which is unfortunately hidden under WM5 by default in order to map COM ports to the incoming data from Picoplug. ... Every time I restart a programme which is attempting to communicate with the Picoplug, connection gets established but only to break down a few seconds later. ...
    (microsoft.public.pocketpc.developer)
  • Re: Port 139 offen. Hilfetexte bisher ohne Erfolg
    ... Es lauscht ein Dienst auf dem lokalen Port 139 und nimmt auf der ... zwischen dem TCP/IP Stack des ... Wenn eine TCP Verbindung initiiert wird, ... TCP/IP Stack des OS statt. ...
    (de.comp.security.misc)