Hi all,

I have an HP4700 running on Windows Mobile 2003 Second Edition.
I am running a couple tests on my COM ports and I currently have the
following information that I get from the registry:

Port Registry Path Description

COM1 Drivers/BuiltIn/Serial "Serial Cable on COM1:"
COM2 Drivers/BuiltIn/Serial_FIR "Infrared Port"
COM3 Drivers/BuiltIn/IrComm "Infrared Port"
COM4 Drivers/Buildin/Serial_BTUR
COM5 Drivers/BuiltIn/Serial5 "Bluetooth Serial Port COM5:"
COM8 Drivers/BuiltIn/Serial8 "Bluetooth Serial Port COM8:"
COM9 Drivers/BuiltIn/SerialUSB "Serial on USB"

When I run the test with Bluetooth enabled, ports COM2 and COM4 fail. Why
would these ports fail if Bluetooth uses COM5 and COM8?

When I run the test with Bluetooth disabled, ports COM2, COM5 and COM8 fail.
If port COM5 and COM8 are Bluetooth and Bluetooth is disabled, how can they
fail saying that they are in use? Do I have the wrong mapping for the ports?

Any help is appreciated.
Thanks in advance.

--
Anderson

Re: COMM Ports on Windows Mobile 2003 Second Edition by ctacke/>

ctacke/>
Tue Feb 15 19:34:30 CST 2005

Well the device probably uses only the UARTs available to the PXA255, so
there are only 3 actual serial ports. COM 1 is the standard COM port and is
likely theUART1. UART2 is probably used for IR and UART3 is probably the
BTUART. Everything else is avirtual COM port exposed by a driver.

The question, really, is what are you trying to do? Just opening ports for
fun, or a specific purpose in mind?

-Chris

"Anderson" <Anderson@discussions.microsoft.com> wrote in message
news:BB1FAF58-87AA-4D31-A223-F7EC4A048BB1@microsoft.com...
> Hi all,
>
> I have an HP4700 running on Windows Mobile 2003 Second Edition.
> I am running a couple tests on my COM ports and I currently have the
> following information that I get from the registry:
>
> Port Registry Path Description
>
> COM1 Drivers/BuiltIn/Serial "Serial Cable on COM1:"
> COM2 Drivers/BuiltIn/Serial_FIR "Infrared Port"
> COM3 Drivers/BuiltIn/IrComm "Infrared Port"
> COM4 Drivers/Buildin/Serial_BTUR
> COM5 Drivers/BuiltIn/Serial5 "Bluetooth Serial Port COM5:"
> COM8 Drivers/BuiltIn/Serial8 "Bluetooth Serial Port COM8:"
> COM9 Drivers/BuiltIn/SerialUSB "Serial on USB"
>
> When I run the test with Bluetooth enabled, ports COM2 and COM4 fail. Why
> would these ports fail if Bluetooth uses COM5 and COM8?
>
> When I run the test with Bluetooth disabled, ports COM2, COM5 and COM8
> fail.
> If port COM5 and COM8 are Bluetooth and Bluetooth is disabled, how can
> they
> fail saying that they are in use? Do I have the wrong mapping for the
> ports?
>
> Any help is appreciated.
> Thanks in advance.
>
> --
> Anderson



Re: COMM Ports on Windows Mobile 2003 Second Edition by Anderson

Anderson
Fri Feb 18 10:53:02 CST 2005

Hi ctacke,

Not sure what that means. Well, I'm writting a test case...first I get all
the ports available and it returns: 1,2,4,5,8, IR1
Then I go through all of them, one by one performing an Open and Close to
test them out. When the bluetooth connection is on, ports 2 and 4 fail. So
I'm trying to find out why they fail.
Thanks


"<ctacke/>" wrote:

> Well the device probably uses only the UARTs available to the PXA255, so
> there are only 3 actual serial ports. COM 1 is the standard COM port and is
> likely theUART1. UART2 is probably used for IR and UART3 is probably the
> BTUART. Everything else is avirtual COM port exposed by a driver.
>
> The question, really, is what are you trying to do? Just opening ports for
> fun, or a specific purpose in mind?
>
> -Chris
>
> "Anderson" <Anderson@discussions.microsoft.com> wrote in message
> news:BB1FAF58-87AA-4D31-A223-F7EC4A048BB1@microsoft.com...
> > Hi all,
> >
> > I have an HP4700 running on Windows Mobile 2003 Second Edition.
> > I am running a couple tests on my COM ports and I currently have the
> > following information that I get from the registry:
> >
> > Port Registry Path Description
> >
> > COM1 Drivers/BuiltIn/Serial "Serial Cable on COM1:"
> > COM2 Drivers/BuiltIn/Serial_FIR "Infrared Port"
> > COM3 Drivers/BuiltIn/IrComm "Infrared Port"
> > COM4 Drivers/Buildin/Serial_BTUR
> > COM5 Drivers/BuiltIn/Serial5 "Bluetooth Serial Port COM5:"
> > COM8 Drivers/BuiltIn/Serial8 "Bluetooth Serial Port COM8:"
> > COM9 Drivers/BuiltIn/SerialUSB "Serial on USB"
> >
> > When I run the test with Bluetooth enabled, ports COM2 and COM4 fail. Why
> > would these ports fail if Bluetooth uses COM5 and COM8?
> >
> > When I run the test with Bluetooth disabled, ports COM2, COM5 and COM8
> > fail.
> > If port COM5 and COM8 are Bluetooth and Bluetooth is disabled, how can
> > they
> > fail saying that they are in use? Do I have the wrong mapping for the
> > ports?
> >
> > Any help is appreciated.
> > Thanks in advance.
> >
> > --
> > Anderson
>
>
>

Re: COMM Ports on Windows Mobile 2003 Second Edition by Chris

Chris
Fri Feb 18 12:52:25 CST 2005

It's quite possible (and, based on your test, probable) they share a UART,
so if BT is on, the port is in use.

--
Chris Tacke
Co-founder
OpenNETCF.org
Has OpenNETCF helped you? Consider donating to support us!
http://www.opennetcf.org/donate


"Anderson" <Anderson@discussions.microsoft.com> wrote in message
news:7441D80B-B6F1-4082-BA03-E63808EF075A@microsoft.com...
> Hi ctacke,
>
> Not sure what that means. Well, I'm writting a test case...first I get all
> the ports available and it returns: 1,2,4,5,8, IR1
> Then I go through all of them, one by one performing an Open and Close to
> test them out. When the bluetooth connection is on, ports 2 and 4 fail. So
> I'm trying to find out why they fail.
> Thanks
>
>
> "<ctacke/>" wrote:
>
>> Well the device probably uses only the UARTs available to the PXA255, so
>> there are only 3 actual serial ports. COM 1 is the standard COM port and
>> is
>> likely theUART1. UART2 is probably used for IR and UART3 is probably the
>> BTUART. Everything else is avirtual COM port exposed by a driver.
>>
>> The question, really, is what are you trying to do? Just opening ports
>> for
>> fun, or a specific purpose in mind?
>>
>> -Chris
>>
>> "Anderson" <Anderson@discussions.microsoft.com> wrote in message
>> news:BB1FAF58-87AA-4D31-A223-F7EC4A048BB1@microsoft.com...
>> > Hi all,
>> >
>> > I have an HP4700 running on Windows Mobile 2003 Second Edition.
>> > I am running a couple tests on my COM ports and I currently have the
>> > following information that I get from the registry:
>> >
>> > Port Registry Path Description
>> >
>> > COM1 Drivers/BuiltIn/Serial "Serial Cable on COM1:"
>> > COM2 Drivers/BuiltIn/Serial_FIR "Infrared Port"
>> > COM3 Drivers/BuiltIn/IrComm "Infrared Port"
>> > COM4 Drivers/Buildin/Serial_BTUR
>> > COM5 Drivers/BuiltIn/Serial5 "Bluetooth Serial Port COM5:"
>> > COM8 Drivers/BuiltIn/Serial8 "Bluetooth Serial Port COM8:"
>> > COM9 Drivers/BuiltIn/SerialUSB "Serial on USB"
>> >
>> > When I run the test with Bluetooth enabled, ports COM2 and COM4 fail.
>> > Why
>> > would these ports fail if Bluetooth uses COM5 and COM8?
>> >
>> > When I run the test with Bluetooth disabled, ports COM2, COM5 and COM8
>> > fail.
>> > If port COM5 and COM8 are Bluetooth and Bluetooth is disabled, how can
>> > they
>> > fail saying that they are in use? Do I have the wrong mapping for the
>> > ports?
>> >
>> > Any help is appreciated.
>> > Thanks in advance.
>> >
>> > --
>> > Anderson
>>
>>
>>