473,570 Members | 2,914 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 4591
On Jul 30, 3:39*pm, Eran.Ya...@gmai l.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...@gmai l.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 overactivesyncd oesn'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
4954
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 Compact Framework-The .NET Compact Framework is in ROM in all new Pocket PC 2003 devices, and can be installed in RAM in Pocket PC 2000 and Pocket PC...
0
1262
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 application by VB in Visual Studio .NET and I want to download this application to a SH3 device that is running WinCE 4.2 with .NET Compact framework....
2
2519
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 all records and sends each of them ONE BY ONE. After each record that my server script sends, it waits for the client to confirm proper reception...
1
1760
by: cfyam | last post by:
How can I scan com ports and connect to Pocket PC Device via ActiveSync?
0
960
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 application by VB in Visual Studio .NET and I want to download this application to a SH3 device that is running WinCE 4.2 with .NET Compact framework....
2
7420
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 the SDK. - created a Visual Basic project by using Visual Studio .NET. Its deployment device is Windows CE.NET device. - connected the Platform CE...
1
3142
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 recording in the database the paths the data were saved to. When I demo the application using example files on different network drives it works...
1
1755
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, exported files are not really on the PC, even after syncing. You have to use your stylus on the PDA to get to the file in question, then use your PC...
0
2423
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 connected via ActiveSync an I open Windows Explorer, under My Computer, I see "Mobile Device" and can browse files on the PocketPC. However, in my C#...
0
7636
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7948
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7700
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6329
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5247
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3682
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3671
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1238
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
971
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.