Ā (At) 22:30 +0200 12/01/03, Eckhart Köppen écrivait (wrote) :
>it seems that the IrDA implementation on the Newton (2.1 devices) is not
>completely braindead after all. I have a first hack of TinyTP and IrCOMM
>working, it's however in the very very early stages. The only
>uncertainty is the packeting of data but it looks like the packet size
>can be derived directly from the IrDA receive buffer size.
The packet size is known if you access the driver with the C++ Newton
Communication Stack bindings instead of the NewtonScript ones. I sent
a sample code to Robert Ellison eons ago. It's probably lying
somewhere on my hard drive. Do you want it?
For that matter (i.e. considering that you'll interface with the
system via the TSerialChip P-Class), you'd better write all that in
C++ (since your code will not be called from the NewtonScript task,
manipulating NS objects will crash).
>Next steps: complete IrCOMM and test TinyTP and IrCOMM.
Are you sure that TinyTP doesn't work on the Newton? Dock uses TinyTP
as far as I recall. (geez, if you wrote a larger IrDA stack for MacOS
X with TinyTP & LMP, we'd be able to Dock on X, I have the
specifications on my hard drive ;)
>Then the big
>challenge: Disguise the whole thing as a serial chip to make it a system
>wide available serial port (e.g. to hook up to a cell phone modem).
>Question to Paul G. in this matter: would implementing a TSerialChip
>protocol do the trick? That would probably be easy...
Very probably. The hard part will be to register the port, but it is
much easier than designing the MP3 codec.
Paul
-- NPDS: http://newton.kallisys.net:8080/ Apache: http://www.kallisys.com/-- This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries List FAQ/Etiquette/Terms: http://www.newtontalk.net/faq.html Official Newton FAQ: http://www.chuma.org/newton/faq/
This archive was generated by hypermail 2.1.2 : Sun Jan 26 2003 - 04:03:03 EST