SunSPOT API V2.0


SunSPOT API V2.0

This document is the API specification for the initial release of the Sun SPOT Libraries.

See:
          Description

SPOT and Sensorboard libraries
com.sun.spot.interisolate Generic support for RPC mechanisms between isolates.
com.sun.spot.networktools  
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.driver.proxy Allows child isolates access to the driver registry maintained in the master isolate.
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  
com.sun.spot.peripheral.radio.mhrp.aodv  
com.sun.spot.peripheral.radio.mhrp.aodv.messages  
com.sun.spot.peripheral.radio.mhrp.aodv.request  
com.sun.spot.peripheral.radio.mhrp.aodv.routing  
com.sun.spot.peripheral.radio.mhrp.interfaces  
com.sun.spot.peripheral.radio.policy.proxy  
com.sun.spot.peripheral.radio.proxy Allows child isolates access to the radio controlled by the master isolate.
com.sun.spot.peripheral.test Support for system testing: not intended for user use.
com.sun.spot.resourcesharing  
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.protocol Collection of some simple classes that define external protocols that can be attached to SunSPOT daughtercards.
com.sun.spot.sensorboard.util Collection of utility classes to deal with the SunSPOT sensorboards.
com.sun.spot.service  
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.memory Support for the "memory" GCF protocol.
com.sun.spot.io.j2me.radio  
com.sun.spot.io.j2me.radiogram  
com.sun.spot.io.j2me.radiostream  
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.squawk.io.j2me.memory The memory protocol supports direct read-only access to the Sun SPOT's RAM.
com.sun.squawk.io.j2me.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 radio 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.socket The socket protocol supports read/write access to an arbitrary socket on a host computer.

 

Squawk Java ME library
com.sun.squawk  
com.sun.squawk.flash  
com.sun.squawk.imp  
com.sun.squawk.io  
com.sun.squawk.io.mailboxes  
com.sun.squawk.peripheral  
com.sun.squawk.security  
com.sun.squawk.security.verifier  
com.sun.squawk.util  
com.sun.squawk.vm  
java.io  
java.lang  
java.lang.ref  
java.util  
javax.microedition.io  
javax.microedition.midlet  
javax.microedition.rms  

 

This document is the API specification for the initial release of 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 V2.0


Copyright © 2007 Sun Microsystems, Inc. All Rights Reserved.