Re: [NTLK] Docking protocol

From: jeromevernet_at_pastis.dyndns.org
Date: Mon Jul 25 2005 - 12:44:09 PDT


Le 21 juil. 05, =E0 18:22, Matt Howe a =E9crit :

> That is the document I'm working with and where I THOUGHT I had=20
> figured out
> the response from. But I am not doing something right because the=20
> Newton is
> not responding to what I'm sending. If someone out there can somehow=20=

> capture
> or knows the newtdockdock command character by character it will=20
> hopefully
> be the key to my understanding the command structure.
>
>
Take a look at the Real basic sources of my IrDA Package Installer here:

http://perso.wanadoo.fr/jerome.vernet/newton.htm

When you tap the 'connect' button on the Newton, you will receive a=20
'rtdk' message from the newton, with various information that maybe=20
important, dependiong of what you need.

Then, you need to send this to the newton:

   sendBuf.cstring(0)=3D"newtdockdock"
   sendBuf.byte(12)=3D0
   sendBuf.byte(13)=3D0
   sendBuf.byte(14)=3D0
   sendBuf.byte(15)=3D4
   sendBuf.byte(16)=3D0
   sendBuf.byte(17)=3D0
   sendBuf.byte(18)=3D0
   sendBuf.byte(19)=3D4 '<=3D this for telling the newton that we want =
to=20
install a package. Try other value ?

You should then receive from the Newton a 'name' then packet.

The newton

-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
Official Newton FAQ: http://www.chuma.org/newton/faq/
WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/


This archive was generated by hypermail 2.1.5 : Mon Jul 25 2005 - 15:30:01 PDT