It's getting kind of warm here, a nice dip in a lake would be just the
ticket ;-)
If you've got a cable made for your device and the Palm, it -should-
be the right cable ... and I missed the part where you sent the arming
instruction and it worked. That shows you've got the right cable.
Well ... the cable could still be the problem (although I'd consider
it to be unlikely). I've run into a circumstances where one of
the wires in the cable was shorted or disconnected and send
worked but receive didn't or t'other way 'round. One of those
winky-blinky boxes that Paul described could help you there.
If all that checks out, though, we're left w/ code problems. Perhaps
you could post some?
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi/sec: not just a good idea, it's the LAW!
Charles Rezsonya wrote in message <10612@palm-dev-forum>...
>
>yes the wire is made for the palm (or rather the symbol spt 17xx unit to be
>specific), that connects straight to the serial port and the other end
>straight to the unit. i do though also have another wire i can use to
>connect it to the serial port of the pc and do configuration of the device.
>
>no i won't tell you to go and jump in a lake, i'm just curious why its
that
>strong of an assumption that you'd actually jump if i told you to =) or
>would you?
>
>
>-----Original Message-----
>From: Richard M. Hartman <[EMAIL PROTECTED]>
>Newsgroups: palm-dev-forum
>To: Palm Developer Forum <[EMAIL PROTECTED]>
>Date: Thursday, May 04, 2000 5:46 PM
>Subject: Re: Getting a responce from a serial device
>
>
>>The cable the device came with was made to connect to a Palm?
>>I find this difficult to believe. More likely you have a device that
>>has a cable that was made to connect the device into a standard
>>PC serial port, and you have an adapter and are plugging that
>>into your Palm cradle? (If I'm wrong about any of my assumptions,
>>feel free to tell me to go jump in a lake...)
>>
>>The RS232 protocol has two ends: DTE and DCE (Data Terminal
>>Equipment and Data Communications Equipment). "Straight"
>>cables connect a device of one type to a device of the other. An
>>example of a DCE would be a modem. A computer terminal (or
>>a PC running a terminal program) would be an example of DTE.
>>
>>Now the Palm cradle plugs into the computer. Assuming the
>>cable is straight through, the Palm is taking a DCE role. Also
>>assuming that the device you are trying to talk to normally talks
>>to a PC, then it too is taking a DCE role. If you try to plug the
>>Palm cradle into your device's cable ... well, odds are that
>>they would both have been DB9m connectors and they wouldn't
>>plug in directly. If you went out and got a "gender changer" so
>>they could plug into one another, they would still both be DCE
>>devices and not talk to one another. You would have to have
>>a "null modem" in the mix. A "null modem" swaps a couple
>>of wires around so a DCE can pretend to be a DTE (or
>>the other way 'round).
>>
>>Are you sure that your Palm and the other device are talking
>>to each other at all? You could always try running a terminal
>>emulator on the Palm before you bring your own code into
>>the mix. Prove the physical connection works. If it does
>>and your program still does not, -then- you've got a code
>>problem.
>>
>>--
>>-Richard M. Hartman
>>[EMAIL PROTECTED]
>>
>>186,000 mi/sec: not just a good idea, it's the LAW!
>>
>>Charles Rezsonya wrote in message <10544@palm-dev-forum>...
>>>
>>>thanx, but the cable is one that came with the device, so its specific
to
>>>that
>>>-----Original Message-----
>>>From: Steve Sabram <[EMAIL PROTECTED]>
>>>To: Palm Developer Forum <[EMAIL PROTECTED]>
>>>Date: Thursday, May 04, 2000 3:02 PM
>>>Subject: Re: Getting a responce from a serial device
>>>
>>>
>>>>First thing to do is make sure that your serial hardware (cables, wires,
>>>et. al.) is working and then start to write you code.
>>>>Sometimes you have the wrong cable and need a Null Modem cable instead
of
>>a
>>>pass-thru considering the device you are using. To make
>>>>sure this works, get a regular terminal emulator application for the
>Palm.
>>>I recommend OnLine from MarkSpace (www.markspace.com).
>>>>This lets you make sure that the right data, if any, is coming into the
>>>Palm device.
>>>>
>>>>Damn! I'm recommending this device so much lately, I should be getting
a
>>>commission. :)
>>>>
>>>>Steve
>>>>
>>>>Charles Rezsonya wrote:
>>>>
>>>>> i have opened a serial connection with a device at 9600, 8 bits per
>>char,
>>>1
>>>>> stop bit. probing the serial devices settings its at 9600 8n1. i
>>>believe
>>>>> that i'm sending it valid instructions because when i tell it to read
a
>>>card
>>>>> it becomes armed. but the next obivious step is to receive the data
>>from
>>>>> the unit. i tried some serialmanager calls but on receiving data it
>>>fails
>>>>> (timeout) and transmits ok.
>>>>>
>>>>> can someone shed some light on this routine?
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/