Solved

Automatic data transfer between pocket pc and Windows XP via wifi connection

Posted on 2009-04-08
8
480 Views
Last Modified: 2013-12-05
I have an application running on a handheld using Microsoft Pocket PC version 4.2 which collects data in files. I have been successfully transfering these automatically to an XP machine via wifi using ActiveSync version 3.7. The files are then picked up by an application for further action.

This has worked well, but now I need to add some more handhelds, and the problems start.

I do not seem to be able to have more than one handheld synchronising with the PC.

My question is can you synchronise more than one handheld with the same PC using ActiveSync? If so how? And if not, can you suggest how I should approach this requirement?

Many thanks
0
Comment
Question by:JBHJ
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 24

Accepted Solution

by:
alexey_gusev earned 500 total points
ID: 24099938
ActiveSync doesn't support simultaneous connections, so you can see only one connected PDA at time. I think the easiest solution is to have something on server-like your PC, e.g. some internet server, ftp server, standard custom  server to serve multiple clients etc
0
 

Author Comment

by:JBHJ
ID: 24100010
I suspected that would be the case.....any suggestions/recommendations as to what software (ftp server etc.) would make a good solution?
0
 
LVL 24

Expert Comment

by:alexey_gusev
ID: 24100132
well, all depends on what you want to achieve and/or if you want to develop the simple server. I'd say something like IIS would be sufficient in most of the cases, so you can use HTTP or FTP from mobile client to upload the data. Perhaps in your case it might be easier to develop simple socket-based client/server system.
0
Everything You Need to Know about Petya 2.0

Get an overview of the what, when and how of Petya 2.0  from our threat analyst Marc Labilerte, as well as a look at how WatchGuard Total Security Suite protected our customers from the recent attack!

 

Author Comment

by:JBHJ
ID: 24105283
Ideally what I would like to do is have the application on the Pocket PC generate a small file which automatically uploads to the PC, and likewise have the ability to send a file back from the PC to the PocketPC. Sounds simple on the face of it, and with ActiveSync that was achieved.

What would be helpful is if there were some sample code or if you knew of any components etc. that could help me - it is an area I am unfamiliar with.

New to asking questions on this, so I realise I am now asking another question and will double the points if you can point me in the right direction - I take it that is possible.....I'll have to look into how.

Thanks.
0
 
LVL 24

Expert Comment

by:alexey_gusev
ID: 24105340
what language are you using for development? There should be various e.g FTP libraries out there or you might use HTTP if you decide to install IIS for this task.

Personally, I would develop small and simple client/server sockets application (just google for the samples, e.g at codeguru or codeproject, like this for C#: http://www.codeguru.com/csharp/csharp/cs_network/sockets/article.php/c7695), so you can easily control all you need
0
 
LVL 24

Expert Comment

by:alexey_gusev
ID: 24105350
besides, if you're up to it, you might use WNet APIs to define network drive from PDA side and access to perform all copy operations (http://www.codeproject.com/KB/dotnet/DotNetWrapperForWNet.aspx). I put here .net related links, but obviously you can do the same for Win32
0
 

Author Comment

by:JBHJ
ID: 24159874
Alexey, sorry I haven't been back to you.....fighting another fire.

I am using VB, but the links you have given me look interesting, and I will figure it out over the next couple of days and get back to you. Thanks for now.
0
 

Author Closing Comment

by:JBHJ
ID: 31568089
Finally got back to this. I have put together a quick solution using the links to the article re .Net wrapper.
I promised more points and it appears I cannot add them to this question....should have asked a separate question....so look out for a subsequent question!
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question