Re: A86: ping


[Prev][Next][Index][Thread]

Re: A86: ping




if you send a test signal, four bytes:
xx $68 xx xx
a calc on the other end will reply with an acknowledge, and the calc id
$86 $56 xx xx
you can find out what kind of calc is connected this way

if you just want to check if another calc is there (and not what kind),
just lower one line and check for the other one to go low.  that won't
happen if nothing's connected.

-josh

On Wed, 19 May 1999 14:11:15 +0200 Jimmy =?iso-8859-1?Q?M=E5rdell?=
<yarin@acc.umu.se> writes:
>
>At 17:20 1999-03-18 -0800, you wrote:
>>
>>I'm writing a routine that checks for the presence of another 
>calculator
>>on the other end of the link cable.  Like the equivilent of a
>>drastically downsized PING program.  Is there a certain byte you can
>>write to the linkport that when a another calc recieves it, the other
>>calc will automatically reply?  Something like an acknowledgement 
>signal
>>that the TI link protocol uses?
>
>Nope. When working against the linkport, it's really lowlevel... you
>can think of the linkcable as two bits which are shared by both calcs.
>Any transfer protocol have to be implemented and running on both calcs
>to make any data transfer possible.
>
>--
>Jimmy Mårdell                  "Applications programming is a race 
>between
>mailto:yarin@acc.umu.se         software engineers, who strive to 
>produce
>http://www.acc.umu.se/~yarin/   idiot-proof programs, and the Universe
>ICQ #: 14193765                 which strives to produce bigger 
>idiots."
>
>

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]