Author |
Topic |
|
Susan
123 Posts |
Posted - 05 May 2003 : 11:21:59
|
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
|
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 |
|
|
Susan
123 Posts |
Posted - 05 May 2003 : 12:43:03
|
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? |
|
|
Susan
123 Posts |
Posted - 05 May 2003 : 12:50:20
|
It worked.
Thank you.
I'm still a little bugged by the perceived discrepancies, though. |
|
|
whuh
23 Posts |
Posted - 05 May 2003 : 13:28:16
|
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
|
|
|
Susan
123 Posts |
Posted - 05 May 2003 : 14:05:54
|
Thank you... |
|
|
|
Topic |
|