Re: TCP/IP over USB



ActiveSync cannot handle that - it's a single-client-only model.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com


"PaulH" <paul.heil@xxxxxxxxx> wrote in message
news:1189086276.261493.98060@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Sep 5, 5:34 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT no
instrument no spam DOT com> wrote:
I'm not talking about ultimately, but whether the underlying network
implementation actually works. Use the ActiveSync connection and write
your
server and client code. They don't know how they are communicating,
anyway.
If that works, then you have your communication channel. All you have to
do
is work around the fact that ActiveSync is dropping the WiFi connection
(or
just communicate with the PC over WiFi -- you can't do that?). There was
a
recent thread in microsoft.public.pocketpc.activesync where a guy came up
with a means of preventing WM5 from dropping the WiFi connection (he's
using
an NDIS intermediate driver to ignore unbind requests from ActiveSync to
the
WiFi connection; not my favorite way to do it, but it should work).
Here's
a thread link:

http://groups.google.com/group/microsoft.public.pocketpc.activesync/b...

Paul T.

"PaulH" <paul.h...@xxxxxxxxx> wrote in message

news:1189031101.632679.90860@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

On Sep 5, 5:01 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT no
instrument no spam DOT com> wrote:
It sounds like what you want is to use the network connectivity that
ActiveSync 4.x already provides, but without popping up ActiveSync.
Can
you
do what you want right now with the device connected as an ActiveSync
guest?
Seems to me like you should be able to. If I understand correctly, if
that's the case, you should be able to remove ActiveSync from the PC
side,
leaving the USB RNDIS driver for the mobile device installed.

Paul T.

"PaulH" <paul.h...@xxxxxxxxx> wrote in message

news:1189029112.158735.71760@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

On Sep 5, 4:39 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no
instrument no spam DOT com> wrote:
There's nothing built in to do that, other than what ActiveSync is
based
on.
Are you the host or the device on USB? If you're the host and you
can
make
the external device look like a network device, you could do what
ActiveSync
does, except in reverse, I guess. If you're the client, you could,
in
theory at least, use what ActiveSync does, without ActiveSync
itself.
You
look like a USB RNDIS adapter and, as long as the suitable PC-side
driver
for USB RNDIS is installed, everything should work just like when
ActiveSync
is running, but you don't have to sync.

I think you're going to have to tell us what sort of a device this
is,
whether you are the device OEM and are in control of the OS
development
or
not, who is the host and who is the device on the USB connection,
etc.

Paul T.

"PaulH" <paul.h...@xxxxxxxxx> wrote in message

news:1189027014.772712.232320@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Is there a way to do TCP/IP communications over a USB connection?
Preferably one that does not involve active-sync.
If anybody has any samples or can point me to the proper API
calls,
I
would appreciate it.

Thanks,
PaulH

What I'm looking for is a way to communicate with a group of WM2005
and WM2006 devices over USB. The PC would be the server and the
WM2005
devices the clients, in this case.

I looked up RNDIS as a possibility, but haven't seen a whole lot in
the way of examples for using that online. Are there any?

I have access to all of the OS development libraries.

Thanks,
PaulH

I'd ultimately like to be able to control the 802.11 connection, so I
can't actually use active-sync even as a guest since it
does...unfortunate things to the 802.11 radio in some versions of
WM2005. But, uninstalling it from the host PC side, should be okay.

So, what do I need to do to communicate with the device over USB?

Thanks,
PaulH

If I have 10 WM2005 devices attached to a PC by a USB hub, how do I
address them individually? Can ActiveSync support more than one device
at a time?

Thanks,
Paul



.



Relevant Pages

  • Re: Cant synch Verizon/UTSTarcom/Audiovox 6700 after 1rst attempt
    ... Let's stick with the driver first...Device Mgr 1.0 ... activesync, I see the mobile pc plug&play pop-up. ... In Network Connections, I see Windows Mobile-based Device, no firewall, no ... Under USB controllers, ...
    (microsoft.public.pocketpc.activesync)
  • Re: Cant synch Verizon/UTSTarcom/Audiovox 6700 after 1rst attempt
    ... it's monitoring network traffic, which is what the USB traffic with the ... Activesync 4.1, turning off the Windows firewall and my Norton ... When you plug in a PnP USB device ... Don't you think that refers to just the driver? ...
    (microsoft.public.pocketpc.activesync)
  • Re: ActiveSync 4.1 Still does not work...
    ... AS4.1 installs some USB ... ActiveSync, then allowing Windows to find it again. ... in the system tray for the new 'network adapter' with the 'acquiring network ... If everything seems to be set correctly, but no connection is established, ...
    (microsoft.public.pocketpc.activesync)
  • Re: Activesync 4.1 - WM 5.0 WORKING
    ... The same USB dockstation worked OK in a Notebook where I used ... With the other computer the sync works once every 25 tries... ... When I see so many people with problems with Activesync 4.X and ... 04.cap - ActiveSync does Connecting-Connected-Looking for changes and 20 ...
    (microsoft.public.pocketpc.activesync)
  • Re: Activesync 4.1 - WM 5.0 WORKING
    ... The same USB dockstation worked OK in a Notebook where I used ... With the other computer the sync works once every 25 tries... ... When I see so many people with problems with Activesync 4.X and ... 04.cap - ActiveSync does Connecting-Connected-Looking for changes and 20 ...
    (microsoft.public.pocketpc.activesync)

Loading