All Forums
 Microsoft Windows CE
 General CE
 REPLLOG and initiating ActiveSync automatically
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

3963

85 Posts

Posted - 07 May 2002 :  16:08:37  Show Profile  Email Poster
Maybe this belongs in the FAQ forum, but:

What is replog?

Why do *I* need to run it for active sync? Can it be configured to auto-detect active sync like the iPAQ?

Thanks...

ctacke

877 Posts

Posted - 07 May 2002 :  23:24:25  Show Profile  Email Poster
replog.exe is the device-side connection client for ActiveSync.

To run it automatically is somewhat of a challenge because you only want to run it when you know that you are connected to the host PC. One option would be to register replog.exe with the CeRunAppAtEvent API using the NOTIFICATION_EVENT_RS232_DETECTED constant. This will run replog.exe whenever an RS232 connection is made.


-----------------
Chris Tacke, eMVP
Applied Data Support
Go to Top of Page

Jeff Thomson

2 Posts

Posted - 26 Aug 2002 :  14:37:31  Show Profile  Email Poster

Is there a way to do the same thing when a USB connection is made?

There's got to be a better way than running replog.exe until it doesn't fail.
Go to Top of Page

ctacke

877 Posts

Posted - 26 Aug 2002 :  14:45:22  Show Profile  Email Poster
Yes. USB fires the same NOTIFICATION_EVENT_RS232_DETECTED notification event, therefore you can register repllog.exe with CeRunAppAtEvent to get the connection to automatically begin. Make sure that your default PC connection is set for USB before registering repllog.exe.

-----------------
Chris Tacke, eMVP
Applied Data Support
Go to Top of Page

ctacke

877 Posts

Posted - 26 Aug 2002 :  14:48:38  Show Profile  Email Poster
As an additional note, the NOTIFICATION_EVENT_RS232_DETECTED notification is only raised on serial ports that have DTR/DSR lines. Check your device's user's manual to determine the availability of these lines on each port.

-----------------
Chris Tacke, eMVP
Applied Data Support
Go to Top of Page

Jeff Thomson

2 Posts

Posted - 28 Aug 2002 :  19:08:38  Show Profile  Email Poster
quote:

Yes. USB fires the same NOTIFICATION_EVENT_RS232_DETECTED notification event, therefore you can register repllog.exe with CeRunAppAtEvent to get the connection to automatically begin. Make sure that your default PC connection is set for USB before registering repllog.exe.


Thanks. I tried this on our Bitsy development kit and it works great.

What exactly causes NOTIFICATION_EVENT_RS232_DETECTED to be fired? Our prototype system includes a Bitsy, but not the connector board. We do not seem to be getting NOTIFICATION_EVENT_RS232_DETECTED on our prototype system. Also, we've observed that even if we run repllog.exe manually on our prototype system, we can't establish a USB connection between the Bitsy and our host computer.

At present, we only have the USB Slave Pos. and Neg. signals routed from the Bitsy to our external USB connector. In other words, we do not have the USB slave VCC and GND signals wired from the Bitsy to the external connector. Could that possibly be our problem?

Edited by - Jeff Thomson on 08/29/2002 15:22:04
Go to Top of Page

naegle

4 Posts

Posted - 25 Mar 2003 :  09:38:28  Show Profile  Email Poster
Can this be done with the Ethernet port? Is there anyway to connect with REPLLOG without bringing up the dialog?
Go to Top of Page

akidder

1519 Posts

Posted - 25 Mar 2003 :  11:21:52  Show Profile  Email Poster
With Ethernet, you'll need to have registry settings for Ethernet ActiveSync already prepared. Then you can launch a process to execute "\windows\repllog /remote". See forum topic 20 and the CE Getting Started Guide for details about how to prepare the connection.

To find out if the host computer is available, try pinging it. The host computer's IP address is stored in the Ethernet WINS registry key.
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