471,338 Members | 1,001 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,338 software developers and data experts.

send commands to device using activesync

Hi all,

I am trying to write application which runs on my PC that sends data
to an application running on Windows mobile.
The problem is that the tcp over activesync doesn't work. The device
is not connected to ehternet.
Can I send tcp traffic to device using active sync?
I sas that the device's IPaddress is 192.168.55.101. I changed my PC
IP address to 192.168.55.100 and sent ping but didn't get any ping
reply.

Am I missing anything here?

Thanks.
Jul 30 '08 #1
4 4461
On Jul 30, 3:39*pm, Eran.Ya...@gmail.com wrote:
Hi all,

I am trying to write application which runs on my PC that sends data
to an application running on Windows mobile.
The problem is that the tcp over activesync doesn't work.
Maybe you cannot use it, but it does work allright, I have a couple
of systems working like that using a TCP connection
>The device
is not connected to ehternet.
Can I send tcp traffic to device using active sync?
Explain that, above you said you cannot use it.
I sas that the device's IPaddress is 192.168.55.101. I changed my PC
IP address to 192.168.55.100 and sent ping but didn't get any ping
reply.

Am I missing anything here?
Yes, a lot :)

you do not need to change your computer ip, as a matter of fact your
computer has another IP 192.168.55.100 that is assigned to the
connection with the PPC.
from the ppc you can do a connetion to .100 and you get your machine.

There are other ways to send data to a PPC , like using RAPI, though.
Jul 30 '08 #2
On Jul 30, 10:51*pm, "Ignacio Machin ( .NET/ C# MVP )"
<ignacio.mac...@gmail.comwrote:
On Jul 30, 3:39*pm, Eran.Ya...@gmail.com wrote:Hi all,
I am trying to write application which runs on my PC that sends data
to an application running on Windows mobile.
The problem is that the tcp overactivesyncdoesn't work.

*Maybe you cannot use it, but it does work allright, I have a couple
of systems working like that using a TCP connection
The device
is not connected to ehternet.
Can I send tcp traffic to device using active sync?

Explain that, above you said you cannot use it.
I sas that the device's IPaddress is 192.168.55.101. I changed my PC
IP address to 192.168.55.100 and sent ping but didn't get any ping
reply.
Am I missing anything here?

Yes, a lot :)

you do not need to change your computer ip, as a matter of fact your
computer has another IP 192.168.55.100 that is assigned to the
connection with the PPC.
from the ppc you can do a connetion to .100 and you get your machine.

There are other ways to send data to a PPC , *like using RAPI, though.
Hello Ignacio, thanks for the reply.

Is there anything I need to do/configure PC or PPC to be able to use
TCP over activesync?
I already have the application and I can send TCP connection from two
different PCs. The problem is that the PC doesn't manage to connect to
the PPC.
you do not need to change your computer ip, as a matter of fact your
computer has another IP 192.168.55.100 that is assigned to the
connection with the PPC.
from the ppc you can do a connetion to .100 and you get your machine.
When I sent ping to the device I didn't get ping reply. I used
"ipconfig /all" on the PC to get its IP addresses. I didn't see that
my PC has 192.168.55.100 IP Address.
There are other ways to send data to a PPC , like using RAPI, though.
What is RAPI?

Thanks again.
Jul 31 '08 #3
Is there anything I need to do/configure PC or PPC to be able to use
TCP over activesync?
no, as soon as you sync your ppc it gets an IP and your computer the
other ( 100/101)
I already have the application and I can send TCP connection from two
different PCs. The problem is that the PC doesn't manage to connect to
the PPC.
honestly I ahve never tried from PC to PPC, I always connect from PPC
to PC.
I would do this.
-run an app in the ppc that listen to a port
-do a telnet 192.168.55.101 portnumber from the machine where the ppc
is synced

see what happens :)
>
What is RAPI?
Remote API
you can send commands to the PPC, you can do things like modifing the
register, copy file, exec programs, etc

As a matter of fact I lied above, I do send some info from PC to PPC
using RAPI. I copy a file to the PPC and then execute an app that send
a signal to my PPC application that a new file exist
Jul 31 '08 #4
On Jul 31, 5:01*pm, "Ignacio Machin ( .NET/ C# MVP )"
<ignacio.mac...@gmail.comwrote:
Is there anything I need to do/configure PC or PPC to be able to use
TCP overactivesync?

no, as soon as you sync your ppc it gets an IP and your computer the
other ( 100/101)
I already have the application and I can send TCP connection from two
different PCs. The problem is that the PC doesn't manage to connect to
the PPC.

honestly I ahve never tried from PC to PPC, I always connect from PPC
to PC.
I would do this.
-run an app in the ppc that listen to a port
-do a telnet 192.168.55.101 portnumber *from the machine where the ppc
is synced

see what happens :)
What is RAPI?

Remote API
you can send commands to the PPC, you can do things like modifing the
register, copy file, exec programs, etc

As a matter of fact I lied above, I do send some info from PC to PPC
using RAPI. I copy a file to the PPC and then execute an app that send
a signal to my PPC application that a new file exist
Ignacio, thanks for the reply. again.

I'd affraid to ask what these apps do :).
any way, thanks for the help.
Jul 31 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Rosalind Chen | last post: by
2 posts views Thread by Lisa Pearlson | last post: by
1 post views Thread by cfyam | last post: by
reply views Thread by Rosalind Chen | last post: by
2 posts views Thread by Rosalind Chen | last post: by
1 post views Thread by tobesurveyor via AccessMonster.com | last post: by
1 post views Thread by walterbyrd | last post: by
reply views Thread by tthkbw | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.