Solved

Communication with a PDA

Posted on 2004-09-28
7
368 Views
Last Modified: 2010-04-23
I have to make an application which communicates with a PDA over GPRS.  I know this can be achieved using a webservice, but the problem is I have to 'push' data to the PDA too.  Can this be done ?  Or is there a different approach to this problem.  It's crucial that I can send info from my host application to the PDA.
If necessary the connection (made from the PDA to the Host) can stay open at any time.
0
Comment
Question by:ACAE
  • 4
  • 3
7 Comments
 
LVL 9

Expert Comment

by:checoo
ID: 12167205
In the pervasive environment its always advisable to use PULL rather than push, you can have the PDA initiate the data transfer session and then the server and send the data to the PDA. If you really need to push data then the alternative is to have a windows service running which will check if the PDA is connected (or rather accessible) and then send the data over to the PDA, but in this case there has to be a component running on the PDA also which should accept the data that is sent by the server. I have worked with both this models but personally would like to recommend the PULL (PDA pulls the data) model if it is feasible for your secnerio.
0
 

Author Comment

by:ACAE
ID: 12167259
I don't really know if I can apply the PULL model. There are 2 features that give a problem : on the host system transport orders are created and assigned to a driver (=PDA), and at that point the order has to be send to the PDA.  The second feature is a 'chat' function to interchange messages between the host and the driver.

In the pull model I then should have a timer that automatically sends a message to the host every .. minutes to ask if new information (orders or chat messages) is available, but I fear that would consume a lot of data transfer (in Belgium the connection of GPRS is free, but there is a fee for each MB that is send).  However, as you are always connected, I tought the push model would be better.  In both cases I need some kind of 'Listener' on the PDA
0
 
LVL 9

Expert Comment

by:checoo
ID: 12167727
Have you considered the possiblity of sending an SMS to the PDA whenever the host needs to communicate, and then the PDA can establish the connection.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:ACAE
ID: 12167760
No, I haven't.  I'll have to communicate with our customer to see if that's possible (moneywise, the host should support 150 handhelds).
However, what the PDA (it's not a classic PDA, is a Psion Teklogix Workabout Pro) also has to do every ... minutes is send its GPS coördinates.  Perhaps I can use this communication to check for new orders and chat-messages.
0
 
LVL 9

Accepted Solution

by:
checoo earned 250 total points
ID: 12169175
Have a look at the following FTP based solution
http://www.rebex.net/ftp.net/samples-compact-framework.aspx
0
 

Author Comment

by:ACAE
ID: 12169241
Sorry but I don't see the point.  This example is about up/downloading files to a pocket PC using FTP, I think this is not really usable for us.
0
 

Author Comment

by:ACAE
ID: 12217487
I searched a bit further and found some interesting examples on this case.  This makes this question in fact obsolete.  I will look into the FTP solution to transfer signatures (bmp) to the host pc, so this could in fact be very usefull.  Thanx for this.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

809 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