A B C D E F G H I L M N O P Q R S T U V W X

A

ACK_RCVD - Static variable in class com.dalsemi.tininet.ppp.Protocol
Acknowledge received state constant.
ACK_SENT - Static variable in class com.dalsemi.tininet.ppp.Protocol
Acknowledge sent state constant.
acquireLinkLocalIP() - Static method in class com.dalsemi.tininet.AddressConf
Acquires a random link local address (169.254.x.x).
add(Object) - Method in class com.dalsemi.tininet.ppp.Queue
Add an element to the queue.
addEventListener(PPPEventListener) - Method in class com.dalsemi.tininet.ppp.PPP
Adds a PPP event listener.
addEventListener(QueueEventListener) - Method in class com.dalsemi.tininet.ppp.Queue
Add an event listener.
addEventListener(TimerEventListener, int) - Method in class com.dalsemi.tininet.ppp.Timer
Add an event listener.
addInterface(String) - Method in class com.dalsemi.tininet.ppp.PPP
Adds a PPP interface to the network interface table.
addInterface(String, int, int) - Method in class com.dalsemi.tininet.ppp.PPP
Adds a PPP interface to the network interface table.
AddressConf - class com.dalsemi.tininet.AddressConf.
This class implements auto detection of link local IP address, useful when there is no DHCP server and manual IP configuration is not desired.
ALLOCATION_ERROR - Static variable in class com.dalsemi.comm.CanBusException
 
analyze(int) - Method in class com.dalsemi.protocol.ftp.FTPClient
Outputs an IOException with meaningful messages in the event of bad FTP return codes.
ascii() - Method in class com.dalsemi.protocol.ftp.FTPClient
Changes to ASCII transfer mode.
autoAnswerRemoteFrameRequest(int, int, byte[]) - Method in class com.dalsemi.comm.CanBus
Sets up a message center to auto reply to remote frame requests.

B

binary - Variable in class com.dalsemi.protocol.ftp.FTPClient
Binary/ASCII mode flag.
binary() - Method in class com.dalsemi.protocol.ftp.FTPClient
Changes to binary transfer mode.
BIT_ONE - Static variable in class com.dalsemi.comm.CanBusException
 
BIT_STUFF - Static variable in class com.dalsemi.comm.CanBusException
 
BIT_ZERO - Static variable in class com.dalsemi.comm.CanBusException
 
buffSize - Variable in class com.dalsemi.tininet.http.HTTPServer
This is the size for the incoming data buffer

C

CanBus - class com.dalsemi.comm.CanBus.
Class allowing access to DS80C390, DS80C400 and DS80C410 CAN Bus Controllers.
CanBus() - Constructor for class com.dalsemi.comm.CanBus
 
CanBus(byte) - Constructor for class com.dalsemi.comm.CanBus
Creates a new CanBus instance on the specified port.
CANBUS0 - Static variable in class com.dalsemi.comm.CanBus
Passed to constructor to create object to access CAN Bus 0
CANBUS1 - Static variable in class com.dalsemi.comm.CanBus
Passed to constructor to create object to access CAN Bus 1
CanBusException - exception com.dalsemi.comm.CanBusException.
Thrown when a bus or hardware error occurs with the CAN controller.
CanBusException() - Constructor for class com.dalsemi.comm.CanBusException
Constructs a CanBusException with no detail message.
CanBusException(String, int) - Constructor for class com.dalsemi.comm.CanBusException
Constructs a CanBusException with the specified detail message and reason code.
CanFrame - class com.dalsemi.comm.CanFrame.
The CANFrame class is used with the CanBus class to send and receive frames on the CAN Bus.
CanFrame() - Constructor for class com.dalsemi.comm.CanFrame
Creates a new CAN Frame with default parameters.
CanFrame(int, boolean, byte[], int) - Constructor for class com.dalsemi.comm.CanFrame
Creates a new CAN Frame with specified parameters.
Chap - class com.dalsemi.tininet.ppp.Chap.
The Challenge Handshake Authentication Protocol (CHAP).
CHAP_PROTOCOL_NUMBER - Static variable in class com.dalsemi.tininet.ppp.Chap
 
Chap() - Constructor for class com.dalsemi.tininet.ppp.Chap
 
clearDnsAddrs() - Method in class com.dalsemi.tininet.ppp.Ipcp
 
clockDelay - Variable in class com.dalsemi.system.I2CPort
How long to wait between I2C edge transitions.
CLOSE_NOTOWNER - Static variable in class com.dalsemi.comm.CanBusException
 
close() - Method in class com.dalsemi.protocol.ftp.FTPClient
Attempts to close all socket socket resources that may have been left open by any operation.
close() - Method in class com.dalsemi.comm.CanBus
Closes this CAN Bus Controller.
close() - Method in class com.dalsemi.tininet.ppp.Ipcp
 
close() - Method in class com.dalsemi.tininet.ppp.Pap
 
close() - Method in class com.dalsemi.tininet.ppp.Chap
 
close() - Method in class com.dalsemi.tininet.ppp.PPP
Invoked to close PPP.
close() - Method in class com.dalsemi.tininet.ppp.Lcp
Close event
CLOSED - Static variable in class com.dalsemi.tininet.ppp.Protocol
Closed state constant.
CLOSED - Static variable in class com.dalsemi.tininet.ppp.PPPEvent
Event CLOSED, PPP has entered the closed state.
CLOSING - Static variable in class com.dalsemi.tininet.ppp.Protocol
Closing state constant.
CODE_POS - Static variable in class com.dalsemi.tininet.ppp.Protocol
Position of code octet within message.
com.dalsemi.comm - package com.dalsemi.comm
 
com.dalsemi.system - package com.dalsemi.system
 
com.dalsemi.tininet - package com.dalsemi.tininet
 
com.dalsemi.tininet.http - package com.dalsemi.tininet.http
 
com.dalsemi.tininet.ppp - package com.dalsemi.tininet.ppp
 
copyOptionsToBuffer(byte[], Vector) - Static method in class com.dalsemi.tininet.ppp.Option
Copy options from a vector to a byte array.
COUNT_EXCEEDED - Static variable in class com.dalsemi.comm.CanBusException
 
count() - Method in class com.dalsemi.tininet.ppp.Queue
Get the current queue entry count.
CRC - Static variable in class com.dalsemi.comm.CanBusException
 

D

data - Variable in class com.dalsemi.comm.CanFrame
Frame data area.
dataConnection() - Method in class com.dalsemi.protocol.ftp.FTPClient
Sets up a connection to transfer a file either by entering passive mode or by making a connection using the PORT command.
DEFAULT_CLOCK_DELAY - Static variable in class com.dalsemi.comm.SPI
 
DEFAULT_HTTP_PORT - Static variable in class com.dalsemi.tininet.http.HTTPServer
Default port number (port 80)
DELETE - Static variable in class com.dalsemi.tininet.http.HTTPServer
DELETE request
disableController() - Method in class com.dalsemi.comm.CanBus
Shuts down this CAN controller.
disableMessageCenter(int) - Method in class com.dalsemi.comm.CanBus
Shuts down this message center for changes.
down() - Method in class com.dalsemi.tininet.ppp.Ipcp
 
down() - Method in class com.dalsemi.tininet.ppp.Pap
 
down() - Method in class com.dalsemi.tininet.ppp.Chap
 
down() - Method in class com.dalsemi.tininet.ppp.Lcp
Down event

E

enableController() - Method in class com.dalsemi.comm.CanBus
Starts up this CAN controller, and connects to the bus.
enableControllerPassive() - Method in class com.dalsemi.comm.CanBus
Starts up this CAN controller, but doesn't connect CAN transmit to the bus.
enableMessageCenter(int) - Method in class com.dalsemi.comm.CanBus
Starts up this message center.
enableMinimumClockSkew(boolean) - Method in class com.dalsemi.comm.SPI
Disable interrupts during byte transfers to ensure a stable clock frequency.
enableSlaveSelect(boolean) - Method in class com.dalsemi.comm.SPI
Enable the use of the SS (slave select) line during communication.
encodeBody(int, String, String, int) - Method in class com.dalsemi.tininet.http.HTTPWorker
Encodes the body into a byte array.
encodeContentType(String, int) - Method in class com.dalsemi.tininet.http.HTTPWorker
Encodes the content type into a byte array.
ePassiveConnection() - Method in class com.dalsemi.protocol.ftp.FTPClient
Sets up an enhanced passive connection to the FTP server.
event - Variable in class com.dalsemi.tininet.ppp.ProtocolEvent
Encode event type.
extendedID - Variable in class com.dalsemi.comm.CanFrame
Standard ID (11 bits) if false or Extended ID (29 bits) if true.

F

field - Variable in class com.dalsemi.tininet.http.PostElement
The name of the Field from the POST Content
findPassword(String) - Method in class com.dalsemi.tininet.ppp.Protocol
Return password for name or null if not found or password file does not exist.
finish() - Method in class com.dalsemi.tininet.ppp.PPP
Kill the PPP thread and inetrrupt timer thread
FORMAT - Static variable in class com.dalsemi.comm.CanBusException
 
formatMsg(int, int) - Method in class com.dalsemi.tininet.ppp.Protocol
Format a message with no options.
formatMsg(int, int, byte[]) - Method in class com.dalsemi.tininet.ppp.Protocol
Format a message using a byte array for option data.
formatMsg(int, int, Vector) - Method in class com.dalsemi.tininet.ppp.Protocol
Format a message using a vector for option data.
freeNativeInterface() - Method in class com.dalsemi.tininet.ppp.PPP
Free the native interface used by this PPP instance
freePort() - Method in class com.dalsemi.tininet.ppp.PPP
Free the serial port for use by Java
FTPClient - class com.dalsemi.protocol.ftp.FTPClient.
 
FTPClient(String) - Constructor for class com.dalsemi.protocol.ftp.FTPClient
Create a connection to an FTP server running at the specified server on the default FTP port (21).
FTPClient(String, int) - Constructor for class com.dalsemi.protocol.ftp.FTPClient
Create a connection to an FTP server running at the specified server on the specified port.

G

GET - Static variable in class com.dalsemi.tininet.http.HTTPServer
GET request
get() - Method in class com.dalsemi.tininet.ppp.Queue
Get an element from the queue.
getData() - Method in class com.dalsemi.comm.CanFrame
Gets the data for the incoming or outgoing frame.
getDataStream() - Method in class com.dalsemi.protocol.ftp.FTPClient
Gets the stream to read the file or directory listing information we had earlier requested using retr.
getEventType() - Method in class com.dalsemi.tininet.ppp.PPPEvent
Gets the event type for this PPPEvent
getExtendedID() - Method in class com.dalsemi.comm.CanFrame
Gets the ID field type on a CAN Frame.
getFileSize() - Method in class com.dalsemi.protocol.ftp.FTPClient
Get the size of a file we are downloading.
getHTTPRoot() - Method in class com.dalsemi.tininet.http.HTTPServer
Returns the HTTP root of the server.
getID() - Method in class com.dalsemi.comm.CanFrame
Gets the ID field on a CAN Frame to be sent or already received.
getIndexPage() - Method in class com.dalsemi.tininet.http.HTTPServer
Returns the server's default index page.
getLastCommand() - Method in class com.dalsemi.protocol.ftp.FTPClient
Gets the last command string that we sent to the FTP server.
getLastError() - Method in class com.dalsemi.tininet.ppp.PPPEvent
Gets the error type for this PPPEvent
getLength() - Method in class com.dalsemi.comm.CanFrame
Gets the length of the data in the incoming or outgoing frame.
getLocalAddress() - Method in class com.dalsemi.tininet.ppp.Ipcp
 
getLocalAddress() - Method in class com.dalsemi.tininet.ppp.PPP
Gets the local peers address.
getLogFilename() - Method in class com.dalsemi.tininet.http.HTTPServer
Returns the name of the log file.
getLogging() - Method in class com.dalsemi.tininet.http.HTTPServer
Returns the logging status.
getMessageCenter() - Method in class com.dalsemi.comm.CanFrame
Gets the message center where this frame was received, or where this frame will be sent.
getOptions(byte[]) - Static method in class com.dalsemi.tininet.ppp.Option
Return a vector of options from a packet.
getOptionsLength(Vector) - Static method in class com.dalsemi.tininet.ppp.Option
Get length of options in buffer
getOutputStream() - Method in class com.dalsemi.protocol.ftp.FTPClient
Gets the stream to write file information.
getPassword() - Method in class com.dalsemi.tininet.ppp.Pap
 
getPortNumber() - Method in class com.dalsemi.tininet.http.HTTPServer
Returns the server's current port number.
getPrimaryDNS() - Method in class com.dalsemi.tininet.ppp.Ipcp
 
getPrimaryDNS() - Method in class com.dalsemi.tininet.ppp.PPP
Gets the primary DNS address.
getReason() - Method in class com.dalsemi.comm.CanBusException
Returns an int representing the CAN Bus error that occurred.
getRemoteAccm() - Method in class com.dalsemi.tininet.ppp.Lcp
 
getRemoteAddress() - Method in class com.dalsemi.tininet.ppp.Ipcp
 
getRemoteAddress() - Method in class com.dalsemi.tininet.ppp.PPP
Gets the remote peers address.
getRemoteFrameRequest() - Method in class com.dalsemi.comm.CanFrame
Gets the RTR bit in the frame to determine if it is a Remote Frame.
getResponseString() - Method in class com.dalsemi.protocol.ftp.FTPClient
Gets the last response string that we recieved from the FTP server.
getRXErrorCount() - Method in class com.dalsemi.comm.CanBus
Gets the receiver error count.
getSecondaryDNS() - Method in class com.dalsemi.tininet.ppp.Ipcp
 
getSecondaryDNS() - Method in class com.dalsemi.tininet.ppp.PPP
Gets the secondary DNS address.
getStretchCycles() - Method in class com.dalsemi.system.I2CPort
Gets the number of stretch memory cycles to use when accessing memory mapped IO.
getTXErrorCount() - Method in class com.dalsemi.comm.CanBus
Gets the transmitter error count.
getUsername() - Method in class com.dalsemi.tininet.ppp.Pap
 

H

handlePost(Vector, OutputStream, HTTPWorker) - Method in interface com.dalsemi.tininet.http.PostScript
This method must be implemented by all HTTP POST handling scripts
HEAD - Static variable in class com.dalsemi.tininet.http.HTTPServer
HEAD request
HTTP_BAD_REQUEST - Static variable in class com.dalsemi.tininet.http.HTTPServer
Standard HTTP_BAD_REQUEST response
HTTP_CREATED - Static variable in class com.dalsemi.tininet.http.HTTPServer
Standard HTTP_CREATED response
HTTP_ENTITY_TOO_LARGE - Static variable in class com.dalsemi.tininet.http.HTTPServer
Standard HTTP_ENITY_TOO_LARGE response
HTTP_FORBIDDEN - Static variable in class com.dalsemi.tininet.http.HTTPServer
Standard HTTP_FORBIDDEN response
HTTP_INTERNAL_ERROR - Static variable in class com.dalsemi.tininet.http.HTTPServer
Standard HTTP_INTERNAL_ERROR response
HTTP_NOT_FOUND - Static variable in class com.dalsemi.tininet.http.HTTPServer
Standard HTTP_NOT_FOUND response
HTTP_OK - Static variable in class com.dalsemi.tininet.http.HTTPServer
Standard HTTP_OK response
HTTP_SERVER_ERROR - Static variable in class com.dalsemi.tininet.http.HTTPServer
Standard HTTP_SERVER_ERROR response
HTTP_UNAUTHORIZED - Static variable in class com.dalsemi.tininet.http.HTTPServer
Standard HTTP_UNAUTHORIZED response
HTTP_UNSUPPORTED_TYPE - Static variable in class com.dalsemi.tininet.http.HTTPServer
Standard HTTP_UNSUPPORTED_TYPE response
HTTPServer - class com.dalsemi.tininet.http.HTTPServer.
This class implements an HTTP server.
HTTPServer() - Constructor for class com.dalsemi.tininet.http.HTTPServer
Default constructor.
HTTPServer(int) - Constructor for class com.dalsemi.tininet.http.HTTPServer
Creates an HTTPServer using port httpPort.
HTTPServer(int, boolean) - Constructor for class com.dalsemi.tininet.http.HTTPServer
Creates an HTTPServer using port httpPort.
HTTPServerException - exception com.dalsemi.tininet.http.HTTPServerException.
HTTPServerExceptions are thrown by the HTTPServer class.
HTTPServerException() - Constructor for class com.dalsemi.tininet.http.HTTPServerException
Constructs an HTTPServerException with no detail message.
HTTPServerException(String) - Constructor for class com.dalsemi.tininet.http.HTTPServerException
Constructs an HTTPServerException with the specified detail message.
HTTPWorker - class com.dalsemi.tininet.http.HTTPWorker.
HTTPWorker thread class This worker class is primarily used by HTTPServer to handle requests It handles parseing and URL encoding, decoding etc.

I

I2CPort - class com.dalsemi.system.I2CPort.
Class allowing access to I2C bus.
This class uses the I2C protocol on one of two resources: 390 Based:
P5.0(SCL) and P5.1(SDA)
400 Based:
P1.1(SCL) and P1.0(SDA)
Max rate 250Kbit/s, Min rate 2.5Kbit/s dependant on clockDelay value.
I2CPort() - Constructor for class com.dalsemi.system.I2CPort
Use processor port pins for SCL and SDA.
I2CPort(int, byte, int, byte) - Constructor for class com.dalsemi.system.I2CPort
Use memory mapped IO address for SCL and SDA pins.
ID - Variable in class com.dalsemi.comm.CanFrame
Standard ID (11 bits) or Extended ID (29 bits) based on the value of extendedID.
ID_POS - Static variable in class com.dalsemi.tininet.ppp.Protocol
Position of message identifier octet within message.
INITIAL - Static variable in class com.dalsemi.tininet.ppp.Protocol
Initial state constant.
intData - Variable in class com.dalsemi.tininet.ppp.ProtocolEvent
Interger event data.
interfaceNumber - Static variable in class com.dalsemi.tininet.ppp.Protocol
Native interface index for this instance
Ipcp - class com.dalsemi.tininet.ppp.Ipcp.
The Internet Protocol Control Protocol (IPCP).
IPCP_PROTOCOL_NUMBER - Static variable in class com.dalsemi.tininet.ppp.Ipcp
 
Ipcp() - Constructor for class com.dalsemi.tininet.ppp.Ipcp
 
issueCommand(String) - Method in class com.dalsemi.protocol.ftp.FTPClient
Sends a command to the FTP server and returns the success code reported by the FTP server.

L

Lcp - class com.dalsemi.tininet.ppp.Lcp.
This class implements the Link Control Ptotocol (LCP).
LCP_PROTOCOL_NUMBER - Static variable in class com.dalsemi.tininet.ppp.Lcp
LCP protocol number as defined in RFC 1661
Lcp() - Constructor for class com.dalsemi.tininet.ppp.Lcp
Default constructor
length - Variable in class com.dalsemi.comm.CanFrame
Length of data area.
LENGTH_LSB_POS - Static variable in class com.dalsemi.tininet.ppp.Protocol
Position of message length LSB within message.
LENGTH_MSB_POS - Static variable in class com.dalsemi.tininet.ppp.Protocol
Position of message length MSB within message.
list(String) - Method in class com.dalsemi.protocol.ftp.FTPClient
List the files in a directory pointed to by the path.

M

MAX_CLOCK_DELAY - Static variable in class com.dalsemi.comm.SPI
 
messageCenter - Variable in class com.dalsemi.comm.CanFrame
CAN Controller Message Center.
MIME_APP_OS - Static variable in class com.dalsemi.tininet.http.HTTPServer
MIME_APP_OS Content type
MIME_IMAGE_BMP - Static variable in class com.dalsemi.tininet.http.HTTPServer
MIME_IMAGE_BMP Content type there seem to be multiple mime types for this so we cannot make this final
MIME_IMAGE_GIF - Static variable in class com.dalsemi.tininet.http.HTTPServer
MIME_TEXT_PLAIN Content type
MIME_IMAGE_JPG - Static variable in class com.dalsemi.tininet.http.HTTPServer
MIME_TEXT_PLAIN Content type
MIME_TEXT_HTML - Static variable in class com.dalsemi.tininet.http.HTTPServer
MIME_TEXT_PLAIN Content type
MIME_TEXT_PLAIN - Static variable in class com.dalsemi.tininet.http.HTTPServer
MIME_TEXT_PLAIN Content type

N

newPacket(byte[]) - Method in class com.dalsemi.tininet.ppp.Protocol
Invoked when this protocol has a new packet.
newPacket(byte[]) - Method in class com.dalsemi.tininet.ppp.Ipcp
 
newPacket(byte[]) - Method in class com.dalsemi.tininet.ppp.Pap
 
newPacket(byte[]) - Method in class com.dalsemi.tininet.ppp.Chap
 
newPacket(byte[]) - Method in class com.dalsemi.tininet.ppp.Lcp
LCP packets enter here.
NONE - Static variable in class com.dalsemi.comm.CanBusException
 
NONE - Static variable in class com.dalsemi.tininet.ppp.PPPEvent
Error code NONE, no error.

O

OPEN_ALREADYOPEN - Static variable in class com.dalsemi.comm.CanBusException
 
open() - Method in class com.dalsemi.comm.CanBus
Opens this CAN Bus Controller.
open() - Method in class com.dalsemi.tininet.ppp.Ipcp
 
open() - Method in class com.dalsemi.tininet.ppp.Pap
 
open() - Method in class com.dalsemi.tininet.ppp.Chap
 
open() - Method in class com.dalsemi.tininet.ppp.PPP
Invoked to open PPP.
open() - Method in class com.dalsemi.tininet.ppp.Lcp
Open event The following methods present the state machine with an event that is not generated by receiving a packet or timeout.
opened - Variable in class com.dalsemi.tininet.ppp.Protocol
True if this protocol is opened
OPENED - Static variable in class com.dalsemi.tininet.ppp.Protocol
Opened state constant.
Option - class com.dalsemi.tininet.ppp.Option.
The LCP and IPCP protocols use an option format of Type|Length|Data.
OPTION_START_POS - Static variable in class com.dalsemi.tininet.ppp.Protocol
Start position of message options.
Option() - Constructor for class com.dalsemi.tininet.ppp.Option
Default constructor
Option(int, int, byte[]) - Constructor for class com.dalsemi.tininet.ppp.Option
Constructor
OPTIONS - Static variable in class com.dalsemi.tininet.http.HTTPServer
OPTIONS request

P

PACKET_OVERHEAD - Static variable in class com.dalsemi.tininet.ppp.Protocol
Number of overhead bytes in a packet.
packetID - Variable in class com.dalsemi.tininet.ppp.Protocol
Packet ID
Pap - class com.dalsemi.tininet.ppp.Pap.
The Password Authentication Protocol (PAP).
PAP_PROTOCOL_NUMBER - Static variable in class com.dalsemi.tininet.ppp.Pap
 
Pap() - Constructor for class com.dalsemi.tininet.ppp.Pap
 
passive - Variable in class com.dalsemi.tininet.ppp.Lcp
Contains current passive mode state.
passiveConnection() - Method in class com.dalsemi.protocol.ftp.FTPClient
Sets up a passive connection to the FTP server.
PASSWORD_FILE - Static variable in class com.dalsemi.tininet.ppp.Protocol
Password file name
password(String) - Method in class com.dalsemi.protocol.ftp.FTPClient
Sends a password to the FTP server.
PORT_DISABLED - Static variable in class com.dalsemi.comm.CanBusException
 
PORT_NOTOPENED - Static variable in class com.dalsemi.comm.CanBusException
 
port() - Method in class com.dalsemi.protocol.ftp.FTPClient
Sets up a connection to transfer a file by using the PORT command.
POST - Static variable in class com.dalsemi.tininet.http.HTTPServer
POST request
PostElement - class com.dalsemi.tininet.http.PostElement.
This is a utility class for handling the Field and Value pairs from the POST Content
PostElement() - Constructor for class com.dalsemi.tininet.http.PostElement
 
PostScript - interface com.dalsemi.tininet.http.PostScript.
This interface defines the required public methods for a HTTP POST handling script
PPP - class com.dalsemi.tininet.ppp.PPP.
This class implements the Point-to-Point Protocol (PPP), which provides IP packet transport over a serial link.
PPP() - Constructor for class com.dalsemi.tininet.ppp.PPP
Default constructor
PPPEvent - class com.dalsemi.tininet.ppp.PPPEvent.
When a PPP object is created it starts a deamon thread to listen for events originating from the native PPP module.
pppEvent(PPPEvent) - Method in interface com.dalsemi.tininet.ppp.PPPEventListener
PPP event listener interface
PPPEventListener - interface com.dalsemi.tininet.ppp.PPPEventListener.
PPP event listener interface
protocol - Variable in class com.dalsemi.tininet.ppp.ProtocolEvent
Protocol number of protocol that generated this event.
Protocol - class com.dalsemi.tininet.ppp.Protocol.
Base class used to implement PPP protocols.
PROTOCOL_LSB_POS - Static variable in class com.dalsemi.tininet.ppp.Protocol
Position of protocol number LSB within message.
PROTOCOL_MSB_POS - Static variable in class com.dalsemi.tininet.ppp.Protocol
Position of protocol number MSB within message.
Protocol() - Constructor for class com.dalsemi.tininet.ppp.Protocol
 
ProtocolEvent - class com.dalsemi.tininet.ppp.ProtocolEvent.
Protocol event class.
ProtocolEvent(int, int) - Constructor for class com.dalsemi.tininet.ppp.ProtocolEvent
Constructor
ProtocolEvent(int, int, int) - Constructor for class com.dalsemi.tininet.ppp.ProtocolEvent
Constructor
ProtocolEvent(int, int, int, String) - Constructor for class com.dalsemi.tininet.ppp.ProtocolEvent
Constructor
protocolNum - Variable in class com.dalsemi.tininet.ppp.Protocol
The protocol number
PUT - Static variable in class com.dalsemi.tininet.http.HTTPServer
PUT request

Q

queue - Static variable in class com.dalsemi.tininet.ppp.Protocol
Queue object
Queue - class com.dalsemi.tininet.ppp.Queue.
Event queue used by protocol classes to notify PPP of state changes.
Queue() - Constructor for class com.dalsemi.tininet.ppp.Queue
Default constructor.
queueAdd(int) - Method in class com.dalsemi.tininet.ppp.Protocol
Add an event to the queue.
queueAdd(int, int) - Method in class com.dalsemi.tininet.ppp.Protocol
Add an event to the queue.
queueAdd(int, String) - Method in class com.dalsemi.tininet.ppp.Protocol
Add an event to the queue.
QueueEvent(ProtocolEvent) - Method in class com.dalsemi.tininet.ppp.PPP
Queue event listener interface.
QueueEvent(ProtocolEvent) - Method in interface com.dalsemi.tininet.ppp.QueueEventListener
Queue event listener interface
QueueEventListener - interface com.dalsemi.tininet.ppp.QueueEventListener.
Queue event listener interface
quit() - Method in class com.dalsemi.protocol.ftp.FTPClient
Logs out of the FTP server, and closes the FTP session.

R

read(byte[], int, int) - Method in class com.dalsemi.system.I2CPort
Reads into the byte array from the current slave address
receive(CanFrame) - Method in class com.dalsemi.comm.CanBus
Receives a CAN data frame.
receiveFramesAvailable() - Method in class com.dalsemi.comm.CanBus
Gets number of frames in the receive queue.
receivePoll(CanFrame) - Method in class com.dalsemi.comm.CanBus
Receives a CAN data frame.
remoteFrameRequest - Variable in class com.dalsemi.comm.CanFrame
Remote Frame if true or Data Frame if false .
removeEventListener(PPPEventListener) - Method in class com.dalsemi.tininet.ppp.PPP
Removes a PPP event listener.
removeEventListener(QueueEventListener) - Method in class com.dalsemi.tininet.ppp.Queue
Remove the event listener
removeEventListener(TimerEventListener) - Method in class com.dalsemi.tininet.ppp.Timer
Remove an event listener.
removeInterface(String) - Method in class com.dalsemi.tininet.ppp.PPP
Removes the named PPP interface from the network interface table.
REQ_SENT - Static variable in class com.dalsemi.tininet.ppp.Protocol
Request sent state constant.
resetController() - Method in class com.dalsemi.comm.CanBus
Resets this CAN controller.
retr(String) - Method in class com.dalsemi.protocol.ftp.FTPClient
Issues a command to get a file from an FTP server.
run() - Method in class com.dalsemi.tininet.http.HTTPWorker
Entry point for this worker thread
run() - Method in class com.dalsemi.tininet.ppp.Queue
Thread run method
run() - Method in class com.dalsemi.tininet.ppp.Timer
Thread run method.
run() - Method in class com.dalsemi.tininet.ppp.PPP
Thread run method

S

SCLAddress - Variable in class com.dalsemi.system.I2CPort
Memory mapped address of the I2C clock line.
SCLMask - Variable in class com.dalsemi.system.I2CPort
Bit mask for clock line within byte at SCLAddress.
SDAAddress - Variable in class com.dalsemi.system.I2CPort
Memory mapped address of the I2C data line.
SDAMask - Variable in class com.dalsemi.system.I2CPort
Bit mask for data line within byte at SDAAddress.
sendDataFrame(int, boolean, byte[]) - Method in class com.dalsemi.comm.CanBus
Sends a CAN Data Frame from first available message center without using an explicit CanFrame.
sendFrame(CanFrame) - Method in class com.dalsemi.comm.CanBus
Sends a CAN frame from message center requested in CanFrame object.
sendPacket(byte[]) - Method in class com.dalsemi.tininet.ppp.Protocol
Send a packet.
sendRemoteFrameRequest(int, boolean, byte[]) - Method in class com.dalsemi.comm.CanBus
Sends a CAN Remote Frame Request from first available message center without using an explicit CanFrame.
serviceRequests() - Method in class com.dalsemi.tininet.http.HTTPServer
Checks for incoming client HTTP request and services supported requests that are detected.
serviceRequests(Object) - Method in class com.dalsemi.tininet.http.HTTPServer
Checks for incoming client HTTP request and services supported requests that are detected.
set11BitGlobalIDMask(int) - Method in class com.dalsemi.comm.CanBus
Sets the 11 Bit (STANDARD) Global ID Mask.
set11BitMessageCenter15IDMask(int) - Method in class com.dalsemi.comm.CanBus
Sets a 11 Bit Message Center 15 ID Mask.
set11BitMessageCenterArbitrationID(int, int) - Method in class com.dalsemi.comm.CanBus
Sets an 11 Bit Arbitration ID for a message center.
set29BitGlobalIDMask(int) - Method in class com.dalsemi.comm.CanBus
Sets the 29 Bit (EXTENDED) Global ID Mask.
set29BitMessageCenter15IDMask(int) - Method in class com.dalsemi.comm.CanBus
Sets a 29 Bit Message Center 15 ID Mask.
set29BitMessageCenterArbitrationID(int, int) - Method in class com.dalsemi.comm.CanBus
Sets a 29 Bit Arbitration ID for a message center.
setAddress(byte) - Method in class com.dalsemi.system.I2CPort
Sets the I2C slave address.
setAuthenticate(boolean, boolean) - Method in class com.dalsemi.tininet.ppp.PPP
Sets the remote peer authentication option.
setAuthenticate(boolean, boolean) - Method in class com.dalsemi.tininet.ppp.Lcp
Set true to authenticate remote peer
setBaudRatePrescaler(int) - Method in class com.dalsemi.comm.CanBus
Sets the baud rate prescaler from the CPU crystal.
setBitmapMimeType(String) - Static method in class com.dalsemi.tininet.http.HTTPServer
Allows user to change the mime type for bitmaps.
setBitOrder(boolean) - Method in class com.dalsemi.comm.SPI
Set the bit order that the SPI library will use during communication.
setBufferSize(int) - Method in class com.dalsemi.tininet.http.HTTPServer
This method is used to modify the size of the recive buffer.
setClockDelay(byte) - Method in class com.dalsemi.system.I2CPort
Sets how long to wait between I2C edge transitions.
setClockDelay(int) - Method in class com.dalsemi.comm.SPI
Specify the number of microseconds to delay between clock edges.
setData(byte[]) - Method in class com.dalsemi.comm.CanFrame
Sets the data for the outgoing frame.
setDefaultInterface(boolean) - Method in class com.dalsemi.tininet.ppp.PPP
Set new PPP netwrok interface to default interface.
setExtendedID(boolean) - Method in class com.dalsemi.comm.CanFrame
Sets the ID field type on a CAN Frame.
setHTTPRoot(String) - Method in class com.dalsemi.tininet.http.HTTPServer
Sets the http root.
setID(int) - Method in class com.dalsemi.comm.CanFrame
Sets the ID field on a CAN Frame.
setIndexPage(String) - Method in class com.dalsemi.tininet.http.HTTPServer
Sets the server's index page.
setLength(int) - Method in class com.dalsemi.comm.CanFrame
Sets the length for the data in the outgoing frame.
setLocalAccm(long) - Method in class com.dalsemi.tininet.ppp.PPP
The local ACCM will be the logical OR of this value ans the ACCM received from the remote peer.
setLocalAddress(byte[]) - Method in class com.dalsemi.tininet.ppp.Ipcp
 
setLocalAddress(byte[]) - Method in class com.dalsemi.tininet.ppp.PPP
Sets the local IP address for this interface.
setLogFilename(String) - Method in class com.dalsemi.tininet.http.HTTPServer
Sets the log file name.
setLogging(boolean) - Method in class com.dalsemi.tininet.http.HTTPServer
Sets the logging status.
setMediaIDArbitration(int) - Method in class com.dalsemi.comm.CanBus
Sets the global media ID arbitration value which matches bits in the first two bytes of the incoming frame data area.
setMediaIDMask(int) - Method in class com.dalsemi.comm.CanBus
Sets the global media ID mask which determines what bits to match in the first two bytes of the incoming frame data area.
setMessageCenter(int) - Method in class com.dalsemi.comm.CanFrame
Sets the message center from which to send this CAN Frame.
setMessageCenterMediaIDMaskEnable(int, boolean) - Method in class com.dalsemi.comm.CanBus
Enables or disables Media ID Masking for a specific message center.
setMessageCenterMessageIDMaskEnable(int, boolean) - Method in class com.dalsemi.comm.CanBus
Enables or disables Message ID Masking for a specific message center.
setMessageCenterRXMode(int) - Method in class com.dalsemi.comm.CanBus
Sets a specific message center as receiver.
setMessageCenterTXMode(int) - Method in class com.dalsemi.comm.CanBus
Sets a specific message center as transmitter.
setMessageCenterWriteOverEnable(int, boolean) - Method in class com.dalsemi.comm.CanBus
Sets the state of write over in a specific message center.
setPassive(boolean) - Method in class com.dalsemi.tininet.ppp.PPP
Sets passive mode option.
setPassword(String) - Method in class com.dalsemi.tininet.ppp.Pap
 
setPassword(String) - Method in class com.dalsemi.tininet.ppp.Chap
 
setPassword(String) - Method in class com.dalsemi.tininet.ppp.PPP
Sets the password sent to a remote peer during authentication.
setPhase(boolean) - Method in class com.dalsemi.comm.SPI
Select the Phase of the SCLK line.
setPolarity(boolean) - Method in class com.dalsemi.comm.SPI
Select the Polarity of the SCLK line.
setPortNumber(int) - Method in class com.dalsemi.tininet.http.HTTPServer
Sets the server's port number.
setReceiveQueueLimit(int) - Method in class com.dalsemi.comm.CanBus
Sets receive queue frame limit.
setRemoteAccm(long) - Method in class com.dalsemi.tininet.ppp.PPP
Sets the value of the Asynchronous Control Character Map (ACCM).
setRemoteAccm(long) - Method in class com.dalsemi.tininet.ppp.Lcp
 
setRemoteAddress(byte[]) - Method in class com.dalsemi.tininet.ppp.Ipcp
 
setRemoteAddress(byte[]) - Method in class com.dalsemi.tininet.ppp.PPP
Sets the IP address of the remote peer.
setRemoteFrameRequest(boolean) - Method in class com.dalsemi.comm.CanFrame
Sets the RTR bit in the frame to change this from a Data Frame to a Remote Frame.
setSampleRate(int) - Method in class com.dalsemi.comm.CanBus
Sets SMP (Sample Rate) which is whether to use one or three samples per bit time during CAN communication.
setSiestaMode() - Method in class com.dalsemi.comm.CanBus
Puts the CAN Controller in SIESTA (low power) mode.
setSlaveSelectInvert(boolean) - Method in class com.dalsemi.comm.SPI
Sets the Invert option for Slave Select
setStretchCycles(byte) - Method in class com.dalsemi.system.I2CPort
Sets the number of stretch memory cycles to use when accessing memory mapped IO.
setSynchronizationJumpWidth(int) - Method in class com.dalsemi.comm.CanBus
Sets the SJW (Synchronization Jump Width) necessary for adjusting TSEG1 and TSEG2 to compensate for sync problems during CAN communication.
setTransferSize(boolean) - Method in class com.dalsemi.comm.SPI
Sets the transfer size
setTransmitQueueLimit(int) - Method in class com.dalsemi.comm.CanBus
Sets transmit queue frame limit.
setTSEG1(int) - Method in class com.dalsemi.comm.CanBus
Sets TSEG1 (Timing Segment 1 = PROP_SEG + PHASE_SEG1) to a specified number of time quanta.
setTSEG2(int) - Method in class com.dalsemi.comm.CanBus
Sets TSEG2 (Timing Segment 2 = PHASE_SEG2) to a specified number of time quanta.
setUsername(String) - Method in class com.dalsemi.tininet.ppp.Pap
 
setUsername(String) - Method in class com.dalsemi.tininet.ppp.Chap
 
setUsername(String) - Method in class com.dalsemi.tininet.ppp.PPP
Sets the user name sent to a remote peer during authentication.
slaveAddress - Variable in class com.dalsemi.system.I2CPort
I2C address of slave.
SPI - class com.dalsemi.comm.SPI.
This class is a thin wrapper over a bit-bang SPI native library.
The bit-bang SPI port is implemented using pins ...
SPI() - Constructor for class com.dalsemi.comm.SPI
Construct an SPI object with default configuration state which includes: DEFAULT_CLOCK_DELAY Allow skew i.e.
SPI(int, boolean, boolean, boolean, boolean, boolean, boolean, boolean) - Constructor for class com.dalsemi.comm.SPI
Construct an SPI object with all configuration state specified.
STARTING - Static variable in class com.dalsemi.tininet.ppp.Protocol
Starting state constant.
STARTING - Static variable in class com.dalsemi.tininet.ppp.PPPEvent
Event STARTING, PPP has enetered the starting state.
startTimer(TimerEventListener) - Method in class com.dalsemi.tininet.ppp.Protocol
Start the timeout timer.
state - Variable in class com.dalsemi.tininet.ppp.Protocol
State of protocol FSM
STOPPED - Static variable in class com.dalsemi.tininet.ppp.Protocol
Stopped state constant.
STOPPING - Static variable in class com.dalsemi.tininet.ppp.Protocol
Stopped state constant.
stopTimer() - Method in class com.dalsemi.tininet.ppp.Timer
Stops timer thread.
stopTimer(TimerEventListener) - Method in class com.dalsemi.tininet.ppp.Protocol
Stop the timeout timer.
strData - Variable in class com.dalsemi.tininet.ppp.ProtocolEvent
String event data.
STRETCH0 - Static variable in class com.dalsemi.system.I2CPort
When in memory map mode, use to set the number of memory bus cycles to 2.
STRETCH1 - Static variable in class com.dalsemi.system.I2CPort
When in memory map mode, use to set the number of memory bus cycles to 3.
STRETCH10 - Static variable in class com.dalsemi.system.I2CPort
When in memory map mode, use to set the number of memory bus cycles to 12.
STRETCH2 - Static variable in class com.dalsemi.system.I2CPort
When in memory map mode, use to set the number of memory bus cycles to 4.
STRETCH3 - Static variable in class com.dalsemi.system.I2CPort
When in memory map mode, use to set the number of memory bus cycles to 5.
STRETCH7 - Static variable in class com.dalsemi.system.I2CPort
When in memory map mode, use to set the number of memory bus cycles to 9.
STRETCH8 - Static variable in class com.dalsemi.system.I2CPort
When in memory map mode, use to set the number of memory bus cycles to 10.
STRETCH9 - Static variable in class com.dalsemi.system.I2CPort
When in memory map mode, use to set the number of memory bus cycles to 11.
stretchCycles - Variable in class com.dalsemi.system.I2CPort
Number of stretch memory cycles to use when accessing memory mapped IO.

T

THIS_LAYER_DOWN - Static variable in class com.dalsemi.tininet.ppp.ProtocolEvent
Down event
THIS_LAYER_FINISHED - Static variable in class com.dalsemi.tininet.ppp.ProtocolEvent
Finished event
THIS_LAYER_STARTED - Static variable in class com.dalsemi.tininet.ppp.ProtocolEvent
Started event
THIS_LAYER_UP - Static variable in class com.dalsemi.tininet.ppp.ProtocolEvent
Up event
TIMEOUT_PROPERTY_STRING - Static variable in class com.dalsemi.protocol.ftp.FTPClient
System property String used to find a default socket timeout.
timeout() - Method in class com.dalsemi.tininet.ppp.Ipcp
 
timeout() - Method in class com.dalsemi.tininet.ppp.Pap
 
timeout() - Method in class com.dalsemi.tininet.ppp.Chap
 
timeout() - Method in interface com.dalsemi.tininet.ppp.TimerEventListener
Timer event listener interface
timeout() - Method in class com.dalsemi.tininet.ppp.Lcp
TimerEventListener interface
timeoutCount - Variable in class com.dalsemi.tininet.ppp.Protocol
Timeout count
timeoutCounter - Variable in class com.dalsemi.tininet.ppp.Protocol
Timeout counter
timeoutInterval - Variable in class com.dalsemi.tininet.ppp.Protocol
Timeout interval
timer - Static variable in class com.dalsemi.tininet.ppp.Protocol
Timer object
Timer - class com.dalsemi.tininet.ppp.Timer.
Timer class used by PPP protocols.
Timer() - Constructor for class com.dalsemi.tininet.ppp.Timer
Default constructor.
TimerEventListener - interface com.dalsemi.tininet.ppp.TimerEventListener.
Timer event listener interface
TRACE - Static variable in class com.dalsemi.tininet.http.HTTPServer
TRACE request
TRANSMIT_NO_ACK - Static variable in class com.dalsemi.comm.CanBusException
 
TYPE_FULL_REQUEST - Static variable in class com.dalsemi.tininet.http.HTTPServer
Standard type TYPE_FULL_REQUEST
TYPE_FULL_RESPONSE - Static variable in class com.dalsemi.tininet.http.HTTPServer
Standard type TYPE_FULL_RESPONSE
TYPE_SIMPLE_REQUEST - Static variable in class com.dalsemi.tininet.http.HTTPServer
Standard type TYPE_SIMPLE_REQUEST

U

unknownProtocol(byte[]) - Method in class com.dalsemi.tininet.ppp.Lcp
This is to avoid complicating the packet type selector
UNSUPPORTED - Static variable in class com.dalsemi.tininet.http.HTTPServer
Request unsupported
UP - Static variable in class com.dalsemi.tininet.ppp.PPPEvent
Event UP, PPP has entered the up state.
up() - Method in class com.dalsemi.tininet.ppp.Ipcp
 
up() - Method in class com.dalsemi.tininet.ppp.Lcp
Up event
up(int) - Method in class com.dalsemi.tininet.ppp.Pap
 
up(int) - Method in class com.dalsemi.tininet.ppp.Chap
 
up(PPPDevice) - Method in class com.dalsemi.tininet.ppp.PPP
Invoked when serial channel is ready for PPP traffic.
up(SerialPort) - Method in class com.dalsemi.tininet.ppp.PPP
Invoked when serial channel is ready for PPP traffic.
userName(String) - Method in class com.dalsemi.protocol.ftp.FTPClient
Sends a user name to login to an FTP server.

V

value - Variable in class com.dalsemi.tininet.http.PostElement
The Data of the Field from the POST Content

W

write(byte[], int, int) - Method in class com.dalsemi.system.I2CPort
Writes the byte array to the current slave address
writeread(byte[], int, int, byte[], int, int) - Method in class com.dalsemi.system.I2CPort
Writes and then reads from/into the byte arrays from the current slave address

X

xmit(byte[], int, int) - Method in class com.dalsemi.comm.SPI
Write len bytes of data to MOSI.

A B C D E F G H I L M N O P Q R S T U V W X

Also see:
o TINI 1.16 API
o TINI Home Page
o 1-Wire API

o JDK 1.1

Last update Wed Jun 8 17:19:36 CDT 2005