All Forums
 Microsoft Windows CE
 CE Drivers
 Undesirable auto-connect on COM1, BitsyPlus
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

Susan

123 Posts

Posted - 05 May 2003 :  11:21:59  Show Profile  Email Poster
One of our applications uses a cell phone to transmit acquired data back to an office. We are using COM1 for the cell phone connection.

If my application is already running when I attach the cell phone, I receive the following message box:
‘Connecting to COM1’
Connecting to host
Hide this message: [Hide]
Cancel connection: [Cancel]

If the cell phone is already connected when I reboot the device, I do not see the message box (although I suspect it is there, but merely hidden).

This is a BitsyPlus, image 4.12, ROM 1.77.

The HWT entry for debug port output is:
0xC0000F48 0x00000003

The REG entry for ActiveSync assignment is:
[HKEY_CURRENT_USER\ControlPanel\Comm]
“AutoCnct”=dword:1
“Cnct”=”com3”

Development on this application was started on the Bitsy. I don’t recall ever seeing this happen using that board.

I need to eliminate this message box.

Thank you.

whuh

23 Posts

Posted - 05 May 2003 :  12:00:37  Show Profile  Email Poster
Susan,

Add following Registry key on your adsload.reg.
It will disable auto launching of repllog when connector is plugged in COM1.

[HKEY_CURRENT_USER\Software\Apps\LaunchAS]
"DisableCOM1"=dword:1 ; Disable autolaunching

WH
Go to Top of Page

Susan

123 Posts

Posted - 05 May 2003 :  12:43:03  Show Profile  Email Poster
I'm about to try this.

But, I'm a little curious. I have the REG entry for ActiveSync set to using COM3 (as mentioned above), yet you're telling me that whether or not ActiveSync (repllog) will run is dependent on another entry (even though the entry I'm using has a "AutoCnct" entry), AND it doesn't matter that I told it to use COM3. It's going to go ahead and use COM1 anyway?
Go to Top of Page

Susan

123 Posts

Posted - 05 May 2003 :  12:50:20  Show Profile  Email Poster
It worked.

Thank you.

I'm still a little bugged by the perceived discrepancies, though.
Go to Top of Page

whuh

23 Posts

Posted - 05 May 2003 :  13:28:16  Show Profile  Email Poster
Susan,

When cable is connected to serial port, CE knows which line is connected.
It launches repllog.exe with connected port.
So, "Cnct"="com3" will be overriden by driver.

WH
Go to Top of Page

Susan

123 Posts

Posted - 05 May 2003 :  14:05:54  Show Profile  Email Poster
Thank you...
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000