Mobile Apps - COM1 Serial for Hyperterminal
Asked By jp2code
28-Mar-07 10:01 AM
Is there a way to test a serial connection on a PPC using HyperTerminal
(HT)?
Another application that we want to use BT and/or IR with is having problems
talking to our device, so we thought we'd do a quick check to see that we
knew how to talk - using HT.
Apparently, we don't!
No one here can seem to establish a connection with HT. We have a plug on
the bottom of our PPC that converts to a Serial DB9 connection, but HT can't
connect, and the PPC doesn't seem to have a way to establish a connection
using a serial connection.
Is a program required to open this port, or should it be something simpler?
PPC
(1)
PC
(1)
OpenNETCF
(1)
HT
(1)
ActiveSync
(1)
MVP
(1)
EsrrynUcHHA
(1)
OptionsThat
(1)
You're sure you have the connector right (not nulled or anything)? You
should be able to communicate from the device to HT just fine.
--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
jp2code replied...
The cable is one of those that comes with the device for sync-ing with a PC
using ActiveSync.
I don't want to use ActiveSync, because I want to test that our connection
methods are working.
My HT settings on the PC are:
COM1, 9600 baud, 8 data bits, no parity, 1 stop bit, Hardware Flow control,
Emulation: VT100
My PPC has spit up 2 Notification Error messages: "Cannot execute
connmgr.exe" and "Cannot execute repllog.exe" - if that helps at all.
Does the PPC need a special tool to connect with HT, should it echo what it
receives from the PC, or do I need to come up with some other method of
working with the device?
What are the settings on the device? As long as they match you should be
fine. Not sure if the port supports flow control - that's hardware
dependent. I'd try no control for now.
You need to make sure ActiveSync is set to not use the serial port on the
device or it will hold the port.
Echo where? You have to have software on the PPC running that opens the
port and listens. It would do whatever you code it to do - if that's to put
the data on the screen then so be it. The PPC doesn't do anything like that
automatically, just like your PC doesn't (you run Hyperterminal to do it).
--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
jp2code replied...
I can't find any "serial settings" for the device. Any idea where this would
be located?
PPC doesn't have a HyperTerminal style program, so I don't know where to
look to see if data is getting to the devices serial port.
Is it even called a serial port on the PPC? When I open the Connection
Settings, I see the following:
* Beam
* Bluetooth
* Connections
* CSD Line Type
* GPRS Settings
* Network Cards and
* WLAN
Before I can connect, I need to know what to use to connect to the PC with
on the device side.
What should I use, and how would it be set up?
ActiveSync->Settings->PC->Options
That's my point. You need software on the PPC to do this, just like you dop
on the PC. You either need to find or write some software to meet your
needs. How it's set up is going to be dependent on that software.
--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
How to get notified in PPC application when PPC is sync'd Mobile Apps I have a Pocket PC application (C#, .NET on Mobile 5) and I need to determine either: 1) when the Pocket PC is connected with the host PC through ActiveSync, or 2) when one or more files are deleted from a Pocket PC directory - these are deleted by a host PC application using RAPI. Is there a way for my PPC to get either notification? PocketPC Developer Discussions PPC (1) PC (1) OpenNetCF (1) PenFact (1
Message on to desktop from PPC - How? Mobile Apps Hai All, How can we display a message from PPC on to its connected desktop when a user performs some action like (clicking of a button in an application i.e running on PPC). Thank U PocketPC Developer Discussions OpenNETCF (1) Tacke (1) Hai (1) C865e67dd13d (1) B2a45155 (1) Listener (1) A2ba (1) B43f (1) Use a socket. It's trivial and no different that from PC to PC. There are plenty of samples on the web. - - Chris Tacke, Embedded MVP OpenNETCF Consulting Giving back to the embedded community http: / / community OpenNETCF.com Use of Socket needs desktop to continuosly listen to PPC for the message. But
Which PPC version Mobile Apps I tried to get Adobe, Eigen Math, LME and Chess for PPC, but the PPC02 computer says they aren't comaptible. Is it PPC 2002 (machine) vs newer version (software)? How do I look for software that works with the older? PocketPC Discussions OpenNETCF (1) Adobe (1) IPAQ (1) EMVP (1) MobileDev (1) TuneLab (1) PenFact (1) OSes (1) What is the _exact_ message. . . possibilities. . . 1 - ppc programs are installed on the sync pc and _not_ on the ppc 2 - there is a screen warning which is essentially irrelevant also post the exact make 38xx / 39xx / 5450. - - - - Werner "Menneisyys" Ruotsalainen - Microsoft MVP - Windows - Mobile Devices Please see the Pocket PC Mag Expert Blog (including mine) at http: / / www.pocketpcmag.com / blogs / - you will definitely like
Run one application while PPC connected to the desktop Mobile Apps Hi All, I would like to register one application service which will be automatically run after PPC is successfully connected to the desktop via USB. I will not install Activesync. Please provide me a solution if Activesync is not installed in my PC. Any kind of suggestion is most welcome. Regards Patra PocketPC Developer Discussions USB (1) OpenNETCF (1) RNDIS (1) PPC (1) PC (1) MVP (1) CF (1) PatraRE (1) "Gopa" wrote: There is no such solution. You write a minimal USB driver to detect the connection and determine it's a Pocket PC that's connected, then it could run your app. - - Chris Tacke - Embedded MVP OpenNETCF Consulting Managed Code in the Embedded World www.opennetcf.com - - Hi Chris, Is there any
Running apps on PPC from PC Mobile Apps I've seen some old references to this or similar questions but don know the current state of affairs. Given that one has an app copied onto the PPC, is it possible to have it starated up via the connection to a PC? Could that command (if there is one) also pass parameters to the PPC app? What about getting results back to the PC (other than by writing a file on the PPC to be read by the PC), sort of like calling a function (or subrouotine) that returns value(s)? PocketPC Developer Discussions