sockets programming
I've picked up a book "Embedded Internet Design" by Al Williams written about sockets programming on both the Javelin and the TINI micro-controllers. Anyway it's full of examples on the Javelin using the stamp.net.* libraries. These classes are not available to me....any ideas how/where to import these classes? Or alternatively how to import the java.net libraries?
-Nash
-Nash
Comments
The javelin has no direct way to communicate with the internet, so I guess
the examples that relate to javelin use some hardware and code that is
especially written for that hardware. Doesn't the book provide a link
from where to download the source code used in the book?
I have written some classes to let the javelin communicate with the Pink Webserver.
Pink module:
http://www.parallax.com/detail.asp?product_id=30013
The classes I wrote for the Pink can be downloaded from:
http://tech.groups.yahoo.com/group/JavelinCode/files/Javelin%20Stamp%20IDE/lib/stamp/peripheral/web/
Note that these classes are for the old Pink firmware. The Pink firmware has recently been
updated so these classes may need updating to support all new features of the Pink.
regards peter
·
The book (Embedded Internet Design, Al Williams) *does* rely on some other hardware...it uses a modem and also the stamp.peripheral.ModemInterface class. But it definitely makes use of stamp.net.* classes which don't exist on the version that I have. It uses the stamp.net.Socket, the stamp.net.IPPacket and stamp.net.IP classes and several more. The book was published in 2003 and I'm pretty sure that this was before the Javelin was officially released and that it has changed a lot since then...these classes are apparently no longer supported...really a shame b/c they would be very helpful.
The book contains no links to the source code, and no included CD ROM, but you can see whole sections of the book here:
http://books.google.com/books?id=lMcMpaNg1QUC&dq=embedded+internet+design+al+williams&pg=PP1&ots=922M52po8R&sig=QoZRx-SrgYkfBFrK9DDf-9eBqzk&prev=http://www.google.com/search?client=safari&rls=en&q=Embedded+Internet+Design,+Al+Williams&ie=UTF-8&oe=UTF-8&sa=X&oi=print&ct=title&cad=one-book-with-thumbnail
I need WiFi for my application...I'm looking into the Lantronix WiPort product (http://www.lantronix.com/device-networking/embedded-device-servers/wiport.html). Anyone had success getting this to talk with the Javelin?
-Nash
Search the javelin forum for linkmatik and eb500 threads.
I cannot guarantee these work out of the box as I don't have
either Linkmatik or eb500 devices. I collected these classes
from several threads. But they do compile without error.
The linkmatik files go into folder ...\lib\stamp\peripheral\wireless\linkmatik
The eb500 files go into folder ...\lib\stamp\peripheral\wireless\eb500
regards peter
Go here and scroll down page.
http://www.selmaware.com/appbee/
There you will find an XBee class for the Javelin.
regards peter
-Nash
-Nash
If you have a working test program for TCP and/or UDP connections or email,
please post it. I took a look at the Matchport user guide and it looked more complicated
than the eb500 to make connections.
regards peter