SunSPOT API V2.0

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

A

A0 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Analog to Digital convertor input pin, matches silkscreening on the hardware
A1 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Analog to Digital convertor input pin, matches silkscreening on the hardware
A2 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Analog to Digital convertor input pin, matches silkscreening on the hardware
A3 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Analog to Digital convertor input pin, matches silkscreening on the hardware
A4 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Analog to Digital convertor input pin, matches silkscreening on the hardware
A5 - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Analog to Digital convertor input pin, matches silkscreening on the hardware
A_EXTENDED_ADDRESS - Static variable in interface com.sun.spot.peripheral.radio.I802_15_4_MAC
Key for I802_15_4_MAC.mlmeSet(int, long) to control the 64-bit IEEE address for this MAC layer.
ABORT_REQUEST - Static variable in interface com.sun.spot.peripheral.ota.ISpotClientConstants
 
abs(double) - Static method in class java.lang.Math
Returns the absolute value of a double value.
abs(float) - Static method in class java.lang.Math
Returns the absolute value of a float value.
abs(int) - Static method in class java.lang.Math
Returns the absolute value of an int value.
abs(long) - Static method in class java.lang.Math
Returns the absolute value of a long value.
AbstractADT7411RangeInput - Class in com.sun.spot.sensorboard.hardware
Abstract class providing a basis for sub-classes accessing the ADT7411 a-to-d converter
AbstractADT7411RangeInput(IADT7411) - Constructor for class com.sun.spot.sensorboard.hardware.AbstractADT7411RangeInput
 
ACBG - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
ACCEL_FULLSCALE - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Internal pin used to operate the accelerometer.
ACCEL_SELFTEST - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Internal pin used to operate the accelerometer.
ACCEL_X - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Descriptor for X Axis accelerometer reading , this is an internal connection.
ACCEL_Y - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Descriptor for Y Axis accelerometer reading , this is an internal connection.
ACCEL_Z - Static variable in class com.sun.spot.sensorboard.EDemoBoard
Descriptor for Z Axis accelerometer reading , this is an internal connection.
ACCELEROMETER_GAINS_PROPERTY - Static variable in class com.sun.spot.sensorboard.peripheral.LIS3L02AQAccelerometer
Name of the property holding the calibrated gains for this accelerometer
ACCELEROMETER_REST_OFFSETS_PROPERTY - Static variable in class com.sun.spot.sensorboard.peripheral.LIS3L02AQAccelerometer
Name of the property holding the measured rest offsets for this accelerometer
ACCELEROMETER_ZERO_OFFSETS_PROPERTY - Static variable in class com.sun.spot.sensorboard.peripheral.LIS3L02AQAccelerometer
Name of the property holding the calibrated zero offsets for this accelerometer
accept() - Method in class com.sun.squawk.io.mailboxes.ServerChannel
Wait for a client to open a connection, then create an anonymous local mailbox to use or further communication.
acceptAndOpen() - Method in interface javax.microedition.io.StreamConnectionNotifier
Returns a StreamConnection that represents a server side socket connection.
ACCEPTCONNECTION - Static variable in class com.sun.squawk.vm.ChannelConstants
 
ACD - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
ACI - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
ACIC - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
ACIE - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
ACIS0 - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
ACIS1 - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
ackRequest() - Method in class com.sun.spot.peripheral.radio.RadioPacket
Check whether this packet wants an acknowledgement
ACO - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
acos(double) - Static method in class com.sun.squawk.util.MathUtils
Returns the arc cosine of an angle, in the range of 0 through pi.
ACTION_ECHO - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTION_ECHO_BROADCAST - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTION_ECHO_HDR - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTION_EXIT - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTION_LOG - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTION_LOG_DETAIL - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTION_LOG_STATS - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTION_RESET_STATS - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTION_SET_POWER - Static variable in interface com.sun.spot.peripheral.test.RadioTestPacketBits
 
ACTIVE_ROUTE_TIMEOUT - Static variable in class com.sun.spot.peripheral.radio.mhrp.aodv.Constants
 
activeCount() - Static method in class java.lang.Thread
Returns the current number of active threads in the VM.
activityFlag - Variable in class com.sun.spot.peripheral.radio.mhrp.aodv.routing.RoutingEntry
 
add(IDriver) - Method in class com.sun.spot.peripheral.driver.proxy.ProxyDriverRegistry
 
add(IDriver) - Method in class com.sun.spot.peripheral.DriverRegistry
Add a driver to the registry.
add(IDriver) - Method in interface com.sun.spot.peripheral.IDriverRegistry
Add a driver to the registry.
add(int) - Method in class com.sun.squawk.Address
Adds a 32 bit offset to this address and return the resulting address.
add(String, OutputStream) - Method in class com.sun.squawk.io.MulticastOutputStream
Adds a given output stream to those contained by this multicaster.
add(int) - Method in class com.sun.squawk.Offset
Adds a value to this offset and return the resulting offset.
add(IPeripheral) - Method in class com.sun.squawk.peripheral.PeripheralRegistry
 
addBroadcastConnection(byte) - Method in interface com.sun.spot.peripheral.radio.IRadiogramProtocolManager
Register a broadcast connection
addBroadcastConnection(byte) - Method in class com.sun.spot.peripheral.radio.proxy.ProxyRadiogramProtocolManager
 
addBroadcastConnection(byte) - Method in class com.sun.spot.peripheral.radio.proxy.ProxyRadiostreamProtocolManager
 
addBroadcastConnection(byte) - Method in class com.sun.spot.peripheral.radio.RadiogramProtocolManager
 
addConnection(boolean, ConnectionID) - Method in class com.sun.spot.peripheral.radio.RadioProtocolManager
 
addElement(Object) - Method in class java.util.Vector
Adds the specified component to the end of this vector, increasing its size by one.
addErr(String) - Method in class com.sun.squawk.Isolate
Adds a new connection to which System.err will send its output.
addErrors(String) - Method in class com.sun.spot.testFramework.SystemOutTestResultLog
 
addFailures(String) - Method in class com.sun.spot.testFramework.SystemOutTestResultLog
 
addInputConnection(long, byte) - Method in interface com.sun.spot.peripheral.radio.IRadioProtocolManager
Register a point-to-point connection on which packets can be received
addInputConnection(long, byte) - Method in class com.sun.spot.peripheral.radio.proxy.ProxyRadioProtocolManager
 
addInputConnection(long, byte) - Method in class com.sun.spot.peripheral.radio.RadioProtocolManager
 
addLast(INorFlashSectorState) - Method in interface com.sun.squawk.flash.INorFlashSectorStateList
 
addLast(INorFlashSectorState) - Method in class com.sun.squawk.flash.NorFlashSectorStateList
 
addListener(IOTACommandServerListener) - Method in class com.sun.spot.peripheral.ota.OTACommandServer
Attach a listener to be notified of the start and stop of flash operations.
addOffset(Offset) - Method in class com.sun.squawk.Address
Adds a 32 or 64 bit offset to this address and return the resulting address.
addOut(String) - Method in class com.sun.squawk.Isolate
Adds a new connection to which System.out will send its output.
addOutputConnection(long, byte) - Method in interface com.sun.spot.peripheral.radio.IRadioProtocolManager
Register a point-to-point connection on which packets can be sent
addOutputConnection(long, byte) - Method in class com.sun.spot.peripheral.radio.proxy.ProxyRadioProtocolManager
 
addOutputConnection(long, byte) - Method in class com.sun.spot.peripheral.radio.RadioProtocolManager
 
addRecord(byte[], int, int) - Method in class javax.microedition.rms.RecordStore
Adds a new record to the record store.
addRecordListener(RecordListener) - Method in class javax.microedition.rms.RecordStore
Adds the specified RecordListener.
Address - Class in com.sun.squawk
The Address class is used to abstract machine addresses.
address - Variable in class com.sun.squawk.flash.MemoryHeapBlock
 
AddressClosedException - Exception in com.sun.squawk.io.mailboxes
This exception is thrown when trying to send to a closed MailboxAddress, or when reading from a Mailbox, and the MailBoxHandler is managing a private address that has closed.
AddressClosedException(MailboxAddress) - Constructor for exception com.sun.squawk.io.mailboxes.AddressClosedException
Creates a new instance of AddressClosedException
addressPadding(int, int) - Static method in class com.sun.spot.util.Utils
 
addRoute(long, long, int, int, int) - Method in class com.sun.spot.peripheral.radio.mhrp.aodv.routing.RoutingTable
Create a new route entry using the parameters, then call doTableAddition()
addRoute(long, RREQ) - Method in class com.sun.spot.peripheral.radio.mhrp.aodv.routing.RoutingTable
Create a new route entry based on a received route request, then call doTableAddition()
addRoute(long, RREP) - Method in class com.sun.spot.peripheral.radio.mhrp.aodv.routing.RoutingTable
Create a new route entry based on a received route reply, then call doTableAddition()
addRREQ(RREQ, RouteEventClient, Object) - Method in class com.sun.spot.peripheral.radio.mhrp.aodv.request.RequestTable
add a route request to the request table
addServerConnection(byte) - Method in interface com.sun.spot.peripheral.radio.IRadiogramProtocolManager
Register a server connection
addServerConnection(byte) - Method in class com.sun.spot.peripheral.radio.proxy.ProxyRadiogramProtocolManager
 
addServerConnection(byte) - Method in class com.sun.spot.peripheral.radio.proxy.ProxyRadiostreamProtocolManager
 
addServerConnection(byte) - Method in class com.sun.spot.peripheral.radio.RadiogramProtocolManager
 
adjustLock(IResourceHandle, ResourceSharingScheme) - Method in interface com.sun.spot.resourcesharing.IResourceRegistry
Attempt to change the ResourceSharingScheme associated with the handle.
adjustLock(int, String, ResourceSharingScheme, ResourceSharingScheme) - Method in class com.sun.spot.resourcesharing.ProxyResourceRegistryMaster
 
adjustLock(IResourceHandle, ResourceSharingScheme) - Method in class com.sun.spot.resourcesharing.ResourceRegistryChild
 
adjustLock(int, String, ResourceSharingScheme, ResourceSharingScheme) - Method in class com.sun.spot.resourcesharing.ResourceRegistryMaster
 
AdjustLockCommand - Class in com.sun.spot.resourcesharing
 
AdjustLockCommand(int, String, ResourceSharingScheme, ResourceSharingScheme) - Constructor for class com.sun.spot.resourcesharing.AdjustLockCommand
 
adt7411 - Variable in class com.sun.spot.sensorboard.hardware.AbstractADT7411RangeInput
 
ADT7411 - Class in com.sun.spot.sensorboard.hardware
Class implementing SPI access to the ADT7411 a-to-d converter.
ADT7411(ISPI) - Constructor for class com.sun.spot.sensorboard.hardware.ADT7411
Constructor that initialises the device
ADT7411InternalTemperatureInput - Class in com.sun.spot.sensorboard.hardware
Sub-class of AbstractADT7411RangeInput that accesses the ADT7411 temperature sensor.
ADT7411InternalTemperatureInput(IADT7411) - Constructor for class com.sun.spot.sensorboard.hardware.ADT7411InternalTemperatureInput
Constructor; stores addressing values
ADT7411RangeInput - Class in com.sun.spot.sensorboard.hardware
Sub-class of AbstractADT7411RangeInput that provides access to the a-to-d channels of the ADT7411 that are used for the accelerometer, the light sensor and the battery voltage sensor.
ADT7411RangeInput(IADT7411, int) - Constructor for class com.sun.spot.sensorboard.hardware.ADT7411RangeInput
Constructor; stores addressing values for the adt7411 and the pin number that defines the a-to-d channel to be used
after(Object) - Method in class java.util.Calendar
Compares the time field records.
AIC_IRQ_PRI_NORMAL - Static variable in interface com.sun.spot.peripheral.IAT91_AIC
Normal priority value (pri=4)
ALARM_EVENT - Static variable in interface com.sun.spot.peripheral.IPowerController
 
allocateAndWriteBlock(byte[], int, int, INorFlashMemoryHeapScanner) - Method in interface com.sun.squawk.flash.INorFlashMemoryHeap
 
allocateAndWriteBlock(byte[], int, int, INorFlashMemoryHeapScanner) - Method in class com.sun.squawk.flash.NorFlashMemoryHeap
 
ALLOWED_HELLO_LOSS - Static variable in class com.sun.spot.peripheral.radio.mhrp.aodv.Constants
 
allowUserGC(boolean) - Static method in class com.sun.squawk.VM
Enable or disable Runtime.gc()
AM - Static variable in class java.util.Calendar
Value of the AM_PM field indicating the period of the day from midnight to just before noon.
AM_PM - Static variable in class java.util.Calendar
Field number for get and set indicating whether the HOUR is before or after noon.
and(UWord) - Method in class com.sun.squawk.Address
Logically AND a word with this address.
and(UWord) - Method in class com.sun.squawk.UWord
Logically AND a word with this word.
andRegister(int, int) - Method in class com.sun.spot.sensorboard.EDemoBoard
Perform an AND assignment to one of the registers in the Atmega88 controller.
AODV_PROTOCOL_NUMBER - Static variable in class com.sun.spot.peripheral.radio.mhrp.aodv.Constants
 
AODVManager - Class in com.sun.spot.peripheral.radio.mhrp.aodv
 
AODVMessage - Class in com.sun.spot.peripheral.radio.mhrp.aodv.messages
 
AODVMessage() - Constructor for class com.sun.spot.peripheral.radio.mhrp.aodv.messages.AODVMessage
 
APP_SLOT_0_ADDRESS - Static variable in class com.sun.spot.peripheral.ConfigPage
 
APP_SLOT_1_ADDRESS - Static variable in class com.sun.spot.peripheral.ConfigPage
 
append(char) - Method in class java.lang.StringBuffer
Appends the string representation of the char argument to this string buffer.
append(double) - Method in class java.lang.StringBuffer
Appends a double to the end of this buffer.
append(float) - Method in class java.lang.StringBuffer
Appends a float to the end of this buffer.
append(int) - Method in class java.lang.StringBuffer
Appends the string representation of the int argument to this string buffer.
append(long) - Method in class java.lang.StringBuffer
Appends the string representation of the long argument to this string buffer.
append(Object) - Method in class java.lang.StringBuffer
Appends the string representation of the Object argument to this string buffer.
append(String) - Method in class java.lang.StringBuffer
Appends the string to this string buffer.
append(boolean) - Method in class java.lang.StringBuffer
Appends the string representation of the boolean argument to the string buffer.
append(char[]) - Method in class java.lang.StringBuffer
Appends the string representation of the char array argument to this string buffer.
append(char[], int, int) - Method in class java.lang.StringBuffer
Appends the string representation of a subarray of the char array argument to this string buffer.
APRIL - Static variable in class java.util.Calendar
Value of the MONTH field indicating the fourth month of the year.
areAlmostEqual(long, long, long) - Method in class com.sun.spot.testFramework.TestBase
 
ArithmeticException - Exception in java.lang
Thrown when an exceptional arithmetic condition has occurred.
ArithmeticException() - Constructor for exception java.lang.ArithmeticException
Constructs an ArithmeticException with no detail message.
ArithmeticException(String) - Constructor for exception java.lang.ArithmeticException
Constructs an ArithmeticException with the specified detail message.
arraycopy(Object, int, Object, int, int) - Static method in class java.lang.System
Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array.
ArrayIndexOutOfBoundsException - Exception in java.lang
Thrown to indicate that an array has been accessed with an illegal index.
ArrayIndexOutOfBoundsException() - Constructor for exception java.lang.ArrayIndexOutOfBoundsException
Constructs an ArrayIndexOutOfBoundsException with no detail message.
ArrayIndexOutOfBoundsException(int) - Constructor for exception java.lang.ArrayIndexOutOfBoundsException
Constructs a new ArrayIndexOutOfBoundsException class with an argument indicating the illegal index.
ArrayIndexOutOfBoundsException(String) - Constructor for exception java.lang.ArrayIndexOutOfBoundsException
Constructs an ArrayIndexOutOfBoundsException class with the specified detail message.
Arrays - Class in com.sun.squawk.util
This class contains various methods for manipulating arrays (such as sorting and searching).
ArrayStoreException - Exception in java.lang
Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
ArrayStoreException() - Constructor for exception java.lang.ArrayStoreException
Constructs an ArrayStoreException with no detail message.
ArrayStoreException(String) - Constructor for exception java.lang.ArrayStoreException
Constructs an ArrayStoreException with the specified detail message.
as6BitNumber(int) - Static method in class com.sun.spot.util.Utils
 
asByteArray() - Method in class com.sun.spot.peripheral.ConfigPage
Create a byte[] representation of the config page
asDottedHex() - Method in class com.sun.spot.util.IEEEAddress
Generate a dotted hex string from an IEEE address
asin(double) - Static method in class com.sun.squawk.util.MathUtils
Returns the arc sine of an angle, in the range of -pi/2 through pi/2.
asLong() - Method in class com.sun.spot.util.IEEEAddress
 
Assert - Class in junit.framework
A set of assert methods.
Assert() - Constructor for class junit.framework.Assert
Protect constructor since it is a static only class
assertAlmostEqual(String, long, long, long) - Method in class com.sun.spot.testFramework.TestBase
 
assertEquals(String, Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects are equal.
assertEquals(Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects are equal.
assertEquals(String, String, String) - Static method in class junit.framework.Assert
Asserts that two Strings are equal.
assertEquals(String, String) - Static method in class junit.framework.Assert
Asserts that two Strings are equal.
assertEquals(String, long, long) - Static method in class junit.framework.Assert
Asserts that two longs are equal.
assertEquals(long, long) - Static method in class junit.framework.Assert
Asserts that two longs are equal.
assertEquals(String, boolean, boolean) - Static method in class junit.framework.Assert
Asserts that two booleans are equal.
assertEquals(boolean, boolean) - Static method in class junit.framework.Assert
Asserts that two booleans are equal.
assertEquals(String, byte, byte) - Static method in class junit.framework.Assert
Asserts that two bytes are equal.
assertEquals(byte, byte) - Static method in class junit.framework.Assert
Asserts that two bytes are equal.
assertEquals(String, char, char) - Static method in class junit.framework.Assert
Asserts that two chars are equal.
assertEquals(char, char) - Static method in class junit.framework.Assert
Asserts that two chars are equal.
assertEquals(String, short, short) - Static method in class junit.framework.Assert
Asserts that two shorts are equal.
assertEquals(short, short) - Static method in class junit.framework.Assert
Asserts that two shorts are equal.
assertEquals(String, int, int) - Static method in class junit.framework.Assert
Asserts that two ints are equal.
assertEquals(int, int) - Static method in class junit.framework.Assert
Asserts that two ints are equal.
assertFalse(String, boolean) - Static method in class junit.framework.Assert
Asserts that a condition is false.
assertFalse(boolean) - Static method in class junit.framework.Assert
Asserts that a condition is false.
AssertionFailedError - Error in junit.framework
Thrown when an assertion failed.
AssertionFailedError() - Constructor for error junit.framework.AssertionFailedError
 
AssertionFailedError(String) - Constructor for error junit.framework.AssertionFailedError
 
assertNotNull(Object) - Static method in class junit.framework.Assert
Asserts that an object isn't null.
assertNotNull(String, Object) - Static method in class junit.framework.Assert
Asserts that an object isn't null.
assertNotSame(String, Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects refer to the same object.
assertNotSame(Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects refer to the same object.
assertNull(Object) - Static method in class junit.framework.Assert
Asserts that an object is null.
assertNull(String, Object) - Static method in class junit.framework.Assert
Asserts that an object is null.
assertSame(String, Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects refer to the same object.
assertSame(Object, Object) - Static method in class junit.framework.Assert
Asserts that two objects refer to the same object.
assertTrue(String, boolean) - Static method in class junit.framework.Assert
Asserts that a condition is true.
assertTrue(boolean) - Static method in class junit.framework.Assert
Asserts that a condition is true.
AT91_I2C - Class in com.sun.spot.sensorboard.protocol
Class implementing the Inter-Integrated Circuit (I-squared-C) protocol for the AT91
AT91_I2C(IAT91_PIO, int, int) - Constructor for class com.sun.spot.sensorboard.protocol.AT91_I2C
Constructor.
atan(double) - Static method in class com.sun.squawk.util.MathUtils
Returns the arc tangent of an angle, in the range of -pi/2 through pi/2.
atan2(double, double) - Static method in class com.sun.squawk.util.MathUtils
Converts rectangular coordinates (x, y) to polar (r, theta).
Atmega - Class in com.sun.spot.sensorboard.hardware
Simple wrapper for the Atmega part.
Atmega(ISPI, ISPI) - Constructor for class com.sun.spot.sensorboard.hardware.Atmega
 
atmega - Variable in class com.sun.spot.sensorboard.hardware.AtmegaExternalBoard
 
Atmega48 - Class in com.sun.spot.sensorboard.hardware
Simple wrapper for the Atmega48 part.
Atmega48(ISPI, ISPI) - Constructor for class com.sun.spot.sensorboard.hardware.Atmega48
 
Atmega88 - Class in com.sun.spot.sensorboard.hardware
Simple wrapper for the Atmega88 part
Atmega88(ISPI, ISPI) - Constructor for class com.sun.spot.sensorboard.hardware.Atmega88
 
AtmegaBootloader - Class in com.sun.spot.sensorboard.util
utility to ease programming the user space of the Atmega88 Think of this class as reflecting the capabilities of the bootloader section of the Atmega88 firmware. cause it does.
AtmegaBootloader() - Constructor for class com.sun.spot.sensorboard.util.AtmegaBootloader
Creates a new instance of AtmegaBootloader
atmegaController - Static variable in class com.sun.spot.sensorboard.AtmegaProtoBoard
 
AtmegaExternalBoard - Class in com.sun.spot.sensorboard.hardware
A spot sensorboard that has a resident atmega part The intent is that this ease the process of programming the atmega.
AtmegaExternalBoard(String) - Constructor for class com.sun.spot.sensorboard.hardware.AtmegaExternalBoard
 
AtmegaProtoBoard - Class in com.sun.spot.sensorboard
beginning of the file for the AtmegaPrototyping board.
AUGUST - Static variable in class java.util.Calendar
Value of the MONTH field indicating the eighth month of the year.
AUTOMATIC - Static variable in class com.sun.spot.peripheral.radio.RadioPolicy
 
available() - Method in class com.sun.spot.io.j2me.memory.MemoryInputStream
Returns the number of bytes available to be read from the stream.
available() - Method in class com.sun.spot.io.j2me.radiogram.Radiogram
 
available() - Method in class com.sun.spot.io.j2me.radiostream.RadioInputStream
Return the number of bytes available to be read from the stream without blocking.
available() - Method in class com.sun.spot.peripheral.BoundedInputStream
 
available() - Method in class com.sun.spot.peripheral.FlashInputStream
 
available() - Method in interface com.sun.spot.peripheral.IAT91_PIO
Return the mask of available pins.
available() - Method in class com.sun.spot.peripheral.radio.RadioInputStream
Deprecated. Return the number of bytes available to be read from the stream without blocking.
AVAILABLE - Static variable in class com.sun.squawk.vm.ChannelConstants
 
available() - Method in class java.io.ByteArrayInputStream
Returns the number of bytes that can be read from this input stream without blocking.
available() - Method in class java.io.DataInputStream
Returns the number of bytes that can be read from this input stream without blocking.
available() - Method in class java.io.InputStream
Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream.
AVAILABLE_SERIAL_CHARS - Static variable in class com.sun.squawk.vm.ChannelConstants
 
AVR_GET_TIME_HIGH - Static variable in class com.sun.squawk.vm.ChannelConstants
 
AVR_GET_TIME_LOW - Static variable in class com.sun.squawk.vm.ChannelConstants
 

B

BaseStation - Class in com.sun.spot.peripheral.basestation
This class implements a base station that allows a PC (the "host") to communicate to a standalone Spot ("the target") through a second Spot (the "base station") connected to the host via a test board and usb cable.
BaseStation() - Constructor for class com.sun.spot.peripheral.basestation.BaseStation
 
BATTERY_EVENT - Static variable in interface com.sun.spot.peripheral.IPowerController
 
beep() - Method in interface com.sun.spot.sensorboard.peripheral.IToneGenerator
Initiate a tone at the set frequency for the set duration, the beep will terminate itself asynchronously.
beep() - Method in class com.sun.spot.sensorboard.peripheral.ToneGenerator
initiate a tone that will be asynchrounously stopped
BEEP - Static variable in class com.sun.squawk.vm.ChannelConstants
 
before(Object) - Method in class java.util.Calendar
Compares the time field records.
BinaryScalar - Class in com.sun.spot.sensorboard.io
Class to allow using a ScalarInput as though it is an GPIO InputPin.
BinaryScalar(PinDescriptor, int, IADCController) - Constructor for class com.sun.spot.sensorboard.io.BinaryScalar
Constructor
binarySearch(byte[], byte) - Static method in class com.sun.squawk.util.Arrays
Searches the specified array of bytes for the specified value using the binary search algorithm.
binarySearch(char[], char) - Static method in class com.sun.squawk.util.Arrays
Searches the specified array of chars for the specified value using the binary search algorithm.
binarySearch(double[], double) - Static method in class com.sun.squawk.util.Arrays
Searches the specified array of doubles for the specified value using the binary search algorithm.
binarySearch(float[], float) - Static method in class com.sun.squawk.util.Arrays
Searches the specified array of floats for the specified value using the binary search algorithm.
binarySearch(int[], int) - Static method in class com.sun.squawk.util.Arrays
Searches the specified array of ints for the specified value using the binary search algorithm.
binarySearch(long[], long) - Static method in class com.sun.squawk.util.Arrays
Searches the specified array of longs for the specified value using the binary search algorithm.
binarySearch(Object[], Object, Comparer) - Static method in class com.sun.squawk.util.Arrays
Searches the specified array for the specified object using the binary search algorithm.
binarySearch(short[], short) - Static method in class com.sun.squawk.util.Arrays
Searches the specified array of shorts for the specified value using the binary search algorithm.
bindInputPin(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.IGPIOController
register an input only pin and return the accessor object for it
bindInputPin(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Register the use of and return the accessor object for the indicated input pin.
bindIOPin(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.IGPIOController
register an input/output pin and return the accessor object for it
bindIOPin(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Register the use of and return the accessor object for the indicated I/O pin.
bindLED(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.ITriColorLEDController
Bind an LED to the pin and return the accessor object
bindLED(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Returns an accessor object to the indicated 3 color LED.
bindLightSensor(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.ILightSensorController
register lightsensor and return accessor object.
bindLightSensor(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Register the use of and return the accessor object to a lightsensor connected to a scalar input pin.
bindOutputPin(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.IGPIOController
register an output only pin and return the accessor object for it
bindOutputPin(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Register the use of and return the accessor object for the indicated output pin.
bindScalarInput(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.IADCController
Return an accessor object to the indicated pin
bindScalarInput(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Registers the use of and return the ScalarInput object that reads from the specified ADC pin.
bindServo(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.IServoController
return the servo accessor object for the indicated pin
bindServo(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Register the pin and return an accessor object to control an attached Servo.
bindSwitch(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.ISwitchController
Register pin and return accessor object for switch
bindSwitch(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Register the indicated pin as a switch and return the accessor object for it.
bindToneGenerator(PinDescriptor) - Method in interface com.sun.spot.sensorboard.capabilities.IToneGeneratorController
Register a pin as a tone generator and return the accessor object
bindToneGenerator(PinDescriptor) - Method in class com.sun.spot.sensorboard.EDemoBoard
Register and return accessor object for ToneGenerator on indicated pin.
BLACKLIST_TIMEOUT - Static variable in class com.sun.spot.peripheral.radio.mhrp.aodv.Constants
 
BLBSET - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
BLOCK_FOOTER - Static variable in class com.sun.squawk.flash.NorFlashMemoryHeap
 
BLOCK_HEADER_SIZE - Static variable in class com.sun.squawk.flash.NorFlashMemoryHeap
 
blockSync() - Method in interface com.sun.spot.peripheral.IAT91_TC
Perform a block sync command, which causes a reset of all three counters
BLUE - Static variable in interface com.sun.spot.sensorboard.capabilities.ITriColorLEDController
internal encoding for blue segment
BLUE - Static variable in class com.sun.spot.sensorboard.peripheral.LEDColor
standard definition of the color blue
blue() - Method in class com.sun.spot.sensorboard.peripheral.LEDColor
 
BOARD_MAGIC_WORD - Static variable in class com.sun.spot.peripheral.external.ExternalBoard
 
BoardDeviceSPI - Class in com.sun.spot.peripheral.external
SPI implementation that hides the use of a DeviceSelector before sending SPI commands.
BoardDeviceSPI(int, PeripheralChipSelect, int) - Constructor for class com.sun.spot.peripheral.external.BoardDeviceSPI
Create a BoardDeviceSPI using the supplied device address.
Boolean - Class in java.lang
The Boolean class wraps a value of the primitive type boolean in an object.
Boolean(boolean) - Constructor for class java.lang.Boolean
Allocates a Boolean object representing the value argument.
BooleanReplyEnvelope - Class in com.sun.spot.interisolate
 
BooleanReplyEnvelope(int, boolean) - Constructor for class com.sun.spot.interisolate.BooleanReplyEnvelope
 
booleanValue() - Method in class java.lang.Boolean
Returns the value of this Boolean object as a boolean primitive.
BOOTLOADER_ADDRESS - Static variable in class com.sun.spot.peripheral.ConfigPage
 
BOOTLOADER_CMD_ATTENTION - Static variable in interface com.sun.spot.peripheral.ota.ISpotClientConstants
 
BOOTLOADER_CMD_HEADER - Static variable in interface com.sun.spot.peripheral.ota.ISpotClientConstants
 
BOOTLOADER_SYNC - Static variable in interface com.sun.spot.peripheral.ota.ISpotClientConstants
 
BootloaderListener - Class in com.sun.spot.util
Simple class to listen to the serial input over the USB connection and pass control to the bootloader.
BootloaderListener() - Constructor for class com.sun.spot.util.BootloaderListener
 
BootloaderListener(IBootloaderListenerCallback) - Constructor for class com.sun.spot.util.BootloaderListener
 
BOOTSTRAP_ADDRESS - Static variable in class com.sun.spot.peripheral.ConfigPage
 
BOOTSTRAP_ADDRESS_OFFSET - Static variable in class com.sun.spot.peripheral.ConfigPage
 
BORF - Static variable in class com.sun.spot.sensorboard.hardware.Atmega
 
BoundedFlashOutputStream - Class in com.sun.spot.peripheral.ota
 
BoundedInputStream - Class in com.sun.spot.peripheral
Wraps a parent InputStream with an input stream on the assumptions that the first four bytes of the parent's content are a Java int which tells us how many more valid bytes remain in the parent.
BoundedInputStream(InputStream) - Constructor for class com.sun.spot.peripheral.BoundedInputStream
Construct an instance based on the supplied parent InputStream.
BoundedOutputStream - Class in com.sun.spot.peripheral
An output stream that writes the length of the data at the start.
BoundedOutputStream(OutputStream) - Constructor for class com.sun.spot.peripheral.BoundedOutputStream
 
branchCount() - Static method in class com.sun.squawk.VM
Enables a dynamically loaded class to call this.
BROADCAST - Static variable in interface com.sun.spot.peripheral.radio.IRadiogramProtocolManager
 
BROADCAST_HEADER_LENGTH - Static variable in class com.sun.spot.peripheral.radio.LowPanHeader
Size of a Broadcast Header
BROADCAST_PACKET - Static variable in class com.sun.spot.peripheral.radio.LowPanPacket
Indicates this LowPanPacket will use a RadioPacket of the type 'Broadcast'
BroadcastConnectionState - Class in com.sun.spot.peripheral.radio
 
BroadcastConnectionState(ConnectionID) - Constructor for class com.sun.spot.peripheral.radio.BroadcastConnectionState
 
buf - Variable in class java.io.ByteArrayInputStream
An array of bytes that was provided by the creator of the stream.
buf - Variable in class java.io.ByteArrayOutputStream
The buffer where data is stored.
BUFFER - Static variable in class com.sun.squawk.flash.NorFlashSectorState
 
BUFFER_SIZE - Static variable in class com.sun.squawk.security.verifier.SignatureVerifier
The numbe of bytes read from flash memory and passed to the signature verification per loop.
BufferedReader - Class in com.sun.squawk.io
Read text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.
BufferedReader(Reader) - Constructor for class com.sun.squawk.io.BufferedReader
Create a buffering character-input stream that uses a default-sized input buffer.
BufferedReader(Reader, int) - Constructor for class com.sun.squawk.io.BufferedReader
Create a buffering character-input stream that uses an input buffer of the specified size.
BufferedWriter - Class in com.sun.squawk.io
Write text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings.
BufferedWriter(Writer) - Constructor for class com.sun.squawk.io.BufferedWriter
Create a buffered character-output stream that uses a default-sized output buffer.
BufferedWriter(Writer, int) - Constructor for class com.sun.squawk.io.BufferedWriter
Create a new buffered character-output stream that uses an output buffer of the given size.
BUSY - Static variable in interface com.sun.spot.peripheral.radio.I802_15_4_PHY
Return code for CCA requests when channel is not clear
BUTTON_EVENT - Static variable in interface com.sun.spot.peripheral.IPowerController
 
Byte - Class in java.lang
The Byte class is the standard wrapper for byte values.
Byte(byte) - Constructor for class java.lang.Byte
Constructs a Byte object initialized to the specified byte value.
ByteArrayEnvelope - Class in com.sun.squawk.io.mailboxes
A ByteArrayEnvelope can be used to pass a byte array, or subsection of a byte array to a MailBox.
ByteArrayEnvelope(byte[]) - Constructor for class com.sun.squawk.io.mailboxes.ByteArrayEnvelope
Create a ByteArrayEnvelope for the specified array.
ByteArrayEnvelope(byte[], int, int) - Constructor for class com.sun.squawk.io.mailboxes.ByteArrayEnvelope
Create a ByteArrayEnvelope for the subsection of the specified array.
ByteArrayInputStream - Class in java.io
A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.
ByteArrayInputStream(byte[]) - Constructor for class java.io.ByteArrayInputStream
Creates a ByteArrayInputStream so that it uses buf as its buffer array.
ByteArrayInputStream(byte[], int, int) - Constructor for class java.io.ByteArrayInputStream
Creates ByteArrayInputStream that uses buf as its buffer array.
ByteArrayInputStreamEnvelope - Class in com.sun.squawk.io.mailboxes
A ByteArrayInputStreamEnvelope can be used to pass a byte array, or subsection of a byte array, as a ByteArrayInputStream.
ByteArrayInputStreamEnvelope(byte[]) - Constructor for class com.sun.squawk.io.mailboxes.ByteArrayInputStreamEnvelope
Create a ByteArrayEnvelope for the specified array.
ByteArrayInputStreamEnvelope(byte[], int, int) - Constructor for class com.sun.squawk.io.mailboxes.ByteArrayInputStreamEnvelope
Create a ByteArrayEnvelope for the subsection of the specified array.
ByteArrayInputStreamWithSetBytes - Class in com.sun.squawk.util
An extention of ByteArrayInputStream that allows the byte array buffer to be modified, using the ByteArrayInputStreamWithSetBytes.setBytes(byte[], int, int) method.
ByteArrayInputStreamWithSetBytes(byte[]) - Constructor for class com.sun.squawk.util.ByteArrayInputStreamWithSetBytes
 
ByteArrayInputStreamWithSetBytes(byte[], int, int) - Constructor for class com.sun.squawk.util.ByteArrayInputStreamWithSetBytes
 
ByteArrayOutputStream - Class in java.io
This class implements an output stream in which the data is written into a byte array.
ByteArrayOutputStream() - Constructor for class java.io.ByteArrayOutputStream
Creates a new byte array output stream.
ByteArrayOutputStream(int) - Constructor for class java.io.ByteArrayOutputStream
Creates a new byte array output stream, with a buffer capacity of the specified size, in bytes.
bytes - Variable in class com.sun.squawk.flash.MemoryHeapBlock
 
bytes - Variable in class com.sun.squawk.peripheral.SimulatedNorFlashSector
 
bytesIn - Variable in class com.sun.squawk.flash.MemoryHeapBlock
 
bytesToWords() - Method in class com.sun.squawk.Offset
Scales this offset which currently expresses an offset in bytes to express the same offset in words.
bytesTransferred - Variable in exception java.io.InterruptedIOException
Reports how many bytes had been transferred as part of the I/O operation before it was interrupted.
byteValue() - Method in class java.lang.Byte
Returns the value of this Byte as a byte.
byteValue() - Method in class java.lang.Double
Returns the value of this Double as a byte (by casting to a byte).
byteValue() - Method in class java.lang.Float
Returns the value of this Float as a byte (by casting to a byte).
byteValue() - Method in class java.lang.Integer
Returns the value of this Integer as a byte.

C

calculateAndSetFCS() - Method in class com.sun.spot.peripheral.radio.RadioPacket
Calculate a frame check sequence for this packet -- not normally required for the CC2420 radio.
Calendar - Class in java.util
Calendar is an abstract base class for converting between a Date object and a set of integer fields such as YEAR, MONTH, DAY, HOUR, and so on.
Calendar() - Constructor for class java.util.Calendar
Constructs a Calendar with the default time zone.
cancel() - Method in class com.sun.spot.util.BootloaderListener
Cleanup after ourself and stop running.
cancel() - Method in class java.util.Timer
Terminates this timer, discarding any currently scheduled tasks.
cancel() - Method in class java.util.TimerTask
Cancels this timer task.
cancelRedirect() - Method in interface com.sun.spot.io.j2me.remoteprinting.IRemotePrintManager
Cancel current redirection of streams
cancelRedirect() - Method in class com.sun.spot.io.j2me.remoteprinting.RemotePrintManager
 
canReceive() - Method in class com.sun.spot.peripheral.radio.ConnectionID
 
canSend() - Method in class com.sun.spot.peripheral.radio.ConnectionID
 
capacity() - Method in class java.lang.StringBuffer
Returns the current capacity of the String buffer.
capacity() - Method in class java.util.Vector
Returns the current capacity of this vector.
capacityIncrement - Variable in class java.util.Vector
The amount by which the capacity of the vector is automatically incremented when its size becomes greater than its capacity.
CC2420Driver - Class in com.sun.spot.peripheral
 
CC2420Driver(ISpiMaster, SpiPcs, ISpotPins) - Constructor for class com.sun.spot.peripheral.CC2420Driver
 
ceil(double) - Static method in class java.lang.Math
Returns the smallest (closest to negative infinity) double value that is not less than the argument and is equal to a mathematical integer.
Channel - Class in com.sun.squawk.io.mailboxes
A Channel is a private bidirectional link between two MailBoxes.
CHANNEL_ACCESS_FAILURE - Static variable in interface com.sun.spot.peripheral.radio.I802_15_4_MAC
Returned from mcpsDataRequest if transmission fails because the channel is not clear
CHANNEL_GENERIC - Static variable in class com.sun.squawk.vm.ChannelConstants
The channel identifier for the GUI input channel.
CHANNEL_GUIIN - Static variable in class com.sun.squawk.vm.ChannelConstants
The channel identifier for the GUI input channel.
CHANNEL_GUIOUT - Static variable in class com.sun.squawk.vm.ChannelConstants
The channel identifier for the GUI output channel.
CHANNEL_IDENTIFIER - Static variable in class com.sun.spot.peripheral.radio.proxy.ProxyRadiogramProtocolManager
 
CHANNEL_IDENTIFIER - Static variable in class com.sun.spot.peripheral.radio.proxy.ProxyRadiostreamProtocolManager
 
CHANNEL_IRQ - Static variable in class com.sun.squawk.vm.ChannelConstants
The channel identifier for the irq channel.
CHANNEL_LAST_FIXED - Static variable in class com.sun.squawk.vm.ChannelConstants
The last fixed channel number.
CHANNEL_MESSAGEIO - Static variable in class com.sun.squawk.vm.ChannelConstants
The channel for message I/O.
CHANNEL_NAME - Static variable in class com.sun.spot.testFramework.ChildIsolateTestRunner
 
CHANNEL_SPI - Static variable in class com.sun.squawk.vm.ChannelConstants
 
ChannelBusyException - Exception in com.sun.spot.peripheral
Thrown when an attempt to transmit over the radio fails because the channel is busy - and remains busy for a full set of retries.
ChannelBusyException(String) - Constructor for exception com.sun.spot.peripheral.ChannelBusyException
Construct exception with given message.
ChannelConstants - Class in com.sun.squawk.vm
 
ChannelConstants() - Constructor for class com.sun.squawk.vm.ChannelConstants
 
Character - Class in java.lang
The Character class wraps a value of the primitive type char in an object.
Character(char) - Constructor for class java.lang.Character
Constructs a Character object and initializes it so that it represents the primitive value argument.
charAt(int) - Method in class java.lang.String
Returns the character at the specified index.
charAt(int) - Method in class java.lang.StringBuffer
The specified character of the sequence currently represented by the string buffer, as indicated by the index argument, is returned.
CHARTREUSE - Static variable in class com.sun.spot.sensorboard.peripheral.LEDColor
standard definition of the color chartreuse
charValue() - Method in class java.lang.Character
Returns the value of this Character object.
checkCallContext() - Method in class com.sun.squawk.io.mailboxes.Envelope
Check that this envelope has been sent, and that the caller's isolate is the receiver of the envelope.
checkError() - Method in class java.io.PrintStream
Flush the stream and check its error state.
checkForRuntimeException() - Method in class com.sun.spot.interisolate.ReplyEnvelope
 
checkForThrowable() - Method in class com.sun.spot.interisolate.ExceptionReplyEnvelope
 
checkForThrowable() - Method in class com.sun.spot.interisolate.ReplyEnvelope
 
checkReadWriteParameters(int, byte[], int, int) - Method in class com.sun.squawk.flash.NorFlashSectorState
 
CHILD_ISOLATE_ECHO_PORT - Static variable in interface com.sun.spot.peripheral.ota.ISpotClientConstants
 
ChildIsolateTestHelper - Class in com.sun.spot.testFramework
 
ChildIsolateTestHelper() - Constructor for class com.sun.spot.testFramework.ChildIsolateTestHelper
 
ChildIsolateTestRunner - Class in com.sun.spot.testFramework
 
ChildIsolateTestRunner(SystemOutTestResultLog) - Constructor for class com.sun.spot.testFramework.ChildIsolateTestRunner
 
claim(int, int) - Method in interface com.sun.spot.peripheral.IAT91_PIO
Lay claim to certain PIO pins.
claim(int, int, boolean) - Method in interface com.sun.spot.peripheral.IAT91_PIO
Lay claim to certain PIO pins.
claim() - Method in class com.sun.spot.peripheral.PIOPin
Attempt to claim this pin
claimedPins() - Method in interface com.sun.spot.sensorboard.hardware.ISPIControlledIOChip
 
claimedPins() - Method in class com.sun.spot.sensorboard.hardware.SimpleSPIControlledIOChip
 
claimPin(int) - Method in interface com.sun.spot.sensorboard.hardware.ISPIControlledIOChip
 
claimPin(int) - Method in class com.sun.spot.sensorboard.hardware.SimpleSPIControlledIOChip
 
claimTCLK() - Method in interface com.sun.spot.peripheral.IAT91_TC
Enable PIO use of shared TCLK line