Re: WM5 MS BT Stack

Tech-Archive recommends: Speed Up your PC by fixing your registry



Since BT supports the use of far more than 2 serial ports, I don't follow
this portion of your response: 'But we allow OEMs to modify which ports to
expose on the final device based on what is available on their device.'

Since the BT ports are 'virtual', I don't see the correlation to 'what is
available'. The 0-9 limitation seems to be an erronous limitation in the WM5
architecture. Why 10?

Can you also elaborate on: 'App developers can register a BT COM port on
the "BSP" prefix and not take up a COM port. Although most legacy apps are
configured to use "COM0-9:". And if an app is aware that it is using
Bluetooth I would recommend it use Bluetooth sockets'
Do you mean I can call CreateFile and use 'BSP' followed by some arbitrary #
I make up in replacement of COM#?
Also, if my applications use BT serial, you're recommending that I *not* use
the serial object provided by say VB, eVB or .NET? I should use sockets to
perform serial i/o? This would seem to counter the whole basis for BT
serial...

Thanks in advance for your feedback...

"Greg Scott [MS]" wrote:

> Peter is exactly right. To add to this, the Windows Mobile UI allows you to
> configure COM ports 0 to 9 by default. But we allow OEMs to modify which
> ports to expose on the final device based on what is available on their
> device. So far it seems most OEMs leave two ports.
>
> The BT stack supports COM ports using the standard "COM" prefix as well as
> the "BSP" prefix (Bluetooth Serial Port). App developers can register a BT
> COM port on the "BSP" prefix and not take up a COM port. Although most
> legacy apps are configured to use "COM0-9:". And if an app is aware that it
> is using Bluetooth I would recommend it use Bluetooth sockets.
>
> Thanks,
> Greg
>
> --
> Greg Scott
> Software Design Engineer, Windows CE
> Microsoft Corporation
> _____________________________________________________________
> This posting is provided "AS IS" with no warranties, and confers no rights.
> _____________________________________________________________
>
> "Peter Foot [MVP]" <feedback@xxxxxxxxxxxxxxxxxxxx> wrote in message
> news:erzO2FhGGHA.1332@xxxxxxxxxxxxxxxxxxxxxxx
> > The issue is that it only offers COM ports 0 to 9, and most of these are
> > already assigned to other things, especially on a phone edition device.
> > Its not a limitation of the Bluetooth settings per-se. Other options would
> > be to support alternative port prefixes (but would require consuming
> > applications to accept them) or allow port numbers greater than 9 which
> > requires some additional support from consuming apps as the port naming is
> > slightly more complicated. Alternatively Microsoft could move some of the
> > system ports which are not likely to be used directly by third party apps
> > into these extended port numbers to free up more in the 0-9 range.
> >
> > Peter
> >
> > --
> > Peter Foot
> > Windows Embedded MVP
> > www.peterfoot.net | www.inthehand.com
> >
> > "Tim Raml" <TimRaml@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > news:4F59B488-FF5A-48BD-9062-3CAC0E39D200@xxxxxxxxxxxxxxxx
> >> Not sure if someone will be able to answer this but...
> >>
> >> Why does the MS stack limit you to only 2 outgoming and incoming com
> >> ports
> >> (via the user interface)? 2 is better than the 1 you get from widcomm
> >> but
> >> can't I have 10?
> >>
> >> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecomm5/html/wce50conCOMPortEmulationFacility.asp
> >>
> >> From that, one could interpret or misinterpret to mean that it is in fact
> >> capable of 10.
> >>
> >> There's obviously going to be some degradation and data loss in the
> >> throughput but why not let me decide that having 6 ports in use at the
> >> same
> >> time is too much? Yes, with 2 loopback test application running on 2
> >> different serial ports, there is loss but I can live w/ it, it's not that
> >> much loss but I want more ports :)
> >
> >
>
>
>
.



Relevant Pages

  • RE: Virtual Com Ports...
    ... you will need to call RegisterDevice with the same index parameter as ... you only need to specify pp.channel OR pp.uuidService. ... | Thread-Topic: Virtual Com Ports... ... | application, I get the Bluetooth Browser to pop up, which is good. ...
    (microsoft.public.windowsce.app.development)
  • Re: Active Sync-Bluetooth woes - Please help!
    ... Note that to connect via Bluetooth you have to initate the connection from ... the PPC after setting up the correct COM port in ActiveSync on the desktop. ... Showing the hidden COM ports certainly helped. ...
    (microsoft.public.pocketpc.activesync)
  • Re: ipaq 5550 - wm2003 - active synch 3.8 and bluetooth
    ... Theissue with bluetooth may be my inexperience with the ... No matter what I have tried to cannot get activesynch to ... all the virutal ports etc. ... Active synch now searches on ports 1,2,5,8 but still ...
    (microsoft.public.pocketpc)
  • RE: Bluetooth Radio Removal
    ... the better solution is to avoid using com ports and ... to communicate with the remote device directly using rfcomm sockets. ... Please work with Ramesh (who is the Bluetooth SDK ... But I'm having a problem with these ports when the Bluetooth radio is ...
    (microsoft.public.win32.programmer.networks)
  • Re: gps dont work
    ... I believe that it takes Pocket Streets 2004 or newer to work with the ... virtual Bluetooth ports on your device. ... > bought a new Bluetooth receiver to work with it. ... > need to be on the same ports as of the receiver. ...
    (microsoft.public.pocketpc.wireless)