Transfer File from PDA to Win CE through USB

G

Guest

Hi All,
I like to know how to transfer a file from PDA to an Windows CE.NET
device. Both these devices are connected through USB. File in PDA have to bo
transferred automatically when the device is connected to Wnidows ce.NET
through USB cable.
 
P

Paul G. Tobey [eMVP]

Well, you could a) use ActiveSync, b) use serial port emulation, on both
ends, and write programs, again on both ends, to transfer the data via
serial. If neither of those sounds good to you, tell us why and that might
illuminate what the right answer for you is.

Paul T.
 
G

Guest

Hi Paul,
Thanks for your reply. Is it possible to isntall Active sync in Windows
CE.NET, because i've to transfer file from PDA to Windows CE.NET device.
It will be more helpful if you send some relative URL.
 
P

Paul G. Tobey [eMVP]

You can certainly add ActiveSync support to your Windows CE 4.2 operating
system configuration, yes. Check the Platform Builder catalog; it's in
there.

If there was a single URL that would answer your question, you'd already
have found it...

Paul T.
 
T

tdj

Do you have any practical suggestion for the "serial port emulation" ?

I woul like to communicate (between the PocketPC and the PC) through a USB
connection using it like a serial connection, is that possible? My
application allready works fine with real serial communication, but
customers start complaining they could not find a PocketPC with a serial
port anymore (I think there are enough, but that's another discusison <g>)

regards,

Tony
 
G

Guest

But the main problem is my Hardware vendor is not ready provide the BSP of
the OS. So I couldn't any extra component to it.
 
P

Paul G. Tobey [eMVP]

Then you should apply "pressure" to them to add ActiveSync to the OS. A
useful phrase is, "If you don't give me support for this capability, I'll be
returning the XX units that I've purchased from you and buying something
else."

There is no install for AS that you can apply to a device once it's been
built that I know about...

Paul T.
 
P

Paul G. Tobey [eMVP]

Most USB-equipped devices create a virtual serial port as one method of
communication off of the device. You'd have to consult the documentation
for your device to find out if that's the case and, if so, what COM port
name is used for that virtual port.

Paul T.
 
G

Guest

Hi Paul,
Is it possible to write a TCP/IP Client Server application in windows CE
device and PDA device to transfer file from PDA to Windows CE Device?.
 
G

Guest

Hi Paul,
Is it possible to write a TCP/IP Client Server application in windows CE
device and PDA device to transfer file from PDA to Windows CE Device?.
 
P

Paul G. Tobey [eMVP]

Sure. FTP, HTTP, etc. are both client/server protocols and can transfer
files. They both use TCP. The easiest thing would be to have an HTTP or
FTP server on one or the other of the devices and just write your program to
use one of those protocols, which are well-wrapped, either in .NET CF itself
or OpenNETCF SDF. That saves you from writing two programs. If you don't
know who is going to contact who to make the transfer, then maybe you will
have to write both ends, but a file is just a sequence of bytes and a socket
is just a pipe into which you can pour bytes or pull bytes, so it's not
magic.

Now, if you're actually asking, "Can I write a socket program that actually
communicates over USB to transfer the files?", then I'd say no, forget about
that. The process of building a WinSock-compatible socket structure over
USB is too much of a pain; you'd be better off using the virtual serial port
scheme.

Paul T.

Chandra Murali said:
Hi Paul,
Is it possible to write a TCP/IP Client Server application in windows
CE
device and PDA device to transfer file from PDA to Windows CE Device?.


Paul G. Tobey said:
Most USB-equipped devices create a virtual serial port as one method of
communication off of the device. You'd have to consult the documentation
for your device to find out if that's the case and, if so, what COM port
name is used for that virtual port.

Paul T.

tdj said:
Do you have any practical suggestion for the "serial port emulation" ?

I woul like to communicate (between the PocketPC and the PC) through a
USB
connection using it like a serial connection, is that possible? My
application allready works fine with real serial communication, but
customers start complaining they could not find a PocketPC with a
serial
port anymore (I think there are enough, but that's another discusison
<g>)

regards,

Tony

"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT
com>
schreef in bericht Well, you could a) use ActiveSync, b) use serial port emulation, on
both
ends, and write programs, again on both ends, to transfer the data via
serial. If neither of those sounds good to you, tell us why and that
might
illuminate what the right answer for you is.

Paul T.

message
Hi All,
I like to know how to transfer a file from PDA to an Windows
CE.NET
device. Both these devices are connected through USB. File in PDA
have
to
bo
transferred automatically when the device is connected to Wnidows
ce.NET
through USB cable.
 
G

Guest

Hi Paul,
The only communication available betwwen CE device and PDA is USB
connection. Through USB cable how can I transfer the file. Is it possible to
write HTTP or FTP server using this USB connection.

Paul G. Tobey said:
Sure. FTP, HTTP, etc. are both client/server protocols and can transfer
files. They both use TCP. The easiest thing would be to have an HTTP or
FTP server on one or the other of the devices and just write your program to
use one of those protocols, which are well-wrapped, either in .NET CF itself
or OpenNETCF SDF. That saves you from writing two programs. If you don't
know who is going to contact who to make the transfer, then maybe you will
have to write both ends, but a file is just a sequence of bytes and a socket
is just a pipe into which you can pour bytes or pull bytes, so it's not
magic.

Now, if you're actually asking, "Can I write a socket program that actually
communicates over USB to transfer the files?", then I'd say no, forget about
that. The process of building a WinSock-compatible socket structure over
USB is too much of a pain; you'd be better off using the virtual serial port
scheme.

Paul T.

Chandra Murali said:
Hi Paul,
Is it possible to write a TCP/IP Client Server application in windows
CE
device and PDA device to transfer file from PDA to Windows CE Device?.


Paul G. Tobey said:
Most USB-equipped devices create a virtual serial port as one method of
communication off of the device. You'd have to consult the documentation
for your device to find out if that's the case and, if so, what COM port
name is used for that virtual port.

Paul T.

Do you have any practical suggestion for the "serial port emulation" ?

I woul like to communicate (between the PocketPC and the PC) through a
USB
connection using it like a serial connection, is that possible? My
application allready works fine with real serial communication, but
customers start complaining they could not find a PocketPC with a
serial
port anymore (I think there are enough, but that's another discusison
<g>)

regards,

Tony

"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT
com>
schreef in bericht Well, you could a) use ActiveSync, b) use serial port emulation, on
both
ends, and write programs, again on both ends, to transfer the data via
serial. If neither of those sounds good to you, tell us why and that
might
illuminate what the right answer for you is.

Paul T.

message
Hi All,
I like to know how to transfer a file from PDA to an Windows
CE.NET
device. Both these devices are connected through USB. File in PDA
have
to
bo
transferred automatically when the device is connected to Wnidows
ce.NET
through USB cable.
 
P

Paul G. Tobey [eMVP]

It's *theoretically* possible, but you'd have to build the entire
superstructure to allow it. No, you can't just run an HTTP server and
magically or automatically you can access it over USB. If you don't have
virtual serial connections over USB already, forget about doing things this
way or resign yourself to many months of effort.

Paul T.

Chandra Murali said:
Hi Paul,
The only communication available betwwen CE device and PDA is USB
connection. Through USB cable how can I transfer the file. Is it possible
to
write HTTP or FTP server using this USB connection.

Paul G. Tobey said:
Sure. FTP, HTTP, etc. are both client/server protocols and can transfer
files. They both use TCP. The easiest thing would be to have an HTTP or
FTP server on one or the other of the devices and just write your program
to
use one of those protocols, which are well-wrapped, either in .NET CF
itself
or OpenNETCF SDF. That saves you from writing two programs. If you
don't
know who is going to contact who to make the transfer, then maybe you
will
have to write both ends, but a file is just a sequence of bytes and a
socket
is just a pipe into which you can pour bytes or pull bytes, so it's not
magic.

Now, if you're actually asking, "Can I write a socket program that
actually
communicates over USB to transfer the files?", then I'd say no, forget
about
that. The process of building a WinSock-compatible socket structure over
USB is too much of a pain; you'd be better off using the virtual serial
port
scheme.

Paul T.

message
Hi Paul,
Is it possible to write a TCP/IP Client Server application in
windows
CE
device and PDA device to transfer file from PDA to Windows CE Device?.


:

Most USB-equipped devices create a virtual serial port as one method
of
communication off of the device. You'd have to consult the
documentation
for your device to find out if that's the case and, if so, what COM
port
name is used for that virtual port.

Paul T.

Do you have any practical suggestion for the "serial port emulation"
?

I woul like to communicate (between the PocketPC and the PC) through
a
USB
connection using it like a serial connection, is that possible? My
application allready works fine with real serial communication, but
customers start complaining they could not find a PocketPC with a
serial
port anymore (I think there are enough, but that's another
discusison
<g>)

regards,

Tony

"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT
com>
schreef in bericht Well, you could a) use ActiveSync, b) use serial port emulation, on
both
ends, and write programs, again on both ends, to transfer the data
via
serial. If neither of those sounds good to you, tell us why and
that
might
illuminate what the right answer for you is.

Paul T.

message
Hi All,
I like to know how to transfer a file from PDA to an Windows
CE.NET
device. Both these devices are connected through USB. File in PDA
have
to
bo
transferred automatically when the device is connected to Wnidows
ce.NET
through USB cable.
 
G

Guest

Hi Paul,
1. What is virtual Serial communiction?
2. When I connect the PDA device to Wince device through USB Cable,
Win CE device want the name of the driver. what is this driver name?.
3. How to find the driver name and if I'm able to find the drver, can
I access the PDA device through the USB card?.


Paul G. Tobey said:
It's *theoretically* possible, but you'd have to build the entire
superstructure to allow it. No, you can't just run an HTTP server and
magically or automatically you can access it over USB. If you don't have
virtual serial connections over USB already, forget about doing things this
way or resign yourself to many months of effort.

Paul T.

Chandra Murali said:
Hi Paul,
The only communication available betwwen CE device and PDA is USB
connection. Through USB cable how can I transfer the file. Is it possible
to
write HTTP or FTP server using this USB connection.

Paul G. Tobey said:
Sure. FTP, HTTP, etc. are both client/server protocols and can transfer
files. They both use TCP. The easiest thing would be to have an HTTP or
FTP server on one or the other of the devices and just write your program
to
use one of those protocols, which are well-wrapped, either in .NET CF
itself
or OpenNETCF SDF. That saves you from writing two programs. If you
don't
know who is going to contact who to make the transfer, then maybe you
will
have to write both ends, but a file is just a sequence of bytes and a
socket
is just a pipe into which you can pour bytes or pull bytes, so it's not
magic.

Now, if you're actually asking, "Can I write a socket program that
actually
communicates over USB to transfer the files?", then I'd say no, forget
about
that. The process of building a WinSock-compatible socket structure over
USB is too much of a pain; you'd be better off using the virtual serial
port
scheme.

Paul T.

message
Hi Paul,
Is it possible to write a TCP/IP Client Server application in
windows
CE
device and PDA device to transfer file from PDA to Windows CE Device?.


:

Most USB-equipped devices create a virtual serial port as one method
of
communication off of the device. You'd have to consult the
documentation
for your device to find out if that's the case and, if so, what COM
port
name is used for that virtual port.

Paul T.

Do you have any practical suggestion for the "serial port emulation"
?

I woul like to communicate (between the PocketPC and the PC) through
a
USB
connection using it like a serial connection, is that possible? My
application allready works fine with real serial communication, but
customers start complaining they could not find a PocketPC with a
serial
port anymore (I think there are enough, but that's another
discusison
<g>)

regards,

Tony

"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT
com>
schreef in bericht Well, you could a) use ActiveSync, b) use serial port emulation, on
both
ends, and write programs, again on both ends, to transfer the data
via
serial. If neither of those sounds good to you, tell us why and
that
might
illuminate what the right answer for you is.

Paul T.

message
Hi All,
I like to know how to transfer a file from PDA to an Windows
CE.NET
device. Both these devices are connected through USB. File in PDA
have
to
bo
transferred automatically when the device is connected to Wnidows
ce.NET
through USB cable.
 
P

Paul G. Tobey [eMVP]

1. Device vendors often have a virtual serial port connection which is
implemented on top of USB. I've covered this briefly in previous messages.

2. You need a driver, just as on the desktop, for each USB device that you
are going to connect to the USB port. You know, like when you plug in a
digital camera to the desktop, you have to have a driver for that camera so
that the PC can do something with it. Windows CE is asking what driver to
use for that PDA.

3. It depends on what the driver does. It might make the PDA look like a
serial device and, as I said, you could talk to it like it was a serial
port. Or, it might make the PDA look like a storage card, as though you'd
plugged a Compact Flash or SD card reader device into the USB (as Steve
Maillet mentioned in another group where you posted this question). In that
case, you might be able to simply copy files to the PDA. It's doubtful that
such a driver already exists, though, as code is required on the PDA end to
handle making it look like a storage device. You'd probably have to write
the driver for the Windows CE.NET end for this.

At this point, I think you're over your head, and mine. Steve Maillet
suggested some other ways of doing things in one of your other target
groups. Have you thought about any of those? Maybe you should consider
hiring a suitable consultant to implement something for you, as this is
*not* going to be a matter is just plugging things together and using
Explorer to copy files without a lot of work under the hood. Or maybe you
should forget about having USB as the only means of connection and put
network cards in the two devices...

Paul T.


Chandra Murali said:
Hi Paul,
1. What is virtual Serial communiction?
2. When I connect the PDA device to Wince device through USB Cable,
Win CE device want the name of the driver. what is this driver name?.
3. How to find the driver name and if I'm able to find the drver, can
I access the PDA device through the USB card?.


Paul G. Tobey said:
It's *theoretically* possible, but you'd have to build the entire
superstructure to allow it. No, you can't just run an HTTP server and
magically or automatically you can access it over USB. If you don't have
virtual serial connections over USB already, forget about doing things
this
way or resign yourself to many months of effort.

Paul T.

message
Hi Paul,
The only communication available betwwen CE device and PDA is
USB
connection. Through USB cable how can I transfer the file. Is it
possible
to
write HTTP or FTP server using this USB connection.

:

Sure. FTP, HTTP, etc. are both client/server protocols and can
transfer
files. They both use TCP. The easiest thing would be to have an HTTP
or
FTP server on one or the other of the devices and just write your
program
to
use one of those protocols, which are well-wrapped, either in .NET CF
itself
or OpenNETCF SDF. That saves you from writing two programs. If you
don't
know who is going to contact who to make the transfer, then maybe you
will
have to write both ends, but a file is just a sequence of bytes and a
socket
is just a pipe into which you can pour bytes or pull bytes, so it's
not
magic.

Now, if you're actually asking, "Can I write a socket program that
actually
communicates over USB to transfer the files?", then I'd say no, forget
about
that. The process of building a WinSock-compatible socket structure
over
USB is too much of a pain; you'd be better off using the virtual
serial
port
scheme.

Paul T.

message
Hi Paul,
Is it possible to write a TCP/IP Client Server application in
windows
CE
device and PDA device to transfer file from PDA to Windows CE
Device?.


:

Most USB-equipped devices create a virtual serial port as one
method
of
communication off of the device. You'd have to consult the
documentation
for your device to find out if that's the case and, if so, what COM
port
name is used for that virtual port.

Paul T.

Do you have any practical suggestion for the "serial port
emulation"
?

I woul like to communicate (between the PocketPC and the PC)
through
a
USB
connection using it like a serial connection, is that possible?
My
application allready works fine with real serial communication,
but
customers start complaining they could not find a PocketPC with a
serial
port anymore (I think there are enough, but that's another
discusison
<g>)

regards,

Tony

"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam
DOT
com>
schreef in bericht Well, you could a) use ActiveSync, b) use serial port emulation,
on
both
ends, and write programs, again on both ends, to transfer the
data
via
serial. If neither of those sounds good to you, tell us why and
that
might
illuminate what the right answer for you is.

Paul T.

in
message
Hi All,
I like to know how to transfer a file from PDA to an Windows
CE.NET
device. Both these devices are connected through USB. File in
PDA
have
to
bo
transferred automatically when the device is connected to
Wnidows
ce.NET
through USB cable.
 
G

Guest

Hi Paul,
First I thank you for your valuable and detailed reply to my
questions. In other group Steve mentioned that there is no ActiveSync server
available for Win CE device.Then how should i transfer the file?.

Will the PDA Device vendor provide this USB driver for me?.

Paul G. Tobey said:
1. Device vendors often have a virtual serial port connection which is
implemented on top of USB. I've covered this briefly in previous messages.

2. You need a driver, just as on the desktop, for each USB device that you
are going to connect to the USB port. You know, like when you plug in a
digital camera to the desktop, you have to have a driver for that camera so
that the PC can do something with it. Windows CE is asking what driver to
use for that PDA.

3. It depends on what the driver does. It might make the PDA look like a
serial device and, as I said, you could talk to it like it was a serial
port. Or, it might make the PDA look like a storage card, as though you'd
plugged a Compact Flash or SD card reader device into the USB (as Steve
Maillet mentioned in another group where you posted this question). In that
case, you might be able to simply copy files to the PDA. It's doubtful that
such a driver already exists, though, as code is required on the PDA end to
handle making it look like a storage device. You'd probably have to write
the driver for the Windows CE.NET end for this.

At this point, I think you're over your head, and mine. Steve Maillet
suggested some other ways of doing things in one of your other target
groups. Have you thought about any of those? Maybe you should consider
hiring a suitable consultant to implement something for you, as this is
*not* going to be a matter is just plugging things together and using
Explorer to copy files without a lot of work under the hood. Or maybe you
should forget about having USB as the only means of connection and put
network cards in the two devices...

Paul T.


Chandra Murali said:
Hi Paul,
1. What is virtual Serial communiction?
2. When I connect the PDA device to Wince device through USB Cable,
Win CE device want the name of the driver. what is this driver name?.
3. How to find the driver name and if I'm able to find the drver, can
I access the PDA device through the USB card?.


Paul G. Tobey said:
It's *theoretically* possible, but you'd have to build the entire
superstructure to allow it. No, you can't just run an HTTP server and
magically or automatically you can access it over USB. If you don't have
virtual serial connections over USB already, forget about doing things
this
way or resign yourself to many months of effort.

Paul T.

message
Hi Paul,
The only communication available betwwen CE device and PDA is
USB
connection. Through USB cable how can I transfer the file. Is it
possible
to
write HTTP or FTP server using this USB connection.

:

Sure. FTP, HTTP, etc. are both client/server protocols and can
transfer
files. They both use TCP. The easiest thing would be to have an HTTP
or
FTP server on one or the other of the devices and just write your
program
to
use one of those protocols, which are well-wrapped, either in .NET CF
itself
or OpenNETCF SDF. That saves you from writing two programs. If you
don't
know who is going to contact who to make the transfer, then maybe you
will
have to write both ends, but a file is just a sequence of bytes and a
socket
is just a pipe into which you can pour bytes or pull bytes, so it's
not
magic.

Now, if you're actually asking, "Can I write a socket program that
actually
communicates over USB to transfer the files?", then I'd say no, forget
about
that. The process of building a WinSock-compatible socket structure
over
USB is too much of a pain; you'd be better off using the virtual
serial
port
scheme.

Paul T.

message
Hi Paul,
Is it possible to write a TCP/IP Client Server application in
windows
CE
device and PDA device to transfer file from PDA to Windows CE
Device?.


:

Most USB-equipped devices create a virtual serial port as one
method
of
communication off of the device. You'd have to consult the
documentation
for your device to find out if that's the case and, if so, what COM
port
name is used for that virtual port.

Paul T.

Do you have any practical suggestion for the "serial port
emulation"
?

I woul like to communicate (between the PocketPC and the PC)
through
a
USB
connection using it like a serial connection, is that possible?
My
application allready works fine with real serial communication,
but
customers start complaining they could not find a PocketPC with a
serial
port anymore (I think there are enough, but that's another
discusison
<g>)

regards,

Tony

"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam
DOT
com>
schreef in bericht Well, you could a) use ActiveSync, b) use serial port emulation,
on
both
ends, and write programs, again on both ends, to transfer the
data
via
serial. If neither of those sounds good to you, tell us why and
that
might
illuminate what the right answer for you is.

Paul T.

in
message
Hi All,
I like to know how to transfer a file from PDA to an Windows
CE.NET
device. Both these devices are connected through USB. File in
PDA
have
to
bo
transferred automatically when the device is connected to
Wnidows
ce.NET
through USB cable.
 
P

Paul G. Tobey [eMVP]

How would I know? *You* are the one with the device; you have to do
something about this. If you are unable or unwilling to use anything other
than just plain USB, then you'll have to get a driver from your vendor(s)
(you'll need drivers on both ends of the connection that are suitable).

Paul T.

Chandra Murali said:
Hi Paul,
First I thank you for your valuable and detailed reply to my
questions. In other group Steve mentioned that there is no ActiveSync
server
available for Win CE device.Then how should i transfer the file?.

Will the PDA Device vendor provide this USB driver for me?.

Paul G. Tobey said:
1. Device vendors often have a virtual serial port connection which is
implemented on top of USB. I've covered this briefly in previous
messages.

2. You need a driver, just as on the desktop, for each USB device that
you
are going to connect to the USB port. You know, like when you plug in a
digital camera to the desktop, you have to have a driver for that camera
so
that the PC can do something with it. Windows CE is asking what driver
to
use for that PDA.

3. It depends on what the driver does. It might make the PDA look like a
serial device and, as I said, you could talk to it like it was a serial
port. Or, it might make the PDA look like a storage card, as though
you'd
plugged a Compact Flash or SD card reader device into the USB (as Steve
Maillet mentioned in another group where you posted this question). In
that
case, you might be able to simply copy files to the PDA. It's doubtful
that
such a driver already exists, though, as code is required on the PDA end
to
handle making it look like a storage device. You'd probably have to
write
the driver for the Windows CE.NET end for this.

At this point, I think you're over your head, and mine. Steve Maillet
suggested some other ways of doing things in one of your other target
groups. Have you thought about any of those? Maybe you should consider
hiring a suitable consultant to implement something for you, as this is
*not* going to be a matter is just plugging things together and using
Explorer to copy files without a lot of work under the hood. Or maybe
you
should forget about having USB as the only means of connection and put
network cards in the two devices...

Paul T.


message
Hi Paul,
1. What is virtual Serial communiction?
2. When I connect the PDA device to Wince device through USB
Cable,
Win CE device want the name of the driver. what is this driver name?.
3. How to find the driver name and if I'm able to find the drver,
can
I access the PDA device through the USB card?.


:

It's *theoretically* possible, but you'd have to build the entire
superstructure to allow it. No, you can't just run an HTTP server and
magically or automatically you can access it over USB. If you don't
have
virtual serial connections over USB already, forget about doing things
this
way or resign yourself to many months of effort.

Paul T.

message
Hi Paul,
The only communication available betwwen CE device and PDA
is
USB
connection. Through USB cable how can I transfer the file. Is it
possible
to
write HTTP or FTP server using this USB connection.

:

Sure. FTP, HTTP, etc. are both client/server protocols and can
transfer
files. They both use TCP. The easiest thing would be to have an
HTTP
or
FTP server on one or the other of the devices and just write your
program
to
use one of those protocols, which are well-wrapped, either in .NET
CF
itself
or OpenNETCF SDF. That saves you from writing two programs. If
you
don't
know who is going to contact who to make the transfer, then maybe
you
will
have to write both ends, but a file is just a sequence of bytes and
a
socket
is just a pipe into which you can pour bytes or pull bytes, so it's
not
magic.

Now, if you're actually asking, "Can I write a socket program that
actually
communicates over USB to transfer the files?", then I'd say no,
forget
about
that. The process of building a WinSock-compatible socket
structure
over
USB is too much of a pain; you'd be better off using the virtual
serial
port
scheme.

Paul T.

message
Hi Paul,
Is it possible to write a TCP/IP Client Server application in
windows
CE
device and PDA device to transfer file from PDA to Windows CE
Device?.


:

Most USB-equipped devices create a virtual serial port as one
method
of
communication off of the device. You'd have to consult the
documentation
for your device to find out if that's the case and, if so, what
COM
port
name is used for that virtual port.

Paul T.

Do you have any practical suggestion for the "serial port
emulation"
?

I woul like to communicate (between the PocketPC and the PC)
through
a
USB
connection using it like a serial connection, is that
possible?
My
application allready works fine with real serial
communication,
but
customers start complaining they could not find a PocketPC
with a
serial
port anymore (I think there are enough, but that's another
discusison
<g>)

regards,

Tony

"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no
spam
DOT
com>
schreef in bericht
Well, you could a) use ActiveSync, b) use serial port
emulation,
on
both
ends, and write programs, again on both ends, to transfer the
data
via
serial. If neither of those sounds good to you, tell us why
and
that
might
illuminate what the right answer for you is.

Paul T.

"Chandra Murali" <[email protected]>
wrote
in
message
Hi All,
I like to know how to transfer a file from PDA to an
Windows
CE.NET
device. Both these devices are connected through USB. File
in
PDA
have
to
bo
transferred automatically when the device is connected to
Wnidows
ce.NET
through USB cable.
 
G

Guest

Ok Paul,
I'll get the drivers from my vendor.

Thanks a lot Paul for your *Passionate* reply.

Paul G. Tobey said:
How would I know? *You* are the one with the device; you have to do
something about this. If you are unable or unwilling to use anything other
than just plain USB, then you'll have to get a driver from your vendor(s)
(you'll need drivers on both ends of the connection that are suitable).

Paul T.

Chandra Murali said:
Hi Paul,
First I thank you for your valuable and detailed reply to my
questions. In other group Steve mentioned that there is no ActiveSync
server
available for Win CE device.Then how should i transfer the file?.

Will the PDA Device vendor provide this USB driver for me?.

Paul G. Tobey said:
1. Device vendors often have a virtual serial port connection which is
implemented on top of USB. I've covered this briefly in previous
messages.

2. You need a driver, just as on the desktop, for each USB device that
you
are going to connect to the USB port. You know, like when you plug in a
digital camera to the desktop, you have to have a driver for that camera
so
that the PC can do something with it. Windows CE is asking what driver
to
use for that PDA.

3. It depends on what the driver does. It might make the PDA look like a
serial device and, as I said, you could talk to it like it was a serial
port. Or, it might make the PDA look like a storage card, as though
you'd
plugged a Compact Flash or SD card reader device into the USB (as Steve
Maillet mentioned in another group where you posted this question). In
that
case, you might be able to simply copy files to the PDA. It's doubtful
that
such a driver already exists, though, as code is required on the PDA end
to
handle making it look like a storage device. You'd probably have to
write
the driver for the Windows CE.NET end for this.

At this point, I think you're over your head, and mine. Steve Maillet
suggested some other ways of doing things in one of your other target
groups. Have you thought about any of those? Maybe you should consider
hiring a suitable consultant to implement something for you, as this is
*not* going to be a matter is just plugging things together and using
Explorer to copy files without a lot of work under the hood. Or maybe
you
should forget about having USB as the only means of connection and put
network cards in the two devices...

Paul T.


message
Hi Paul,
1. What is virtual Serial communiction?
2. When I connect the PDA device to Wince device through USB
Cable,
Win CE device want the name of the driver. what is this driver name?.
3. How to find the driver name and if I'm able to find the drver,
can
I access the PDA device through the USB card?.


:

It's *theoretically* possible, but you'd have to build the entire
superstructure to allow it. No, you can't just run an HTTP server and
magically or automatically you can access it over USB. If you don't
have
virtual serial connections over USB already, forget about doing things
this
way or resign yourself to many months of effort.

Paul T.

message
Hi Paul,
The only communication available betwwen CE device and PDA
is
USB
connection. Through USB cable how can I transfer the file. Is it
possible
to
write HTTP or FTP server using this USB connection.

:

Sure. FTP, HTTP, etc. are both client/server protocols and can
transfer
files. They both use TCP. The easiest thing would be to have an
HTTP
or
FTP server on one or the other of the devices and just write your
program
to
use one of those protocols, which are well-wrapped, either in .NET
CF
itself
or OpenNETCF SDF. That saves you from writing two programs. If
you
don't
know who is going to contact who to make the transfer, then maybe
you
will
have to write both ends, but a file is just a sequence of bytes and
a
socket
is just a pipe into which you can pour bytes or pull bytes, so it's
not
magic.

Now, if you're actually asking, "Can I write a socket program that
actually
communicates over USB to transfer the files?", then I'd say no,
forget
about
that. The process of building a WinSock-compatible socket
structure
over
USB is too much of a pain; you'd be better off using the virtual
serial
port
scheme.

Paul T.

message
Hi Paul,
Is it possible to write a TCP/IP Client Server application in
windows
CE
device and PDA device to transfer file from PDA to Windows CE
Device?.


:

Most USB-equipped devices create a virtual serial port as one
method
of
communication off of the device. You'd have to consult the
documentation
for your device to find out if that's the case and, if so, what
COM
port
name is used for that virtual port.

Paul T.

Do you have any practical suggestion for the "serial port
emulation"
?

I woul like to communicate (between the PocketPC and the PC)
through
a
USB
connection using it like a serial connection, is that
possible?
My
application allready works fine with real serial
communication,
but
customers start complaining they could not find a PocketPC
with a
serial
port anymore (I think there are enough, but that's another
discusison
<g>)

regards,

Tony

"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no
spam
DOT
com>
schreef in bericht
Well, you could a) use ActiveSync, b) use serial port
emulation,
on
both
ends, and write programs, again on both ends, to transfer the
data
via
serial. If neither of those sounds good to you, tell us why
and
that
might
illuminate what the right answer for you is.

Paul T.

"Chandra Murali" <[email protected]>
wrote
in
message
Hi All,
I like to know how to transfer a file from PDA to an
Windows
CE.NET
device. Both these devices are connected through USB. File
in
PDA
have
to
bo
transferred automatically when the device is connected to
Wnidows
ce.NET
through USB cable.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top