Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Headless device

4 views
Skip to first unread message

Sid Price

unread,
May 8, 2001, 12:57:23 PM5/8/01
to
We are developing a headless networked device using WinCE 3. Does
anyone know of a method or a utility that will permit us to transfer
files to/from the device across the network please.

Ideally we would like to browse the device from a desktop machine.

I don't think ActiveSync can be used because it requires running
repllog.exe on the device and repllog.exe equires a GUI.

Thanks
Sid

Paul G. Tobey

unread,
May 8, 2001, 1:10:08 PM5/8/01
to
You would use a manual server and TCP/IP. Do the following:

1. Export an SDK for your device and install the SDK on your test PC.
2. In the eVC IDE, choose Tools | Configure Platform Manager.
3. Select your platform and click Properties.
4. Select TCP/IP transport for Windows CE. Select Configure.
5. Check *both* checkboxes (this makes a step later in the process easier).
Click OK.
6. Click Advanced. Select Manual Server and click OK.
7. Click OK to close the rest of the configurations.

8. Now you're ready to connect to the device. Run the Remote File Viewer
from the Tools menu. Select your platform from the Tools | Add Connection
item and click OK. This should display a dialog indicating that you need to
run a program with a complex set of parameters on your target device.
9. Run this program with the parameters on the target device and click OK on
the PC. The connection should be established.

OK, so how do you run the program and how are the parameters derived?

We have a little program that runs on startup and loads a list of IP
addresses where the Remote Tools might be running. It keeps the CEMGRC.exe
program running with appropriate parameters for each of the listed
workstations.

The parameters are mostly static. The /S /T:TCPIPC.DLL part never changes.
The /D parameter consists of the following:

/D:<TCP port number configured for platform manager><hex ASCII codes for the
IP address of the workstation you want to talk to>00

Paul T.

"Sid Price" <sidp...@softtools.com> wrote in message
news:3af824d2...@msnews.microsoft.com...

Sid Price

unread,
May 8, 2001, 3:38:32 PM5/8/01
to
On Tue, 8 May 2001 10:10:08 -0700, "Paul G. Tobey" <nos...@nospam.com>
wrote:

>OK, so how do you run the program and how are the parameters derived?
>
>We have a little program that runs on startup and loads a list of IP
>addresses where the Remote Tools might be running. It keeps the CEMGRC.exe
>program running with appropriate parameters for each of the listed
>workstations.
>

You say you "have a little program" that loads IP addresses. I don't
understand what you mean by this. Is it a batch file that runs
CEMGRC.EXE with the parameters for the particular workstation? What
does it do? And how does it keep CEMGRC.exe running?

I have a target at this tim ethat has a head and I tried running
CEMGRC from the "Run" dialog with the parameters and I am unable to
establish a connection with the device. Is this a valid way of testing
this?


Thanks for the help so fra,
Sid

Paul G. Tobey

unread,
May 8, 2001, 5:56:08 PM5/8/01
to
The program loads the IP addresses of those machines which you might want to
talk to the unit with. That is, the machines where you want to run the
Remote File Viewer. It keeps CEMGRC.exe running by waiting on the handle of
the process that it forks off to run CEMGRC. That is, it calls
CreateProcess( _T( "CEMGRC.exe" ), "<parameters>" ) and then calls
WaitForSingleObject( handle ); on the handle returned. When that Wait is
finished, it starts the process again...

You should be able to run CEMGRC from the Run... dialog on any device with
appropriate pieces in it. In Platform Builder, you have to include the
CEMGRC stuff and the TCPIPC support, specifically, to make this scheme work.

By the way, this may not be a general solution for everything that you might
want to do with the device, but it works *great* during development. You
don't have to screw around with the device to run something so you can
establish a debug connection. When the prompt dialog asking you to run
CEMGRC on the device pops up, you just hit enter and it connects right
away...

Paul T.

"Sid Price" <sidp...@softtools.com> wrote in message

news:3af84a4b...@msnews.microsoft.com...

Sid Price

unread,
May 11, 2001, 8:13:23 PM5/11/01
to
Paul,

Thanks for the pointers I have got the remote tools running using this
manual server.

You note really helped!
Sid

On Tue, 8 May 2001 14:56:08 -0700, "Paul G. Tobey" <nos...@nospam.com>

Paul G. Tobey

unread,
May 14, 2001, 11:40:11 AM5/14/01
to
Glad to hear it.

Paul T.

"Sid Price" <sidp...@softtools.com> wrote in message

news:3afc8001...@msnews.microsoft.com...

0 new messages