473,508 Members | 4,712 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4586
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4949
by: boble | last post by:
Sorry, it's may be off topic ;_((( The following article http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k3/ht ml/winmob03.asp states that a.. Microsoft Windows .NET...
0
1257
by: Rosalind Chen | last post by:
Hi, All A similiar message was posted on another newgroup last week. I am still working on this issue. If anyone have any information, I greatly appreciate it. I have built a smart device...
2
2517
by: Lisa Pearlson | last post by:
Hi, My php application (on Apache/Linux) needs to do the following: The PHP script receives a request from a client (binary), asking for certain records of data. My PHP script loops through...
1
1759
by: cfyam | last post by:
How can I scan com ports and connect to Pocket PC Device via ActiveSync?
0
956
by: Rosalind Chen | last post by:
Hi, All A similiar message was posted on another newgroup last week. I am still working on this issue. If anyone have any information, I greatly appreciate it. I have built a smart device...
2
7405
by: Rosalind Chen | last post by:
Hi, This is the first time that I use Visual Studio .NET. And I stucked in this first problem. - I created a SDK from Platform builder 4.2 that includes .Net Compact Framework. - installed...
1
3130
by: tobesurveyor via AccessMonster.com | last post by:
Hello all, The program I am creating takes certain files found on a Pocket PC and places them on a specific directory on a network drive. It is automated in the transfering of the files, and in...
1
1748
by: walterbyrd | last post by:
I want my python app to read a file from a pocketpc mobile device, if possible. Assume I am running windows-xp, and activesync 3.8. Assume I have "exported" the file. As I understand it,...
0
2398
by: tthkbw | last post by:
I am writing an application and have the need to open files that exist on an ActiveSync connected Mobile Device (in this case, a PocketPC, could be a SmartPhone). When the mobile device is...
0
7128
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7332
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7393
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5635
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5057
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3206
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1565
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
426
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.