Archive | Electronics RSS feed for this section

Final Thoughts

11 May

A Few Final Thoughts
Recent advances in computers and networking technology have spurred tremendous interest in the development of computer-controlled devices, smart appliances, and so called web-enabled devices: electronic devices that communicate directly with the Internet.  We hope this book has helped jump start you on the development of your own web-enabled [...]

TINI as a PPP server using the slush command ppp

11 May

TINI as a PPP server using the slush command ppp
We’re now going to assume that you’ve succeeded in making the changes to slush described in the previous section, and that you’ve succeeded at getting the PPPServer program to work on a TINI. So we know we’ve got a cable that works with [...]

The PPPCommand.java code

11 May

The PPPCommand.java code
The PPPCommmand.java code provides an implementation for the Slushcommand and PPPEventListener interfaces. The code  can be broken down into roughly three categories.
1. Code that implements the SlushCommand interface for the command ppp and its command line parameters.
2. Code that implements the PPPEventListener, implementing the FSM that we discussed earlier.
3. Misc utility methods.
•  closePPP()
• [...]

Rebuilding Slush to include PPP

11 May

Rebuilding Slush to include PPP
The Optional Slush Command ppp
In the TINI software distribution, tini1_102b.tgz (or whichever version you’re using), there is a file called OptionalSlushCommandsSrc.jar. If you unzip that file, you will find that it contains many files, among them, PPPCommand.java. It will unzip into a directory structure based on .\com\dalsemi\slush\command. [...]

Dialing into TINI from a PC (With Authentication)

11 May

Example: Dialing into TINI from a PC (With Authentication): The previous example involved making a TINI act as a PPP server that can be called and logged into remotely from a PC. For simplicity, we omitted user authentication. Anybody can call into TINI and start up a PPP connection. That’s a great [...]