Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please help me with this. I have two applications, desktop app and mobile app(the mobile terminal runs in windows CE and is connected to pc via serial port).
the desktop application sends a request to mobile app and the mobile apps process the request and send a response to pc (desktop app). what my boss want to attain is, the pc will send a request to terminal and will wait for a response from the terminal. the terminal always wait for a request from the pc then send a response to pc upon processing the request, the pc and terminal uses the same port.. I apologize for my bad English.

question: is the above doable?
Posted

(If I got you) Yes, it is doable, definitely. It is just a simple client (PC) / server (mobile device) architecture using the serial port for communication.
 
Share this answer
 
Comments
jamagboo 29-May-14 6:01am    
thank you for the response sir. hmmm, ok ill change the question, my question now is can my two application open a serial port at the same time, note that those applications uses the same port. i want a real time transaction between the two devices, i want my mobile to receive the request without having a need to manually open the port. i want it to always listen for any request from the pc.
jamagboo 29-May-14 6:05am    
here's what happen when my pc send a request. the pc app will send an xml string to terminal(example: <request name="FINGERVERIFY"><request>). then the terminal will automatically receive the xml string sent by the pc, how ill i be able to automatically receive the request from pc as the the terminal cannot open and use the port because it is being used by the pc.
[no name] 29-May-14 13:58pm    
Is "mobile terminal" a software program that runs *on* Windows CE or a hardware device that runs Windows CE?

Windows (CE or otherwise) doesn't allow two programs to share the same serial port. For example, you can't run HyperTerm and Termite on COM1 at the same time.
jamagboo 30-May-14 6:29am    
Mobile terminal is a hardware that runs on windows CE. thanks for the response sir, anyways I have solved the problem.
Uninstall and reinstall COM Port on the device manager.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900