RE: Bluetooth communication with PC (activesync)



Windows Mobile Smartphones (and some PPC's) use the Microsft Windows CE
stack and are able to use ActiveSync with no problems. A common issue some
users hit is that XP with the MS stack will not expose the serial port
profile (SPP) over BT until an application is actually listening on the COM
port. So make sure you configure ActiveSync to use the COM port before
doing the BT discovery from CE. That is one difference between the Widcomm
and MS implementations. Otherwise, I have no ideas why this would not work.

Getting debug output from btd.dll would help.

Greg Scott
Software Design Engineer, Windows CE
Microsoft Corporation
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________

--------------------
| From: Niels Brouwers <niels.brouwers@xxxxxxxx>
| Subject: Bluetooth communication with PC (activesync)
| Date: Fri, 29 Apr 2005 11:39:08 +0200
| Organization: Chess iT
| Reply-To: niels.brouwers@xxxxxxxx
| Message-ID: <kov371pp8mq3gbs12pbrcms1trr1dbu3hn@xxxxxxx>
| X-Newsreader: Forte Agent 2.0/32.652 trialware
| MIME-Version: 1.0
| Content-Type: text/plain; charset=us-ascii
| Content-Transfer-Encoding: 7bit
| Newsgroups: microsoft.public.windowsce.platbuilder
| NNTP-Posting-Host: 62-177-217-10.static.bbeyond.nl 62.177.217.10
| Lines: 1
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windowsce.platbuilder:18434
| X-Tomcat-NG: microsoft.public.windowsce.platbuilder
|
| Hi all,
|
| We're having some issues with Bluetooth at the moment, maybe any of
| you can shed some light on them. Basically our setup is as follows:
|
| 1 PXA255 target with embedded bluetooth on board, running windows
| CE4.2 (actually PPC2003SE) and 1 windows PC with a bluetooth dongle.
|
| We can communicate with the PC when we've installed the Widcomm
| bluetooth stack. Activesync works fine then, but the target won't
| communicate with the Microsoft Bluetooth stack (service pack 2) when
| we have a dongle which prefers to use that.
|
| I find this very strange since the stack on our wince device is from
| Microsoft and it doesn't seem to cooperate with the Microsoft stack on
| a PC! Did anyone ever experience this as well? Any cures or
| experiments that we may try to fix this?
|
| Any help is appreciated, thanks.
|
| Niels
| Chess iT
|
| On a side note: all PDA's i've seen so far seem to be using the
| widcomm BT stack on the wince device and those are working fine with
| any PC.
|

.



Relevant Pages

  • Re: Bluetooth Stack Question - Multiple queries
    ... The Windows sockets interface only provides ... The Windows XP SP2 Bluetooth stack does have virtual COM support, ... there are not any plans for Microsoft to support Bluetooth ...
    (microsoft.public.win32.programmer.networks)
  • RE: Adjusting windows xp thread stack space/size ?
    ... stack size of Windows XP. ... Furthermore, though the default thread stack size is 1MB, but Windows XP ... Microsoft Online Partner Support ... | I think the default thread stack space size is about 1 megabyte in windows ...
    (microsoft.public.windowsxp.customize)
  • RE: bluetooth stack spec. 1.2 and windows ce .net versions
    ... the 5.0 stack has been certified using BT 1.2 baseband hardware. ... Software Design Engineer, Windows CE ... | Content-Type: text/plain; ... Produced By Microsoft MimeOLE V6.00.3790.0 ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Bluetooth stacks
    ... \par X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 ... \par install a 3rd-party>stack on the device. ... \par Microsoft stack is used on the Pocket PC Phone systems. ... \par> Microsoft Bluetooth Stack and other have Widcomm/Broadcom Bluetooth stack. ...
    (microsoft.public.pocketpc.developer)
  • Re: singe thread per connection
    ... process is about 2000, with the practical maximum somewhat lower, and performance suffering significantly before that. ... If you use a different stack size than the default, or don't actually allocate one OS thread per Java thread, then the actual limit would be different. ... But in Windows, both in the regular Win32 API and under .NET, there are i/o mechanisms that can be used that allow a single thread to service an arbitrarily large number of i/o tasks. ... This allows a program to create just enough threads to keep all the CPU cores busy, and the Windows scheduler knows to treat those threads specially so that if the only other runnable thread is one that would do the same thing that the currently running thread would do, the currently running thread is allowed to just keep running, rather than being preempted for no good reason. ...
    (comp.lang.java.programmer)