Solved

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

Posted on 2009-04-08
8
474 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
  • 4
  • 4
8 Comments
 
LVL 24

Accepted Solution

by:
alexey_gusev earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
 

Author Comment

by:JBHJ
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 24

Expert Comment

by:alexey_gusev
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now