I'm trying to talk to a Magellan GPS sled for the Palm Vx.

My load of the serial library works OK and my initialisation of the port 
(serDefaultSettings + 4800 baud) succeeds ... ie, they return zero.

However, when I attempt to read from the port, via SerReceive10(), I get an 
error code of 774.  According to errorcode.prc, this means ...

   serLineErr ("Serial: line error(0x0306))

Can someone suggest what kinds of things could cause this error code to be 
returned?  Any ideas on how to go about debugging it?

I realise I'm using the old serial manager library.  I'm happy to move to the 
new one if this problem is inherently to do with using the old one, but if 
not, I'd prefer to stick with this code, rather than having to write and 
debug some new code.

I've used this code successfully to talk to the Palm sitting in its cradle, 
by copying /dev/tty into the appropriate serial port device (yes, I'm on 
Linux).

TIA.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to