You can't do it, based on our research. If the network stack doesn't route
the packets because "ActiveSync" doesn't act like a real network adapter,
you can't somehow force it to work. Take a look at the results of 'ipconfig
/all' on the PC when the device is connected with ActiveSync. I think
you'll see nothing related to ActiveSync. If that's the case, what's going
on in the other direction is that ActiveSync is getting something via serial
(custom format), and is deciding how to make that appear on the PC's
network. That is, there's no network there to use in the other direction.
Think about how you could do this either using RAPI to tell the device to do
things or making the PC the server and the Windows CE device the client.
Again, you've told us *how* you're planning to fix the problem, *not* what
the actual problem is. It's the equivalent of saying, "I have to replace
the pistons in my car. How do I do that?", rather than saying, "I have an
unusual noise from the engine compartment when X, Y, Z, but not when A.
What should I do?" You might get a perfectly reasonable answer to the
first question, but if the pistons aren't the problem, you've wasted
everyone's time and money. The second question directs the discussion to
the *actual problem*, absent your own assumptions about the right thing to
do and will usually get a better response.
Paul T.
> no, i do need the scenario where i can run a "server" on the windows
> ce device (by using Active Sync)
Jack - 06 Oct 2008 21:53 GMT
alright, thanks for the patience.
here is the scenario:
i need to run a web service on the windows ce 6.0 device, as well as
the data synchronisation over Active Sync is a requirement. Since only
one USB service can run at the same time I need to decide on either
Active Sync or RNDIS profile (with wich the problem of the Server
could be solved, as you mentioned right, but not the Data Sync). This
device is headless so there is no chance of a user interaction to
select the needed mode.
Another post on this newsgroup of me, discuss the topic Active Sync
over RNDIS which would solve my problem. But as I see there is no way
to establish an Active Sync connection over RNDIS in Windows Embedded
CE 6.0.
Paul G. Tobey [eMVP] - 06 Oct 2008 22:06 GMT
What are you syncing to the device over ActiveSync? Files? You could write
your own sync stuff for something as simple as that and do everything
without the serial connection. I can't imagine that you're syncing calendar
items, contacts, favorites, or notes, or are you? It seems likely that
doing the sync yourself over the network is going to be more-reasonable than
trying to make ActiveSync be a real network connection, at least.
Paul T.
> alright, thanks for the patience.
>
[quoted text clipped - 11 lines]
> to establish an Active Sync connection over RNDIS in Windows Embedded
> CE 6.0.
Jack - 07 Oct 2008 09:13 GMT
Paul, thanks for the reply.
You are right, I do not need to sync calendar entries and stuff like
that.
Its pure data exchange only. Therefore I could write an own Exchange
client which is based on RNDIS.
Two reasons why i do not like to go for it:
1. The user is alredy used and familiar with Active Sync
2. There exist already some desktop Applications which use RAPI
Paul G. Tobey [eMVP] - 07 Oct 2008 16:12 GMT
Well, you're going to have to choose. Web services on the device or
ActiveSync?
Paul T.
> Paul, thanks for the reply.
>
[quoted text clipped - 5 lines]
> 1. The user is alredy used and familiar with Active Sync
> 2. There exist already some desktop Applications which use RAPI