|
SunSPOT API V6.0 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
See:
Description
| SPOT and Sensorboard libraries | |
|---|---|
| com.sun.spot.dmamemory | Support for allocating memory for DMA buffers. |
| com.sun.spot.flashmanagement | Low level access to chunks of flash memory. |
| com.sun.spot.globals | Provides support for cross-isolate global data used by the SPOT library. |
| com.sun.spot.imp | |
| com.sun.spot.interisolate | Generic support for RPC mechanisms between isolates. |
| com.sun.spot.ipv6 | An implementation of an IPv6 protocol stack. |
| com.sun.spot.ipv6.icmp | An implementation of basic Internet Control Message Protocol (ICMP) functionality for IPv6. |
| com.sun.spot.ipv6.routing | An implementation of a routing table for an IPv6 network |
| com.sun.spot.ipv6.tcp | An implementation of the Transmission Control Protocol (TCP) for IPv6 |
| com.sun.spot.ipv6.udp | An implementation of the Unreliable Datagram Protocol (UDP) for IPv6 |
| com.sun.spot.ipv6.util | A library of routines that are useful in manipulating packets in the IP stack. |
| com.sun.spot.networktools | Tools that answer network queries for information about the SPOT network stack |
| com.sun.spot.peripheral | Access to the hardware peripherals built in to the Sun SPOT main board. |
| com.sun.spot.peripheral.basestation | Code to allow the Sun SPOT to function as a base station. |
| com.sun.spot.peripheral.external | Generic support for external boards. |
| com.sun.spot.peripheral.handler | Handlers for control button events. |
| com.sun.spot.peripheral.ota | Support for managing remote Sun SPOTs using ant scripts. |
| com.sun.spot.peripheral.radio | Support for using the Sun SPOT's radio. |
| com.sun.spot.peripheral.radio.mhrp.aodv | An mesh routing package based on the AODV protocol. |
| com.sun.spot.peripheral.radio.mhrp.aodv.messages | Message formats used by the AODV implementation |
| com.sun.spot.peripheral.radio.mhrp.aodv.request | Request table used by the AODV based mesh routing package |
| com.sun.spot.peripheral.radio.mhrp.aodv.routing | Routing table used by the AODV based mesh routing package |
| com.sun.spot.peripheral.radio.mhrp.interfaces | Interfaces that should be implemented by Listeners of mesh routing events. |
| com.sun.spot.peripheral.radio.mhrp.lqrp | An mesh routing package based on the AODV protocol. |
| com.sun.spot.peripheral.radio.mhrp.lqrp.linkParams | |
| com.sun.spot.peripheral.radio.mhrp.lqrp.messages | Message formats used by the LQRP routing implementation |
| com.sun.spot.peripheral.radio.mhrp.lqrp.request | Request table used by the LQRP based mesh routing package |
| com.sun.spot.peripheral.radio.mhrp.lqrp.routing | Routing table used by the AODV based mesh routing package |
| com.sun.spot.peripheral.radio.proxy | Allows child isolates access to the radio controlled by the master isolate. |
| com.sun.spot.peripheral.radio.routing | Interfaces implemented by all routing protocols. |
| com.sun.spot.peripheral.radio.routing.interfaces | Interfaces that should be implemented by a routing protocol manager. |
| com.sun.spot.peripheral.radio.shrp | Support for a Single Hop based routing protocol. |
| com.sun.spot.peripheral.test | Support for system testing: not intended for user use. |
| com.sun.spot.resources | The new resource sharing framework to support writing device drivers and other system resources that can be used by MIDlets running in separate Isolates. |
| com.sun.spot.resources.transducers | The new Sensor API. |
| com.sun.spot.resourcesharing | The old resource sharing framework to support people writing device drivers. |
| com.sun.spot.sensorboard | Contains highest level interfaces and concrete classes that make up the SunSPOT sensorboard libraries. |
| com.sun.spot.sensorboard.capabilities | Interfaces that define how a sensorboard should implement a particular type of controller. |
| com.sun.spot.sensorboard.hardware | Interfaces and concrete classes that embody various pieces of hardware that are built into the SunSPOT sensorboards. |
| com.sun.spot.sensorboard.io | Interfaces and concrete implmentations of classes to enable simple low-level i/o to and from the SunSPOT sensorboards. |
| com.sun.spot.sensorboard.peripheral | Interfaces and concrete implementations of various peripherals that are either connected to or built into the daughter cards. |
| com.sun.spot.sensorboard.service | |
| com.sun.spot.service | IService provides a general interface to allow running services to be controlled. |
| com.sun.spot.testFramework | Provides a limited equivalent to jUnit for use on Sun SPOTs. |
| com.sun.spot.util | Utility classes. |
| junit.framework | Support classes for the test framework. |
| SPOT Generic Connection Framework | |
|---|---|
| com.sun.spot.io.j2me.datagram | |
| com.sun.spot.io.j2me.memory | Support for the "memory" GCF protocol. |
| com.sun.spot.io.j2me.radio | Support for the 'radio' GCF protocol. |
| com.sun.spot.io.j2me.radiogram | Support for the 'radiogram' GCF protocol. |
| com.sun.spot.io.j2me.radiostream | Support for the 'radiostream' GCF Protocol. |
| com.sun.spot.io.j2me.remoteprinting | Provides the auxiliary classes used by remote printing. |
| com.sun.spot.io.j2me.socket | Support for the "socket" GCF protocol. |
| com.sun.spot.io.j2me.tcp | Support for the 'tcp' GCF Protocol. |
| com.sun.spot.io.j2me.udp | Support for the 'udp' GCF protocol. |
| com.sun.squawk.io.j2me.edemoserial | The serial protocol supports read/write access to the usart module on the Atmega88 for spot applications. |
| com.sun.squawk.io.j2me.memory | The memory protocol supports direct read-only access to the Sun SPOT's RAM. |
| com.sun.squawk.io.j2me.multicastoutput | |
| com.sun.squawk.io.j2me.radio | The radio protocol supports streaming between two Sun SPOTs via the radio. |
| com.sun.squawk.io.j2me.radiogram | The radiogram protocol supports datagram communication between two Sun SPOTs via the radio. |
| com.sun.squawk.io.j2me.radiostream | The radiostream protocol supports streaming between two Sun SPOTs via the radio. |
| com.sun.squawk.io.j2me.remoteprint | Provides the Protocol class to implement a "remoteprint:" connection using the J2ME Generic Connection Framework (GCF). |
| com.sun.squawk.io.j2me.serial | The serial protocol supports read/write access to the USB channel to host applications. |
| com.sun.squawk.io.j2me.serversocket | |
| com.sun.squawk.io.j2me.socket | The socket protocol supports read/write access to an arbitrary socket on a host computer. |
| com.sun.squawk.io.j2me.tcp | The tcp protocol supports streaming between two Sun SPOTs using the TCP protocol. |
| com.sun.squawk.io.j2me.udp | The udp protocol supports datagram communication between two Sun SPOTs using UDP format datagrams. |
| Squawk Java ME library | |
|---|---|
| com.sun.squawk | Provides classes for low level interactions with the Squawk VM. |
| com.sun.squawk.flash | |
| com.sun.squawk.imp | Provides classes for low level interactions with the Squawk implementation of IMP. |
| com.sun.squawk.io | Provides classes from MIDP or unsupportable optional JSRs that are usually in javax.microedition.io, but are not legally in IMP. |
| com.sun.squawk.io.mailboxes | Provides classes for inter-Isolate communication. |
| com.sun.squawk.peripheral | |
| com.sun.squawk.pragma | |
| com.sun.squawk.realtime | Provides classes for native memory access based on the javax.realtime package. |
| com.sun.squawk.security | Provides classes for basic signing of binary data. |
| com.sun.squawk.security.verifier | Provides classes for basic signing of binary data. |
| com.sun.squawk.util | Provides classes for basic utilities sometimes found in JSE (LineReader, unsynchronized Vectors, Math utilities, etc.) |
| com.sun.squawk.vm | Provides classes for basic Squawk VM structures. |
| java.io | Provides classes for input and output through data streams. |
| java.lang | MID Profile Language Classes included from Java 2 Standard Edition. |
| java.lang.ref | Provides support for weak references. |
| java.util | Contains the collection classes, and the date and time facilities. |
| javax.microedition.io | Classes for the Generic Connection framework. |
| javax.microedition.midlet | The MIDlet package defines Mobile Information Device Profile applications and the interactions between the application and the environment in which the application runs. |
| javax.microedition.rms | The Mobile Information Device Profile provides a mechanism for MIDlets to persistently store data and later retrieve it. |
| Other Packages | |
|---|---|
| com.sun.cldc.i18n | |
| com.sun.cldc.io | Provides base class for all connections. |
| com.sun.cldc.jna | The CLDC/JNA package contains classes that help import native data structures and functions from Java code without writing C code. |
| com.sun.cldc.jna.ptr | Provides various kinds of Pointer classes for JNA. |
| com.sun.midp.io | |
| com.sun.midp.io.j2me.multicast | |
| com.sun.midp.midlet | |
This document is the API specification for the Sun SPOT Libraries.
Sun SPOTs are small, wireless, Java-based devices being developed as a research effort at Sun Labs. They are programmed in Java using the APIs described here.
Sun SPOT devices are based on the CLDC-compliant Squawk VM running directly on the metal. The goal of this project is to produce a flexible, reliable, easy-to-use Java platform for development, prototyping and deployment to small, wireless devices.
These libraries are a work-in-progress. While every attempt will be made to preserve compatibility, future releases will most likely not be backwards compatible.
|
SunSPOT API V6.0 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||