SunSPOT host API V3.0

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

A

AbstractClientCommand - Class in com.sun.spot.client.command
AbstractClientCommand helper for implementing ISpotClientCommands that ensures that the wrong execute signature cannot be called.
AbstractClientCommand() - Constructor for class com.sun.spot.client.command.AbstractClientCommand
 
add(Object) - Method in class com.sun.spot.client.command.HelloResultList
Adds the HelloResult object only if another one with the same IEEE address isn't already present.
addCommand(ISpotClientCommand) - Method in class com.sun.spot.client.SpotClientCommands
Add or replace a command in the active command set (replaces if the new command has the same name as an existing one).
ALG_EC_FP - Static variable in class com.sun.squawk.security.signing.ECKeyPair
KeyPair object containing an EC key pair for EC operations over large prime fields.
ALG_SHA - Static variable in class com.sun.squawk.security.signing.SHA
Message Digest algorithm SHA.
as6BitNumber(int) - Static method in class com.sun.spot.util.Utils
Truncates an int to 6 bits
asDottedHex() - Method in class com.sun.spot.util.IEEEAddress
Generate a dotted hex string from an IEEE address
asLong() - Method in class com.sun.spot.util.IEEEAddress
 
assertThat(boolean, String) - Static method in class com.sun.spot.client.command.AbstractClientCommand
 

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
 
BasestationManager - Class in com.sun.spot.peripheral.radio
BasestationManager This class manages a basestation SPOT that is to be shared between two or more host processes.
BasestationManager() - Constructor for class com.sun.spot.peripheral.radio.BasestationManager
 
BasestationManagerGUI - Class in com.sun.spot.peripheral.radio
Graphical user interface to BasestationManager.
BasestationManagerGUI() - Constructor for class com.sun.spot.peripheral.radio.BasestationManagerGUI
 
bitsize - Variable in class com.sun.squawk.security.signing.ECPrivateKey
Key size in bits
BlinkCommand - Class in com.sun.spot.client.command
BlinkCommand: flash LEDs or otherwise identify the SPOT.
BlinkCommand() - Constructor for class com.sun.spot.client.command.BlinkCommand
 
BOOTLOADER_TIMESTAMP_PROPERTY_NAME - Static variable in class com.sun.spot.client.command.SynchronizeCommand
 
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
 
bytesize - Variable in class com.sun.squawk.security.signing.ECPrivateKey
 

C

cancel() - Method in class com.sun.spot.util.BootloaderListener
Cleanup after ourself and stop running.
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
 
checkFileSize(int) - Method in class com.sun.spot.client.Flashable
Check that the file will fit in the available space, and if not, throw SpotClientFailureException
checkResponse() - Method in interface com.sun.spot.client.IAdminTarget
Wait for a response from the target, and then check whether an error occurred.
checkStateForBootloaderCmd() - Method in interface com.sun.spot.client.ISpotManager
Check whether the bootloader or Config Page is obsolete
checkStateForBootloaderCmd(boolean) - Method in class com.sun.spot.client.SpotState
Check whether the remote SPOT is up to date and can execute a command.
classIndicatorByte() - Method in class com.sun.spot.peripheral.basestation.GetChannelAccessFailureCommand
 
classIndicatorByte() - Method in class com.sun.spot.peripheral.basestation.GetNoAckCommand
 
classIndicatorByte() - Method in class com.sun.spot.peripheral.basestation.GetNullPacketAfterAckWaitCommand
 
classIndicatorByte() - Method in class com.sun.spot.peripheral.basestation.GetPLMETransmitCommand
 
classIndicatorByte() - Method in class com.sun.spot.peripheral.basestation.GetWrongAckCommand
 
classIndicatorByte() - Method in class com.sun.spot.peripheral.basestation.MACCommand
 
classIndicatorByte() - Method in class com.sun.spot.peripheral.basestation.MCPSDataIndicationCommand
 
classIndicatorByte() - Method in class com.sun.spot.peripheral.basestation.MCPSDataRequestCommand
 
classIndicatorByte() - Method in class com.sun.spot.peripheral.basestation.MLMEGetCommand
 
classIndicatorByte() - Method in class com.sun.spot.peripheral.basestation.MLMEResetCommand
 
classIndicatorByte() - Method in class com.sun.spot.peripheral.basestation.MLMERxEnableCommand
 
classIndicatorByte() - Method in class com.sun.spot.peripheral.basestation.MLMESetCommand
 
classIndicatorByte() - Method in class com.sun.spot.peripheral.basestation.MLMEStartCommand
 
classIndicatorByte() - Method in class com.sun.spot.peripheral.basestation.ResetProxyCommand
 
classIndicatorByte() - Method in class com.sun.spot.peripheral.basestation.SetPLMETransmitPowerCommand
 
clearKey() - Method in class com.sun.squawk.security.signing.ECPrivateKey
Clears the key
close() - Method in class com.sun.spot.client.SerialPortWrapper
 
close() - Method in class com.sun.spot.flashmanagement.FlashFileOutputStream
 
close() - Method in class com.sun.spot.io.j2me.remoteprinting.RemotePrintOutputStream
Close this OutputStream along with the underlying RadioOutputStream.
close() - Method in class com.sun.spot.io.j2me.socket.SocketConnection
Disconnect and close the SocketConnection.
close() - Method in class com.sun.spot.io.j2me.socket.SocketProtocolInputStream
Close the InputStream.
close() - Method in class com.sun.spot.io.j2me.socket.SocketProtocolOutputStream
Close the OutputStream
close() - Method in class com.sun.spot.suiteconverter.SigningOutputStream
 
closeBaseStation() - Static method in class com.sun.spot.peripheral.radio.RadioFactory
Close down a local basestation, if any.
CMD_DISCOVER - Static variable in class com.sun.spot.peripheral.radio.BasestationManager
 
com.sun.spot.client - package com.sun.spot.client
General facilities for communicating from a desktop with Sun SPOTs, both locally and remotely.
com.sun.spot.client.command - package com.sun.spot.client.command
Individual commands for communicating with Sun SPOTs, both locally and remotely.
com.sun.spot.client.ui - package com.sun.spot.client.ui
The command line user interface to the Spot Client.
com.sun.spot.dmamemory - package com.sun.spot.dmamemory
Support for allocating memory for DMA buffers.
com.sun.spot.dmamemory.proxy - package com.sun.spot.dmamemory.proxy
Support for allocating memory for DMA buffers - from child isolates.
com.sun.spot.flashmanagement - package com.sun.spot.flashmanagement
Low level access to chunks of flash memory.
com.sun.spot.io.j2me.remoteprinting - package com.sun.spot.io.j2me.remoteprinting
Provides the auxiliary classes used by remote printing.
com.sun.spot.io.j2me.socket - package com.sun.spot.io.j2me.socket
Support for the "socket" GCF protocol.
com.sun.spot.peripheral - package com.sun.spot.peripheral
Host applications use the same code as SPOT applications for tasks like radio communication.
com.sun.spot.peripheral.basestation - package com.sun.spot.peripheral.basestation
Code to allow the Sun SPOT to function as a base station.
com.sun.spot.peripheral.radio - package com.sun.spot.peripheral.radio
Host applications use the same code as SPOT applications for tasks like radio communication.
com.sun.spot.suiteconverter - package com.sun.spot.suiteconverter
Support for converting canonical layout Squawk suites into a form that can execute directly from flash memory.
com.sun.spot.util - package com.sun.spot.util
Utility classes.
com.sun.squawk.security.signing - package com.sun.squawk.security.signing
 
commit() - Method in class com.sun.spot.flashmanagement.FlashFile
Ensure all changes to this file's descriptor are written persistently.
containsCommand(String) - Method in class com.sun.spot.client.SpotClientCommands
Answer whether a command exists with the given name.
copy(byte[]) - Static method in class com.sun.spot.util.Utils
Make a copy of a byte array
CRC - Class in com.sun.spot.util
Standalone class to provide crc calculations.
CRC() - Constructor for class com.sun.spot.util.CRC
 
crc(byte[], int, int) - Static method in class com.sun.spot.util.CRC
Return the CRC of the specified part of a byte array.
crc(InputStream, int) - Static method in class com.sun.spot.util.CRC
Return the CRC value of the specified number of bytes from an InputStream.
create(int, int) - Method in class com.sun.spot.flashmanagement.HostNorFlashSectorFactory
 
create(int, int) - Method in interface com.sun.spot.flashmanagement.INorFlashSectorFactory
Create an IAddressableNorFlashSector
createNewFile(int) - Method in class com.sun.spot.flashmanagement.FlashFile
Create a new file of the specified size, whose name is the name of this FlashFile object.
curve - Variable in class com.sun.squawk.security.signing.ECPrivateKey
 

D

Debug - Class in com.sun.squawk.security.signing
 
Debug() - Constructor for class com.sun.squawk.security.signing.Debug
 
DEFAULT_BUFFER_SIZE - Static variable in class com.sun.spot.flashmanagement.FlashFileOutputStream
The default size of the output buffer.
defaults - Variable in class com.sun.spot.util.Properties
A property list that contains default values for any keys not found in this property list.
delete() - Method in class com.sun.spot.flashmanagement.FlashFile
Delete the file with this name
DeletePublicKeyCommand - Class in com.sun.spot.client.command
DeletePublicKeyCommand: remove the SPOT's public key.
DeletePublicKeyCommand() - Constructor for class com.sun.spot.client.command.DeletePublicKeyCommand
 
DeleteSystemPropertyCommand - Class in com.sun.spot.client.command
DeleteSystemPropertyCommand remove the specified system property from the SPOT.
DeleteSystemPropertyCommand() - Constructor for class com.sun.spot.client.command.DeleteSystemPropertyCommand
 
diagnostic(String) - Method in class com.sun.spot.client.DummySpotClientUI
 
diagnostic(String) - Method in interface com.sun.spot.client.IUI
Callback the SpotClient uses to provide diagnostic messages relating to the operation it's executing.
diagnostic(String) - Method in class com.sun.spot.client.RemoteLogger
 
diagnostic(String) - Method in class com.sun.spot.client.SerialPortLogger
 
diagnostic(String) - Method in class com.sun.spot.client.ui.SpotClientCommandLineUI
 
DMA_MEMORY_SERVER - Static variable in class com.sun.spot.dmamemory.proxy.ProxyDMAMemoryManager
 
DMAMemoryManager - Class in com.sun.spot.dmamemory
Manages a chunk of uncached memory to be used for DMA buffers - see IDMAMemoryManager
DMAMemoryManager() - Constructor for class com.sun.spot.dmamemory.DMAMemoryManager
For use by the SPOT library only - to get a handle to a DMA Memory Manager use Spot.getInstance().getDMAMemoryManager()
doFinal(byte[], int, int, byte[], int) - Method in class com.sun.squawk.security.signing.SHA
Generates a hash of all/last input data.
DummyApp - Class in com.sun.spot.util
This class implements an empty application that can be useful when there is no valid application installed
DummyApp() - Constructor for class com.sun.spot.util.DummyApp
 
DummySpotClientUI - Class in com.sun.spot.client
DummySpotClientUI provides a null implementation of IUI convenient for using SpotClientCommands facilities when feedback is not required.
DummySpotClientUI() - Constructor for class com.sun.spot.client.DummySpotClientUI
 

E

ECDSASignature - Class in com.sun.squawk.security.signing
Signature algorithm ALG_ECDSA_SHA generates a 20-byte SHA digest and signs/verifies the digest using ECDSA.
ECDSASignature() - Constructor for class com.sun.squawk.security.signing.ECDSASignature
 
echoFromTarget(String) - Method in class com.sun.spot.client.DummySpotClientUI
 
echoFromTarget(String) - Method in interface com.sun.spot.client.ISpotClientCommandHelper
Echo output from the target to the user interface.
echoFromTarget(String) - Method in interface com.sun.spot.client.IUI
Callback the SpotClient uses to echo the output of the target SPOT.
echoFromTarget(String) - Method in class com.sun.spot.client.RemoteLogger
 
echoFromTarget(String) - Method in class com.sun.spot.client.SerialPortLogger
 
echoFromTarget(String) - Method in class com.sun.spot.client.ui.SpotClientCommandLineUI
 
ECKeyPair - Class in com.sun.squawk.security.signing
This class is a container for a key pair (a public key and a private key).
ECKeyPair() - Constructor for class com.sun.squawk.security.signing.ECKeyPair
Constructs a KeyPair instance for the specified algorithm and key length; the encapsulated keys are uninitialized.
ECKeyPair(ECPublicKey, ECPrivateKey) - Constructor for class com.sun.squawk.security.signing.ECKeyPair
Constructs a new KeyPair object containing the specified public key and private key.
ECPrivateKey - Class in com.sun.squawk.security.signing
The ECPrivateKey interface is used to generate signatures on data using the ECDSA (Elliptic Curve Digital Signature Algorithm) and to generate shared secrets using the ECDH (Elliptic Curve Diffie-Hellman) algorithm.
ECPrivateKey() - Constructor for class com.sun.squawk.security.signing.ECPrivateKey
 
editCommandRepository(SpotClientCommands) - Method in interface com.sun.spot.client.ISpotClientExtension
This callback is made by the SpotClient during startup.
empty() - Method in class com.sun.spot.util.Queue
Drop the contents of the queue.
ENABLED - Static variable in class com.sun.squawk.security.signing.Debug
DEBUG is used for enabling and disabling debug code, usually to write debug messages which are defined in the form:
if (Debug.ENABLED) { If enabled is set to false the compiler will not include the debug code in the class file, as the statements are unreachable.
encodePublicECKeyInX962(ECPublicKey) - Static method in class com.sun.squawk.security.signing.KeyUtil
Encodes a public key using X9.62
enumToVector(Enumeration) - Static method in class com.sun.spot.util.Utils
Convert an Enumeration to a Vector
equals(Object) - Method in class com.sun.spot.util.IEEEAddress
 
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.AbstractClientCommand
 
execute(ISpotClientCommandHelper, int) - Method in class com.sun.spot.client.command.AbstractClientCommand
 
execute(ISpotClientCommandHelper, long) - Method in class com.sun.spot.client.command.AbstractClientCommand
 
execute(ISpotClientCommandHelper, boolean) - Method in class com.sun.spot.client.command.AbstractClientCommand
 
execute(ISpotClientCommandHelper, String) - Method in class com.sun.spot.client.command.AbstractClientCommand
 
execute(ISpotClientCommandHelper, String, String) - Method in class com.sun.spot.client.command.AbstractClientCommand
 
execute(ISpotClientCommandHelper, String, String, String) - Method in class com.sun.spot.client.command.AbstractClientCommand
 
execute(ISpotClientCommandHelper, int) - Method in class com.sun.spot.client.command.BlinkCommand
flash LEDs or otherwise identify the SPOT.
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.DeletePublicKeyCommand
remove the SPOT's public key.
execute(ISpotClientCommandHelper, String, String) - Method in class com.sun.spot.client.command.DeleteSystemPropertyCommand
remove the specified system property from the SPOT.
execute(ISpotClientCommandHelper, String) - Method in class com.sun.spot.client.command.FlashAppCommand
flash an application to the SPOT
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.FlashBootloaderCommand
flash a bootloader to the SPOT.
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.FlashBootstrapCommand
replace the bootstrap suite.
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.FlashConfigCommand
flash the locally cached config page to the SPOT.
execute(ISpotClientCommandHelper, String) - Method in class com.sun.spot.client.command.FlashLibCommand
flash a library to the SPOT
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.FlashManufacturingImageCommand
replace the entire flash memory of the SPOT with the manufacturing image.
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.FlashVMCommand
flash a VM to the SPOT.
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.GetCmdLineParamsCommand
 
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.GetFATCommand
Retrieve the contents of the File Allocation Table
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.GetSystemPropertiesCommand
 
execute(ISpotClientCommandHelper, String, String, String) - Method in class com.sun.spot.client.command.HelloCommand
get information about all reachable SPOTs or a specific SPOT
execute(ISpotClientCommandHelper) - Method in interface com.sun.spot.client.command.ISpotClientCommand
If the receiver's ISpotClientCommand.getSignature() is ISpotClientCommand.SIGNATURE_NOTHING then execute the command, otherwise throw an IllegalStateException
execute(ISpotClientCommandHelper, int) - Method in interface com.sun.spot.client.command.ISpotClientCommand
If the receiver's ISpotClientCommand.getSignature() is ISpotClientCommand.SIGNATURE_INT then execute the command, otherwise throw an IllegalStateException
execute(ISpotClientCommandHelper, long) - Method in interface com.sun.spot.client.command.ISpotClientCommand
If the receiver's ISpotClientCommand.getSignature() is ISpotClientCommand.SIGNATURE_LONG then execute the command, otherwise throw an IllegalStateException
execute(ISpotClientCommandHelper, boolean) - Method in interface com.sun.spot.client.command.ISpotClientCommand
If the receiver's ISpotClientCommand.getSignature() is ISpotClientCommand.SIGNATURE_BOOLEAN then execute the command, otherwise throw an IllegalStateException
execute(ISpotClientCommandHelper, String) - Method in interface com.sun.spot.client.command.ISpotClientCommand
If the receiver's ISpotClientCommand.getSignature() is ISpotClientCommand.SIGNATURE_STRING or ISpotClientCommand.SIGNATURE_OPTIONAL_STRING then execute the command, otherwise throw an IllegalStateException
execute(ISpotClientCommandHelper, String, String) - Method in interface com.sun.spot.client.command.ISpotClientCommand
If the receiver's ISpotClientCommand.getSignature() is ISpotClientCommand.SIGNATURE_TWO_STRINGS then execute the command, otherwise throw an IllegalStateException
execute(ISpotClientCommandHelper, String, String, String) - Method in interface com.sun.spot.client.command.ISpotClientCommand
If the receiver's ISpotClientCommand.getSignature() is ISpotClientCommand.SIGNATURE_THREE_STRINGS then execute the command, otherwise throw an IllegalStateException
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.QuitCommand
quit SpotClient
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.ReadConfigPageCommand
answer the config page already cached inside the SpotClient.
execute(ISpotClientCommandHelper, int) - Method in class com.sun.spot.client.command.ReadSectorCommand
Read and display a sector of data from the SPOT's flash memory
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.ResetConfigPageCommand
ResetConfigPageCommand reset the locally cached config page.
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.ResetFATCommand
ResetFATCommand return the SPOT's FAT to its default value.
execute(ISpotClientCommandHelper, String) - Method in class com.sun.spot.client.command.ResetLibCommand
reset the SPOT's library.
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.ResetSystemPropertiesCommand
reset the SPOT's system properties to be an empty list.
execute(ISpotClientCommandHelper, String) - Method in class com.sun.spot.client.command.SetCmdLineParamsCommand
set the command line args passed to the embedded squawk VM.
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.SetPublicKeyCommand
install the public security key from the desktop to the SPOT
execute(ISpotClientCommandHelper, long) - Method in class com.sun.spot.client.command.SetSerialNumberCommand
SetSerialNumberCommand set a new serial number to be written with flashprops.
execute(ISpotClientCommandHelper, boolean) - Method in class com.sun.spot.client.command.SetSlowStartupCommand
set whether SPOT waits a long time before starting VM.
execute(ISpotClientCommandHelper, String, String) - Method in class com.sun.spot.client.command.SetSystemPropertyCommand
set (or add) a system property available at run time on the SPOT
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.SetTimeCommand
 
execute(ISpotClientCommandHelper, long) - Method in class com.sun.spot.client.command.SetTimeCommand
set SPOT time to match host time
execute(ISpotClientCommandHelper, String) - Method in class com.sun.spot.client.command.StartAppCommand
run the installed application.
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.command.SynchronizeCommand
establish communication with the SPOT.
execute(String) - Method in class com.sun.spot.client.SpotClientCommands
Execute the ISpotClientCommand registered with the given name, assuming that the ISpotClientCommand implements ISpotClientCommand.SIGNATURE_NOTHING.
execute(String, int) - Method in class com.sun.spot.client.SpotClientCommands
Execute the ISpotClientCommand registered with the given name, assuming that the ISpotClientCommand implements ISpotClientCommand.SIGNATURE_INT.
execute(String, long) - Method in class com.sun.spot.client.SpotClientCommands
Execute the ISpotClientCommand registered with the given name, assuming that the ISpotClientCommand implements ISpotClientCommand.SIGNATURE_LONG.
execute(String, boolean) - Method in class com.sun.spot.client.SpotClientCommands
Execute the ISpotClientCommand registered with the given name, assuming that the ISpotClientCommand implements ISpotClientCommand.SIGNATURE_BOOLEAN.
execute(String, String) - Method in class com.sun.spot.client.SpotClientCommands
Execute the ISpotClientCommand registered with the given name, assuming that the ISpotClientCommand implements ISpotClientCommand.SIGNATURE_STRING or ISpotClientCommand.SIGNATURE_OPTIONAL_STRING.
execute(String, String, String) - Method in class com.sun.spot.client.SpotClientCommands
Execute the ISpotClientCommand registered with the given name, assuming that the ISpotClientCommand implements ISpotClientCommand.SIGNATURE_TWO_STRINGS or ISpotClientCommand.SIGNATURE_OPTIONAL_SECOND_STRING.
execute(String, String, String, String) - Method in class com.sun.spot.client.SpotClientCommands
Execute the ISpotClientCommand registered with the given name, assuming that the ISpotClientCommand implements ISpotClientCommand.SIGNATURE_THREE_STRINGS.
execute(ISpotClientCommandHelper) - Method in class com.sun.spot.client.ui.InfoCommand
show information about the spot
exists() - Method in class com.sun.spot.flashmanagement.FlashFile
Check whether a file with this name exists
EXPECTED_SUITE_VERSION_MAJOR - Static variable in class com.sun.spot.suiteconverter.Suite
 
EXPECTED_SUITE_VERSION_MINOR - Static variable in class com.sun.spot.suiteconverter.Suite
 

F

ffa - Variable in class com.sun.squawk.security.signing.ECPrivateKey
 
FIRST_FILE_VIRTUAL_ADDRESS - Static variable in class com.sun.spot.flashmanagement.FlashFile
The lowest valid virtual address that can be allocated to a file
Flashable - Class in com.sun.spot.client
Flashable represents data to be flashed to a SPOT, which may be either a host file or an in-memory byte array.
Flashable(String, byte[]) - Constructor for class com.sun.spot.client.Flashable
Create a Flashable as a wrapper for a byte array
Flashable(File) - Constructor for class com.sun.spot.client.Flashable
Create a Flashable as a wrapper for a host file
FlashAppCommand - Class in com.sun.spot.client.command
FlashAppCommand flash an application to the SPOT.
FlashAppCommand() - Constructor for class com.sun.spot.client.command.FlashAppCommand
 
flashBootloader(Flashable, int, int) - Method in interface com.sun.spot.client.IBootloaderTarget
Flash the bootloader.
FlashBootloaderCommand - Class in com.sun.spot.client.command
FlashBootloaderCommand: flash a bootloader to the SPOT.
FlashBootloaderCommand() - Constructor for class com.sun.spot.client.command.FlashBootloaderCommand
 
flashBootstrap(Flashable) - Method in interface com.sun.spot.client.IBootloaderTarget
Flash a bootstrap suite.
FlashBootstrapCommand - Class in com.sun.spot.client.command
FlashBootstrapCommand: replace the bootstrap suite.
FlashBootstrapCommand() - Constructor for class com.sun.spot.client.command.FlashBootstrapCommand
 
flashBytes(int, int, byte[], int, int) - Method in interface com.sun.spot.client.ITargetFlashAccess
Write data to a sector
flashConfig(Flashable) - Method in interface com.sun.spot.client.IBootloaderTarget
Flash the config page
flashConfig(Flashable) - Method in interface com.sun.spot.client.ISpotClientCommandHelper
Flash the Config Page with the given data
flashConfig(Flashable) - Method in interface com.sun.spot.client.ISpotManager
Flash the Config Page with the given data
FlashConfigCommand - Class in com.sun.spot.client.command
FlashConfigCommand flash a config page to the SPOT.
FlashConfigCommand() - Constructor for class com.sun.spot.client.command.FlashConfigCommand
 
flashConfigPage(ConfigPage) - Method in interface com.sun.spot.peripheral.ISpot
Write a ConfigPage into the flash.
flashConfigPage(ConfigPage) - Method in class com.sun.spot.peripheral.Spot
 
flashFile(Flashable, String, byte[]) - Method in interface com.sun.spot.client.IAdminTarget
Send data with flow control, so that data is not sent faster than the target can handle it.
FlashFile - Class in com.sun.spot.flashmanagement
FlashFile This class is the main entry point to the flash memory filing system.
FlashFile(String) - Constructor for class com.sun.spot.flashmanagement.FlashFile
Create a FlashFile with the specified name.
FlashFileInputStream - Class in com.sun.spot.flashmanagement
FlashFileInputStream represents an input stream over some flash memory.
FlashFileInputStream(FlashFile) - Constructor for class com.sun.spot.flashmanagement.FlashFileInputStream
Construct an input stream over the data previously written to a FlashFile
FlashFileInputStream(IAddressableNorFlashSector) - Constructor for class com.sun.spot.flashmanagement.FlashFileInputStream
Construct a input stream over the raw data in a sector of the flash memory
FlashFileNotFoundException - Exception in com.sun.spot.flashmanagement
 
FlashFileNotFoundException() - Constructor for exception com.sun.spot.flashmanagement.FlashFileNotFoundException
 
FlashFileNotFoundException(String) - Constructor for exception com.sun.spot.flashmanagement.FlashFileNotFoundException
 
FlashFileOutputStream - Class in com.sun.spot.flashmanagement
FlashFileOutputStream represents an output stream over some flash memory.
FlashFileOutputStream(FlashFile) - Constructor for class com.sun.spot.flashmanagement.FlashFileOutputStream
Construct an output stream over the space allocated to a previously created FlashFile
FlashFileOutputStream(FlashFile, int) - Constructor for class com.sun.spot.flashmanagement.FlashFileOutputStream
Construct an output stream over the space allocated to a previously created FlashFile, specifying a non-standard buffer size.
FlashFileOutputStream(IAddressableNorFlashSector) - Constructor for class com.sun.spot.flashmanagement.FlashFileOutputStream
Construct an output stream over a sector of the flash memory.
flashLib(Flashable, int) - Method in interface com.sun.spot.client.IBootloaderTarget
Flash a library suite.
FlashLibCommand - Class in com.sun.spot.client.command
FlashLibCommand flash a library to the SPOT
FlashLibCommand() - Constructor for class com.sun.spot.client.command.FlashLibCommand
 
flashManufacturingImage(Flashable) - Method in interface com.sun.spot.client.IBootloaderTarget
Flash a manufacturing image.
FlashManufacturingImageCommand - Class in com.sun.spot.client.command
FlashManufacturingImageCommand replace the entire flash memory of the SPOT with the manufacturing image.
FlashManufacturingImageCommand() - Constructor for class com.sun.spot.client.command.FlashManufacturingImageCommand
 
FlashSectorContents - Class in com.sun.spot.client.command
FlashSectorContents is a helper object for ReadSectorCommand.
FlashSectorContents(int, byte[]) - Constructor for class com.sun.spot.client.command.FlashSectorContents
Normal constructor
flashVM(Flashable) - Method in interface com.sun.spot.client.IBootloaderTarget
Flash the VM executable
FlashVMCommand - Class in com.sun.spot.client.command
FlashVMCommand flash a VM to the SPOT.
FlashVMCommand() - Constructor for class com.sun.spot.client.command.FlashVMCommand
 
flush() - Method in class com.sun.spot.flashmanagement.FlashFileOutputStream
 
flush() - Method in class com.sun.spot.io.j2me.remoteprinting.RemotePrintOutputStream
Flush any characters in our buffer, sending them over the radio to the remote print server.
flush() - Method in class com.sun.spot.io.j2me.socket.SocketProtocolOutputStream
Flush the stream.
flush() - Method in class com.sun.spot.suiteconverter.SigningOutputStream
 
flushAndAppendSignature() - Method in class com.sun.spot.suiteconverter.SigningOutputStream
Append a signature created using the SPOT SDK's private key to the underlying DataOutputStream and flush the output.
flushWithoutSignature() - Method in class com.sun.spot.suiteconverter.SigningOutputStream
Flush the output through to the underlying DataOutputStream without appending a signature.
FORMAT_VERSION - Static variable in class com.sun.squawk.security.signing.SigningService
 

G

generateData(byte[], int, int) - Method in class com.sun.squawk.security.signing.PseudoRand
This does a reasonable job of producing unpredictable random data by using a one way hash as a mixing function and the current time in milliseconds as a source of entropy.
generateKeyPair() - Method in class com.sun.squawk.security.signing.SigningService
Generates a new SDK key pair and saves it into the keyfile specified in the constructor.
genKeyPair() - Method in class com.sun.squawk.security.signing.ECKeyPair
(Re)Initializes the key objects encapsulated in this KeyPair instance with new key values.
get(long) - Method in class com.sun.spot.util.Queue
Answer an element from the receiver.
get() - Method in class com.sun.spot.util.Queue
Answer an element from the receiver.
getAdminTarget() - Method in interface com.sun.spot.client.ISpotClientCommandHelper
Get the AdminTarget.
getAdminTarget() - Method in interface com.sun.spot.client.ISpotManager
Get the AdminTarget.
getAlgorithm() - Method in class com.sun.squawk.security.signing.SHA
Gets the message digest algorithm.
getAllocatedSpace() - Method in class com.sun.spot.flashmanagement.FlashFile
Determine the space allocated for the file with this name
getAllocationDetails() - Method in class com.sun.spot.dmamemory.DMAMemoryManager
 
getAllocationDetails() - Method in interface com.sun.spot.dmamemory.IDMAMemoryManager
Get information about current memory allocations.
getAllocationDetails() - Method in class com.sun.spot.dmamemory.proxy.ProxyDMAMemoryManager
 
getAppName() - Method in interface com.sun.spot.client.ISpotClientCommandHelper
 
getAT91_AIC() - Method in interface com.sun.spot.peripheral.ISpot
Get access to the AT91 Interrupt Controller
getAT91_AIC() - Method in class com.sun.spot.peripheral.Spot
 
getAT91_PIO(int) - Method in interface com.sun.spot.peripheral.ISpot
Get access to the AT91 Parallel I/O Controller.
getAT91_PIO(int) - Method in class com.sun.spot.peripheral.Spot
 
getAT91_PowerManager() - Method in interface com.sun.spot.peripheral.ISpot
Get the singleton AT91 chip power manager
getAT91_PowerManager() - Method in class com.sun.spot.peripheral.Spot
 
getAT91_TC(int) - Method in interface com.sun.spot.peripheral.ISpot
Get access to an AT91 Timer-Counter.
getAT91_TC(int) - Method in class com.sun.spot.peripheral.Spot
 
getBootloaderIdentificationString() - Method in exception com.sun.spot.client.SpotObsoleteVersionException
 
getBootloaderIdentificationString() - Method in class com.sun.spot.client.SpotState
 
getBootloaderTarget() - Method in interface com.sun.spot.client.ISpotManager
Get the BootloaderTarget.
getBootloaderTimeStamp() - Method in interface com.sun.spot.client.ISpotClientCommandHelper
 
getBootloaderTimeStamp() - Method in interface com.sun.spot.client.ISpotManager
 
getBootloaderTimeStamp() - Method in class com.sun.spot.client.SpotState
 
getBuffer(int, String) - Method in class com.sun.spot.dmamemory.DMAMemoryManager
 
getBuffer(int, String) - Method in interface com.sun.spot.dmamemory.IDMAMemoryManager
Try to obtain memory for a DMA buffer.
getBuffer(int, String) - Method in class com.sun.spot.dmamemory.proxy.ProxyDMAMemoryManager
 
getByte() - Method in class com.sun.spot.client.SerialPortWrapper
 
getCertBytes() - Method in class com.sun.squawk.security.signing.SigningService
The SDK public key is encoded as a self-signed X.509 certificate and the bytes corresponding to the certificate's DER encoding are returned.
GetChannelAccessFailureCommand - Class in com.sun.spot.peripheral.basestation
 
GetChannelAccessFailureCommand() - Constructor for class com.sun.spot.peripheral.basestation.GetChannelAccessFailureCommand
 
GetChannelAccessFailureCommand - Static variable in class com.sun.spot.peripheral.basestation.MACCommand
 
GetCmdLineParamsCommand - Class in com.sun.spot.client.command
GetCmdLineParamsCommand: retrieve the parameters passed to the squawk VM starting up on the SPOT.
GetCmdLineParamsCommand() - Constructor for class com.sun.spot.client.command.GetCmdLineParamsCommand
 
getCommand(String) - Method in interface com.sun.spot.client.ISpotClientCommandHelper
Get a named command.
getCommand(String) - Method in class com.sun.spot.client.SpotClientCommands
Answer an existing command if there is one with the given name.
getCommandNames() - Method in class com.sun.spot.client.SpotClientCommands
 
getComment() - Method in class com.sun.spot.flashmanagement.FlashFile
Get the comment for this file
getComment() - Method in interface com.sun.spot.flashmanagement.IFlashFileInfo
Get the comment for this file
getConfigPage() - Method in interface com.sun.spot.client.ISpotClientCommandHelper
 
getConfigPage() - Method in interface com.sun.spot.client.ISpotManager
 
getConfigPage() - Method in class com.sun.spot.client.SpotState
 
getConfigPage() - Method in interface com.sun.spot.peripheral.ISpot
Get the configuration page held in flash
getConfigPage() - Method in class com.sun.spot.peripheral.Spot
 
getConfigPageContents() - Method in interface com.sun.spot.client.IBootloaderTarget
Answer the raw data of the config page.
getConfigPageContents() - Method in interface com.sun.spot.client.ISpotManager
 
getContents() - Method in class com.sun.spot.client.command.FlashSectorContents
 
getContents() - Method in class com.sun.spot.client.Flashable
 
getCurve() - Method in class com.sun.squawk.security.signing.ECPrivateKey
 
getDataInputStream() - Method in interface com.sun.spot.client.IAdminTarget
Answer a DataInputStream over the stream of input from the target.
getDataWithCRC(DataInputStream) - Static method in class com.sun.spot.util.Utils
Read data from a stream, checking the CRC.
getDesktopLibraryHash() - Method in class com.sun.spot.client.command.HelloResultList
 
getDesktopLibraryHash() - Method in interface com.sun.spot.client.ISpotClientCommandHelper
 
getDesktopPublicKey() - Method in class com.sun.spot.client.command.HelloResultList
 
getDesktopPublicKey() - Method in interface com.sun.spot.client.ISpotClientCommandHelper
 
getDesktopSDKVersion() - Method in class com.sun.spot.client.command.HelloResultList
 
getDesktopSDKVersion() - Method in interface com.sun.spot.client.ISpotClientCommandHelper
 
getDMAMemoryManager() - Method in interface com.sun.spot.peripheral.ISpot
Get the singleton DMA Memory Manager.
getDMAMemoryManager() - Method in class com.sun.spot.peripheral.Spot
 
getDriverRegistry() - Method in interface com.sun.spot.peripheral.ISpot
Get the Driver Registry.
getDriverRegistry() - Method in class com.sun.spot.peripheral.Spot
 
getExtendedBootloaderIdentificationString() - Method in class com.sun.spot.client.SpotState
 
getExternalBoardMap() - Method in interface com.sun.spot.peripheral.ISpot
Get the map of external boards.
getExternalBoardMap() - Method in class com.sun.spot.peripheral.Spot
 
getFAT() - Static method in class com.sun.spot.flashmanagement.FlashFile
Get a read-only representation of the FAT
GetFATCommand - Class in com.sun.spot.client.command
ShowFATCommand: retrieve the contents of the FAT.
GetFATCommand() - Constructor for class com.sun.spot.client.command.GetFATCommand
 
getFileInfo(String) - Method in interface com.sun.spot.client.IAdminTarget
Get information describing an flashmanagement.FlashFile on the target.
getFileInfos() - Method in interface com.sun.spot.flashmanagement.IFAT
 
getFiqInterruptDaemon() - Method in interface com.sun.spot.peripheral.ISpot
Get the FiqInterruptDaemon.
getFiqInterruptDaemon() - Method in class com.sun.spot.peripheral.Spot
 
getFirstSectorBaseAddress() - Method in class com.sun.spot.flashmanagement.FlashFile
For test purposes only
getFlashMemoryDevice() - Method in interface com.sun.spot.peripheral.ISpot
Get access to the flash memory on the Spot
getFlashMemoryDevice() - Method in class com.sun.spot.peripheral.Spot
 
getFreeSectorIndices() - Method in interface com.sun.spot.flashmanagement.IFAT
 
getGreenLed() - Method in interface com.sun.spot.peripheral.ISpot
Get access to the green LED on the Spot processor board.
getGreenLed() - Method in class com.sun.spot.peripheral.Spot
 
getHardwareType() - Method in interface com.sun.spot.peripheral.ISpot
Get the hardware type code for this device.
getHardwareType() - Method in class com.sun.spot.peripheral.Spot
 
getHash() - Method in class com.sun.spot.suiteconverter.Suite
 
getHost() - Method in class com.sun.spot.io.j2me.socket.ProxyInitializer
Returns the hostname to connect to
getI802_15_4_MAC() - Static method in class com.sun.spot.peripheral.radio.RadioFactory
Answer the interface for dealing with the radio at the I802.15.4 MAC level.
getI802_15_4_MACs() - Method in interface com.sun.spot.peripheral.ISpot
Get access to the I802.15.4 MAC layers
getI802_15_4_MACs() - Method in class com.sun.spot.peripheral.Spot
 
getI802_15_4_PHY() - Method in interface com.sun.spot.peripheral.ISpot
Get access to the physical I802.15.4 radio device
getI802_15_4_PHY() - Static method in class com.sun.spot.peripheral.radio.RadioFactory
Answer the interface for dealing with the radio at the I802.15.4 PHY level.
getI802_15_4_PHY() - Method in class com.sun.spot.peripheral.Spot
 
getInputStream() - Method in class com.sun.spot.client.Flashable
 
getInputStream() - Method in class com.sun.spot.client.SerialPortWrapper
 
getInputStream() - Method in class com.sun.spot.io.j2me.socket.SocketConnection
Get a SocketInputStream object associated to this conneciton.
getInstance() - Static method in class com.sun.spot.io.j2me.remoteprinting.RemotePrintManager
 
getInstance() - Static method in class com.sun.spot.peripheral.Spot
 
getInstance() - Static method in class com.sun.squawk.security.signing.SigningService
Get the singleton instance of this class.
getIntResult(IProprietaryMAC) - Method in class com.sun.spot.peripheral.basestation.GetChannelAccessFailureCommand
 
getIntResult(IProprietaryMAC) - Method in class com.sun.spot.peripheral.basestation.GetNoAckCommand
 
getIntResult(IProprietaryMAC) - Method in class com.sun.spot.peripheral.basestation.GetNullPacketAfterAckWaitCommand
 
getIntResult(IProprietaryMAC) - Method in class com.sun.spot.peripheral.basestation.GetPLMETransmitCommand
 
getIntResult(IProprietaryMAC) - Method in class com.sun.spot.peripheral.basestation.GetWrongAckCommand
 
getIntResult(IProprietaryMAC) - Method in class com.sun.spot.peripheral.basestation.NoArgIntParameterCommand
 
getIProprietaryRadio() - Method in interface com.sun.spot.peripheral.ISpot
Get access to the radio via its proprietary (non-I802.15.4) interface.
getIProprietaryRadio() - Static method in class com.sun.spot.peripheral.radio.RadioFactory
Answer the interface for dealing with the radio features not implemented within the I802.15.4 standard.
getIProprietaryRadio() - Method in class com.sun.spot.peripheral.Spot
 
getKeyData() - Method in class com.sun.squawk.security.signing.ECPrivateKey
 
getLength() - Method in class com.sun.squawk.security.signing.ECDSASignature
Returns the byte length of the signature data.
getLength() - Method in class com.sun.squawk.security.signing.SHA
Returns the byte length of the hash.
getLibPath() - Method in interface com.sun.spot.client.ISpotClientCommandHelper
 
getLibraryHash() - Method in interface com.sun.spot.client.ISpotClientCommandHelper
 
getLTC3455() - Method in interface com.sun.spot.peripheral.ISpot
power control chip driver
getLTC3455() - Method in class com.sun.spot.peripheral.Spot
 
getManifestProperty(String, String) - Static method in class com.sun.spot.util.Utils
Get the value of a property from this suite's manifest (or the manifest of a parent suite).
getManifestProperty(String, int) - Static method in class com.sun.spot.util.Utils
Get the value of a property from this suite's manifest (or the manifest of a parent suite).
getMaxAvailableBufferSize() - Method in class com.sun.spot.dmamemory.DMAMemoryManager
 
getMaxAvailableBufferSize() - Method in interface com.sun.spot.dmamemory.IDMAMemoryManager
Find out the size of the biggest available DMA memory buffer
getMaxAvailableBufferSize() - Method in class com.sun.spot.dmamemory.proxy.ProxyDMAMemoryManager
 
getMode() - Method in class com.sun.spot.client.SpotClientCommands
Answer the mode in which the SpotClient is operating.
getName() - Method in class com.sun.spot.client.command.BlinkCommand
 
getName() - Method in class com.sun.spot.client.command.DeletePublicKeyCommand
 
getName() - Method in class com.sun.spot.client.command.DeleteSystemPropertyCommand
 
getName() - Method in class com.sun.spot.client.command.FlashAppCommand
 
getName() - Method in class com.sun.spot.client.command.FlashBootloaderCommand
 
getName() - Method in class com.sun.spot.client.command.FlashBootstrapCommand
 
getName() - Method in class com.sun.spot.client.command.FlashConfigCommand
 
getName() - Method in class com.sun.spot.client.command.FlashLibCommand
 
getName() - Method in class com.sun.spot.client.command.FlashManufacturingImageCommand
 
getName() - Method in class com.sun.spot.client.command.FlashVMCommand
 
getName() - Method in class com.sun.spot.client.command.GetCmdLineParamsCommand
 
getName() - Method in class com.sun.spot.client.command.GetFATCommand
 
getName() - Method in class com.sun.spot.client.command.GetSystemPropertiesCommand
 
getName() - Method in class com.sun.spot.client.command.HelloCommand
 
getName() - Method in interface com.sun.spot.client.command.ISpotClientCommand
 
getName() - Method in class com.sun.spot.client.command.QuitCommand
 
getName() - Method in class com.sun.spot.client.command.ReadConfigPageCommand
 
getName() - Method in class com.sun.spot.client.command.ReadSectorCommand
 
getName() - Method in class com.sun.spot.client.command.ResetConfigPageCommand
 
getName() - Method in class com.sun.spot.client.command.ResetFATCommand
 
getName() - Method in class com.sun.spot.client.command.ResetLibCommand
 
getName() - Method in class com.sun.spot.client.command.ResetSystemPropertiesCommand
 
getName() - Method in class com.sun.spot.client.command.SetCmdLineParamsCommand
 
getName() - Method in class com.sun.spot.client.command.SetPublicKeyCommand
 
getName() - Method in class com.sun.spot.client.command.SetSerialNumberCommand
 
getName() - Method in class com.sun.spot.client.command.SetSlowStartupCommand
 
getName() - Method in class com.sun.spot.client.command.SetSystemPropertyCommand
 
getName() - Method in class com.sun.spot.client.command.SetTimeCommand
 
getName() - Method in class com.sun.spot.client.command.StartAppCommand
 
getName() - Method in class com.sun.spot.client.command.SynchronizeCommand
 
getName() - Method in class com.sun.spot.client.Flashable
 
getName() - Method in class com.sun.spot.client.ui.InfoCommand
 
getName() - Method in class com.sun.spot.flashmanagement.FlashFile
Get the name of this file
getName() - Method in interface com.sun.spot.flashmanagement.IFlashFileInfo
Get the name of this file
GetNoAckCommand - Class in com.sun.spot.peripheral.basestation
 
GetNoAckCommand() - Constructor for class com.sun.spot.peripheral.basestation.GetNoAckCommand
 
GetNoAckCommand - Static variable in class com.sun.spot.peripheral.basestation.MACCommand
 
GetNullPacketAfterAckWaitCommand - Class in com.sun.spot.peripheral.basestation
 
GetNullPacketAfterAckWaitCommand() - Constructor for class com.sun.spot.peripheral.basestation.GetNullPacketAfterAckWaitCommand
 
GetNullPacketAfterAckWaitCommand - Static variable in class com.sun.spot.peripheral.basestation.MACCommand
 
getOTACommandServer() - Method in interface com.sun.spot.peripheral.ISpot
Get the OTA Command Server, creating one if necessary
getOTACommandServer() - Method in class com.sun.spot.peripheral.Spot
 
getOutputStream() - Method in class com.sun.spot.client.SerialPortWrapper
 
getOutputStream() - Method in class com.sun.spot.io.j2me.socket.SocketConnection
Get a SocketOutputStream object associated to this conneciton.
getParent() - Method in class com.sun.spot.suiteconverter.Suite
 
getPersistentProperties() - Method in interface com.sun.spot.peripheral.ISpot
Get all the persistent properties, as held in the flash memory
getPersistentProperties() - Method in class com.sun.spot.peripheral.Spot
 
getPersistentProperty(String) - Method in interface com.sun.spot.peripheral.ISpot
Get a persistent property, as held in the flash memory
getPersistentProperty(String) - Method in class com.sun.spot.peripheral.Spot
 
GetPLMETransmitCommand - Class in com.sun.spot.peripheral.basestation
 
GetPLMETransmitCommand() - Constructor for class com.sun.spot.peripheral.basestation.GetPLMETransmitCommand
 
GetPLMETransmitCommand - Static variable in class com.sun.spot.peripheral.basestation.MACCommand
 
getPort() - Method in class com.sun.spot.io.j2me.socket.ProxyInitializer
Returns the port number to connect to
getPortInt() - Method in class com.sun.spot.io.j2me.socket.ProxyInitializer
Returns the port number to connect to
getPowerController() - Method in interface com.sun.spot.peripheral.ISpot
Get the PowerController - the AVR on the spot.
getPowerController() - Method in class com.sun.spot.peripheral.Spot
 
getPrivate() - Method in class com.sun.squawk.security.signing.ECKeyPair
Returns a reference to the private key component of this KeyPair object.
getProperties() - Method in class com.sun.spot.client.SpotPropertiesManager
Answer a Properties containing all the persistent system properties from the SPOT.
getProperty(String) - Method in class com.sun.spot.util.Properties
Searches for the property with the specified key in this property list.
getProperty(String, String) - Method in class com.sun.spot.util.Properties
Searches for the property with the specified key in this property list.
getPublic() - Method in class com.sun.squawk.security.signing.ECKeyPair
Returns a reference to the public key component of this KeyPair object.
getPublicECKeyFromX962Encoding(byte[], int, int) - Static method in class com.sun.squawk.security.signing.KeyUtil
gets the ECPublicKey from the X9.62 encoding in a byte array
getPublicECKeyFromX962Encoding(byte[]) - Static method in class com.sun.squawk.security.signing.KeyUtil
gets the ECPublicKey from the X962 encoding in a byte array
getPublicECKeyFromX962Encoding(String) - Static method in class com.sun.squawk.security.signing.KeyUtil
gets the ECPublicKey from the X962 encoding in a String
getPublicKey() - Method in interface com.sun.spot.peripheral.ISpot
Get the Public Key used to sign and verify application and library suites, and the config page.
getPublicKey() - Method in class com.sun.spot.peripheral.Spot
 
getPublicKeyBytes() - Method in class com.sun.squawk.security.signing.SigningService
Returns encoded SDK public key.
getRadioPolicyManager() - Method in interface com.sun.spot.peripheral.ISpot
Get the singleton radio policy manager
getRadioPolicyManager() - Method in class com.sun.spot.peripheral.Spot
 
getRedLed() - Method in interface com.sun.spot.peripheral.ISpot
Get access to the red LED on the Spot processor board.
getRedLed() - Method in class com.sun.spot.peripheral.Spot
 
getResourceRegistry() - Method in interface com.sun.spot.peripheral.ISpot
Get the singleton resource registry
getResourceRegistry() - Method in class com.sun.spot.peripheral.Spot
 
getResult(int) - Method in class com.sun.spot.client.command.HelloResultList
 
getS(byte[], int) - Method in class com.sun.squawk.security.signing.ECPrivateKey
Returns the point of the curve comprising the public key in plain text form.
getSectorNumber() - Method in class com.sun.spot.client.command.FlashSectorContents
 
getSectorNumber() - Method in interface com.sun.spot.flashmanagement.IAddressableNorFlashSector
 
getSectorNumbers() - Method in interface com.sun.spot.flashmanagement.IExtendedFlashFileInfo
 
getSecuredSiliconArea() - Method in interface com.sun.spot.peripheral.ISpot
Get the SecuredSiliconArea
getSecuredSiliconArea() - Method in class com.sun.spot.peripheral.Spot
 
getSignature() - Method in class com.sun.spot.client.command.BlinkCommand
 
getSignature() - Method in class com.sun.spot.client.command.DeletePublicKeyCommand
 
getSignature() - Method in class com.sun.spot.client.command.DeleteSystemPropertyCommand
 
getSignature() - Method in class com.sun.spot.client.command.FlashAppCommand
 
getSignature() - Method in class com.sun.spot.client.command.FlashBootloaderCommand
 
getSignature() - Method in class com.sun.spot.client.command.FlashBootstrapCommand
 
getSignature() - Method in class com.sun.spot.client.command.FlashConfigCommand
 
getSignature() - Method in class com.sun.spot.client.command.FlashManufacturingImageCommand
 
getSignature() - Method in class com.sun.spot.client.command.FlashVMCommand
 
getSignature() - Method in class com.sun.spot.client.command.GetCmdLineParamsCommand
 
getSignature() - Method in class com.sun.spot.client.command.GetFATCommand
 
getSignature() - Method in class com.sun.spot.client.command.GetSystemPropertiesCommand
 
getSignature() - Method in class com.sun.spot.client.command.HelloCommand
 
getSignature() - Method in interface com.sun.spot.client.command.ISpotClientCommand
Answer the signature for execution of the command (see various constants SIGNATURE_...)
getSignature() - Method in class com.sun.spot.client.command.QuitCommand
 
getSignature() - Method in class com.sun.spot.client.command.ReadConfigPageCommand
 
getSignature() - Method in class com.sun.spot.client.command.ReadSectorCommand
 
getSignature() - Method in class com.sun.spot.client.command.ResetConfigPageCommand
 
getSignature() - Method in class com.sun.spot.client.command.ResetFATCommand
 
getSignature() - Method in class com.sun.spot.client.command.ResetSystemPropertiesCommand
 
getSignature() - Method in class com.sun.spot.client.command.SetCmdLineParamsCommand
 
getSignature() - Method in class com.sun.spot.client.command.SetPublicKeyCommand
 
getSignature() - Method in class com.sun.spot.client.command.SetSerialNumberCommand
 
getSignature() - Method in class com.sun.spot.client.command.SetSlowStartupCommand
 
getSignature() - Method in class com.sun.spot.client.command.SetSystemPropertyCommand
 
getSignature() - Method in class com.sun.spot.client.command.SetTimeCommand
 
getSignature() - Method in class com.sun.spot.client.command.StartAppCommand
 
getSignature() - Method in class com.sun.spot.client.command.SynchronizeCommand
 
getSignature() - Method in class com.sun.spot.client.ui.InfoCommand
 
getSize() - Method in class com.sun.squawk.security.signing.ECPrivateKey
 
getSleepManager() - Method in interface com.sun.spot.peripheral.ISpot
Get access to the sleep manager for the Spot
getSleepManager() - Method in class com.sun.spot.peripheral.Spot
 
getSocketMAC() - Static method in class com.sun.spot.peripheral.radio.RadioFactory
Answer the interface for accessing the socket MAC.
getSPI() - Method in interface com.sun.spot.peripheral.ISpot
Get access to the SPI interface.
getSPI() - Method in class com.sun.spot.peripheral.Spot
 
getSpotManager() - Method in interface com.sun.spot.client.IPrivateCommandHelper
 
getSpotPins() - Method in interface com.sun.spot.peripheral.ISpot
Get the singleton SpotPins instance.
getSpotPins() - Method in class com.sun.spot.peripheral.Spot
 
getSpotPropertiesManager() - Method in interface com.sun.spot.client.IPrivateCommandHelper
 
getStartAddressAsInt() - Method in interface com.sun.spot.flashmanagement.IAddressableNorFlashSector
 
getSysBinPath() - Method in interface com.sun.spot.client.ISpotClientCommandHelper
 
GetSystemPropertiesCommand - Class in com.sun.spot.client.command
GetSystemPropertiesCommand: answer the user-defined system properties available at run time on the SPOT.
GetSystemPropertiesCommand() - Constructor for class com.sun.spot.client.command.GetSystemPropertiesCommand
 
getSystemProperty(String, int) - Static method in class com.sun.spot.util.Utils
Get the value of a system property.
getSystemTicks() - Method in interface com.sun.spot.peripheral.ISpot
Return a tick count in the range of zero to ISpot.SYSTEM_TICKER_TICKS_PER_MILLISECOND.
getSystemTicks() - Method in class com.sun.spot.peripheral.Spot
 
getTimeout() - Method in interface com.sun.spot.peripheral.basestation.ICommand
 
getTimeout() - Method in class com.sun.spot.peripheral.basestation.MACCommand
 
getTimeout() - Method in class com.sun.spot.peripheral.basestation.ResetProxyCommand
 
getUID() - Method in interface com.sun.spot.peripheral.basestation.ICommand
 
getUID() - Method in class com.sun.spot.peripheral.basestation.MACCommand
 
getUsage() - Method in class com.sun.spot.client.command.BlinkCommand
 
getUsage() - Method in class com.sun.spot.client.command.DeletePublicKeyCommand
 
getUsage() - Method in class com.sun.spot.client.command.DeleteSystemPropertyCommand
 
getUsage() - Method in class com.sun.spot.client.command.FlashAppCommand
 
getUsage() - Method in class com.sun.spot.client.command.FlashBootloaderCommand
 
getUsage() - Method in class com.sun.spot.client.command.FlashBootstrapCommand
 
getUsage() - Method in class com.sun.spot.client.command.FlashConfigCommand
 
getUsage() - Method in class com.sun.spot.client.command.FlashLibCommand
 
getUsage() - Method in class com.sun.spot.client.command.FlashManufacturingImageCommand
 
getUsage() - Method in class com.sun.spot.client.command.FlashVMCommand
 
getUsage() - Method in class com.sun.spot.client.command.GetCmdLineParamsCommand
 
getUsage() - Method in class com.sun.spot.client.command.GetFATCommand
 
getUsage() - Method in class com.sun.spot.client.command.GetSystemPropertiesCommand
 
getUsage() - Method in class com.sun.spot.client.command.HelloCommand
 
getUsage() - Method in interface com.sun.spot.client.command.ISpotClientCommand
 
getUsage() - Method in class com.sun.spot.client.command.QuitCommand
 
getUsage() - Method in class com.sun.spot.client.command.ReadConfigPageCommand
 
getUsage() - Method in class com.sun.spot.client.command.ReadSectorCommand
 
getUsage() - Method in class com.sun.spot.client.command.ResetConfigPageCommand
 
getUsage() - Method in class com.sun.spot.client.command.ResetFATCommand
 
getUsage() - Method in class com.sun.spot.client.command.ResetLibCommand
 
getUsage() - Method in class com.sun.spot.client.command.ResetSystemPropertiesCommand
 
getUsage() - Method in class com.sun.spot.client.command.SetCmdLineParamsCommand
 
getUsage() - Method in class com.sun.spot.client.command.SetPublicKeyCommand
 
getUsage() - Method in class com.sun.spot.client.command.SetSerialNumberCommand
 
getUsage() - Method in class com.sun.spot.client.command.SetSlowStartupCommand
 
getUsage() - Method in class com.sun.spot.client.command.SetSystemPropertyCommand
 
getUsage() - Method in class com.sun.spot.client.command.SetTimeCommand
 
getUsage() - Method in class com.sun.spot.client.command.StartAppCommand
 
getUsage() - Method in class com.sun.spot.client.command.SynchronizeCommand
 
getUsage() - Method in class com.sun.spot.client.ui.InfoCommand
 
getUsbPowerDaemon() - Method in interface com.sun.spot.peripheral.ISpot
Get the usb power daemon
getUsbPowerDaemon() - Method in class com.sun.spot.peripheral.Spot
 
getVersionProperties() - Method in interface com.sun.spot.client.ISpotClientCommandHelper
 
getVirtualAddress() - Method in class com.sun.spot.flashmanagement.FlashFile
Get the virtual address of a mapped file
getVirtualAddress() - Method in interface com.sun.spot.flashmanagement.IFlashFileInfo
Get the virtual address of a mapped file
getVirtualStartAddressAsInt() - Method in interface com.sun.spot.flashmanagement.IAddressableNorFlashSector
 
GetWrongAckCommand - Class in com.sun.spot.peripheral.basestation
 
GetWrongAckCommand() - Constructor for class com.sun.spot.peripheral.basestation.GetWrongAckCommand
 
GetWrongAckCommand - Static variable in class com.sun.spot.peripheral.basestation.MACCommand
 

H

hardwareMajorRevision - Variable in class com.sun.spot.client.command.HelloResult
 
hardwareMinorRevision - Variable in class com.sun.spot.client.command.HelloResult
 
hashCode() - Method in class com.sun.spot.util.IEEEAddress
 
hasNoSDKKey() - Method in class com.sun.squawk.security.signing.SigningService
To determine whether a private key was loaded.
HelloCommand - Class in com.sun.spot.client.command
HelloCommand - get information about all reachable SPOTs.
HelloCommand() - Constructor for class com.sun.spot.client.command.HelloCommand
 
helloCommandMinorVersion - Variable in class com.sun.spot.client.command.HelloResult
 
helloCommandVersion - Variable in class com.sun.spot.client.command.HelloResult
 
HelloResult - Class in com.sun.spot.client.command
HelloResult: helper class for HelloCommand that represents the data obtained from one SPOT responding to a hello command.
HelloResult(Datagram, long) - Constructor for class com.sun.spot.client.command.HelloResult
 
HelloResultList - Class in com.sun.spot.client.command
HelloResultList is a helper class for HelloCommand.
HelloResultList(int, String, byte[]) - Constructor for class com.sun.spot.client.command.HelloResultList
 
HostNorFlashSectorFactory - Class in com.sun.spot.flashmanagement
HostNorFlashSectorFactory creates INorFlashSectors on the host so that host-side SpotClient can manipulate the sectors of the SPOT directly.
HostNorFlashSectorFactory(ITargetFlashAccess) - Constructor for class com.sun.spot.flashmanagement.HostNorFlashSectorFactory
Create a HostNorFlashSectorFactory

I

IAddressableNorFlashSector - Interface in com.sun.spot.flashmanagement
IAddressableNorFlashSector extends INorFlashSector to support the ability to assign virtual memory addresses to sectors.
IAdminTarget - Interface in com.sun.spot.client
IAdminTarget allows data to be sent to and from the admin command processor on a SPOT, either locally via USB or remotely via the radio.
IBootloaderListenerCallback - Interface in com.sun.spot.util
Callback interface from the BootloaderListener
IBootloaderTarget - Interface in com.sun.spot.client
IBootloaderTarget allows data to be sent to and from the bootloader executing on a SPOT connected locally.
ICommand - Interface in com.sun.spot.peripheral.basestation
 
ICreateExceptions - Interface in com.sun.spot.peripheral.basestation
 
ICreateExceptions.Ignored - Interface in com.sun.spot.peripheral.basestation
 
IDMAMemoryManager - Interface in com.sun.spot.dmamemory
Interface to a manager of uncached memory suitable for use as DMA buffers.
IEEEAddress - Class in com.sun.spot.util
 
IEEEAddress(long) - Constructor for class com.sun.spot.util.IEEEAddress
 
IEEEAddress(String) - Constructor for class com.sun.spot.util.IEEEAddress
 
IExtendedFlashFileInfo - Interface in com.sun.spot.flashmanagement
IExtendedFlashFileInfo extends IFlashFileInfo to provide access to the physical flash sectors allocated to the flash file that the IExtendedFlashFileInfo represents.
IFAT - Interface in com.sun.spot.flashmanagement
IFAT provides information about the FAT (file allocation table) data that underpins the FlashFile system on the Sun SPOT device.
IFlashFileInfo - Interface in com.sun.spot.flashmanagement
IFlashFileInfo provides a read-only interface to files in the flash filing system
INCOMING_QUEUE_HIGH_WATER - Static variable in class com.sun.spot.peripheral.basestation.MCPSDataIndicationCommand
 
INCOMING_QUEUE_LOW_WATER - Static variable in class com.sun.spot.peripheral.basestation.MCPSDataIndicationCommand
 
info(String) - Method in class com.sun.spot.client.DummySpotClientUI
 
info(String) - Method in interface com.sun.spot.client.ISpotClientCommandHelper
Publish information to the user interface.
info(String) - Method in interface com.sun.spot.client.IUI
Callback the SpotClient uses to provide information messages relating to the operation it's executing.
info(String) - Method in class com.sun.spot.client.RemoteLogger
 
info(String) - Method in class com.sun.spot.client.SerialPortLogger
 
info(String) - Method in class com.sun.spot.client.ui.SpotClientCommandLineUI
 
InfoCommand - Class in com.sun.spot.client.ui
InfoCommand show information about the spot
InfoCommand() - Constructor for class com.sun.spot.client.ui.InfoCommand
 
init(ECPrivateKey) - Method in class com.sun.squawk.security.signing.ECDSASignature
Initializes the Signature object with the appropriate Key.
init(ECPublicKey) - Method in class com.sun.squawk.security.signing.ECDSASignature
Initializes the Signature object with the appropriate Key.
INITIALIZER - Static variable in class com.sun.spot.io.j2me.socket.ProxyInitializer
 
initOk - Variable in class com.sun.squawk.security.signing.ECPrivateKey
Flag indicating if the key has been initialized.
INorFlashSectorFactory - Interface in com.sun.spot.flashmanagement
INorFlashSectorFactory creates instances of IAddressableNorFlashSector.
IPrivateCommandHelper - Interface in com.sun.spot.client
IPrivateCommandHelper is an extension of ISpotClientCommandHelper that is intended for use only by the built-in bootloader commands.
IRemotePrintManager - Interface in com.sun.spot.io.j2me.remoteprinting
 
isAddressed() - Method in class com.sun.spot.flashmanagement.FlashFile
Check whether this file has a virtual address.
isBootloaderUpToDate() - Method in interface com.sun.spot.client.ISpotClientCommandHelper
 
isBootloaderUpToDate() - Method in interface com.sun.spot.client.ISpotManager
 
isBootloaderUpToDate() - Method in class com.sun.spot.client.SpotState
 
isEmpty() - Method in class com.sun.spot.util.Queue
Answer whether the receiver is empty.
isExternallyPowered - Variable in class com.sun.spot.client.command.HelloResult
 
isInitialized() - Method in class com.sun.squawk.security.signing.ECPrivateKey
 
isMapped() - Method in class com.sun.spot.flashmanagement.FlashFile
Check whether this file is mapped.
isMasterIsolate() - Method in interface com.sun.spot.peripheral.ISpot
 
isMasterIsolate() - Method in class com.sun.spot.peripheral.Spot
 
isObsolete() - Method in class com.sun.spot.flashmanagement.FlashFile
Check whether the file with this name is obsolete
isObsolete() - Method in interface com.sun.spot.flashmanagement.IFlashFileInfo
Check whether the file with this name is obsolete
isOptionSelected(String, boolean) - Static method in class com.sun.spot.util.Utils
Test whether a boolean option is set in the system properties
ISpot - Interface in com.sun.spot.peripheral
The interface to the root object of the Spot base library.
ISpotClientCommand - Interface in com.sun.spot.client.command
ISpotClientCommand A command that can be executed by the SpotClient infrastructure.
ISpotClientCommandHelper - Interface in com.sun.spot.client
ISpotClientCommandHelper provides useful facilities to executing ISpotClientCommands.
ISpotClientExtension - Interface in com.sun.spot.client
ISpotClientExtension An interface which extenders of the standard SpotClient command set must implement.
ISpotManager - Interface in com.sun.spot.client
ISpotManager is not intended for direct use by new instances of ISpotClientCommand, which should normally use the facilities available via ISpotClientCommandHelper, IAdminTarget and by executing other built-in instances of ISpotClientCommand such as SynchronizeCommand and QuitCommand.
isRemote() - Method in interface com.sun.spot.client.ISpotClientCommandHelper
 
isRemote() - Method in interface com.sun.spot.client.ISpotManager
 
isRunningOnHost() - Method in interface com.sun.spot.peripheral.ISpot
 
isRunningOnHost() - Method in class com.sun.spot.peripheral.Spot
 
ITargetFlashAccess - Interface in com.sun.spot.client
ITargetFlashAccess provides sector-level access to the flash memory of a locally connected SPOT.
IUI - Interface in com.sun.spot.client
Interface that must be implemented by the Spot Client UI component.

K

keyData - Variable in class com.sun.squawk.security.signing.ECPrivateKey
 
keyLength - Variable in class com.sun.squawk.security.signing.ECPrivateKey
 
KeyUtil - Class in com.sun.squawk.security.signing
The KeyUtil class provides functions to encode and decode ECPublicKeys in the X9.62 encoding.
KeyUtil() - Constructor for class com.sun.squawk.security.signing.KeyUtil
 

L

LAST_FILE_VIRTUAL_ADDRESS - Static variable in class com.sun.spot.flashmanagement.FlashFile
The highest valid virtual address that can be allocated to a file
lastModified() - Method in class com.sun.spot.flashmanagement.FlashFile
Get the time at which this file was last modified
lastModified() - Method in interface com.sun.spot.flashmanagement.IFlashFileInfo
Get the time at which this file was last modified
length() - Method in class com.sun.spot.client.Flashable
 
length() - Method in class com.sun.spot.flashmanagement.FlashFile
Get the length of the file with this name
length() - Method in interface com.sun.spot.flashmanagement.IFlashFileInfo
Get the length of the file with this name
libraryHash - Variable in class com.sun.spot.client.command.HelloResult
 
list(PrintStream) - Method in class com.sun.spot.util.Properties
Prints this property list out to the specified output stream.
load(InputStream) - Method in class com.sun.spot.util.Properties
Reads a property list (key and element pairs) from the input stream.
loadFromFile(String, String, int[]) - Method in class com.sun.spot.suiteconverter.Suite
Load a suite file from a File.
loadFromStream(DataInputStream, String, int[]) - Method in class com.sun.spot.suiteconverter.Suite
Load a suite file from a DataInputStream.
log(String) - Static method in class com.sun.spot.util.Utils
Display a log message if the "spot.diagnostics" property is set
logicalToPhysical(String) - Static method in class com.sun.spot.peripheral.radio.SpotNameLookup
 

M

MACCommand - Class in com.sun.spot.peripheral.basestation
 
MACCommand() - Constructor for class com.sun.spot.peripheral.basestation.MACCommand
 
MACProxyServer - Class in com.sun.spot.peripheral.basestation
 
MACProxyServer(SpotSerialPipe) - Constructor for class com.sun.spot.peripheral.basestation.MACProxyServer
 
MACProxyServer.LedManager - Class in com.sun.spot.peripheral.basestation
 
MACProxyServer.LedManager() - Constructor for class com.sun.spot.peripheral.basestation.MACProxyServer.LedManager
 
main(String[]) - Static method in class com.sun.spot.client.RemoteLogger
Launch a RemoteLogger.
main(String[]) - Static method in class com.sun.spot.client.SerialPortLogger
 
main(String[]) - Static method in class com.sun.spot.client.ui.SpotClientCommandLineUI
Run SpotClient with command line user interface.
main(String[]) - Static method in class com.sun.spot.peripheral.basestation.BaseStation
A main method that allows this class to be used as a startup class
main(String[]) - Static method in class com.sun.spot.peripheral.radio.BasestationManager
Wrapper to allow launching from command line
main(String[]) - Static method in class com.sun.spot.peripheral.radio.BasestationManagerGUI
 
main(String[]) - Static method in class com.sun.spot.util.DummyApp
A main method that allows this class to be used as a startup class
main(String[]) - Static method in class com.sun.spot.util.PrettyPrint
 
map() - Method in class com.sun.spot.flashmanagement.FlashFile
Cause the file with this name to become a mapped file.
MAX_CLOCK_SKEW - Static variable in class com.sun.spot.client.command.HelloCommand
 
MAX_HOPS - Static variable in class com.sun.spot.client.command.HelloCommand
 
MCLK_FREQUENCY - Static variable in interface com.sun.spot.peripheral.ISpot
Frequency of ARM master clock
MCPSDataIndicationCommand - Static variable in class com.sun.spot.peripheral.basestation.MACCommand
 
MCPSDataIndicationCommand - Class in com.sun.spot.peripheral.basestation
 
MCPSDataIndicationCommand() - Constructor for class com.sun.spot.peripheral.basestation.MCPSDataIndicationCommand
 
MCPSDataRequestCommand - Static variable in class com.sun.spot.peripheral.basestation.MACCommand
 
MCPSDataRequestCommand - Class in com.sun.spot.peripheral.basestation
 
MCPSDataRequestCommand() - Constructor for class com.sun.spot.peripheral.basestation.MCPSDataRequestCommand
 
mkECCertBytes(String, ECPublicKey) - Method in class com.sun.squawk.security.signing.SigningService
Creates an X.509 certificate for the given subject and key that is signed by the SDK's private key.
MLMEGetCommand - Static variable in class com.sun.spot.peripheral.basestation.MACCommand
 
MLMEGetCommand - Class in com.sun.spot.peripheral.basestation
 
MLMEGetCommand() - Constructor for class com.sun.spot.peripheral.basestation.MLMEGetCommand
 
MLMEResetCommand - Static variable in class com.sun.spot.peripheral.basestation.MACCommand
 
MLMEResetCommand - Class in com.sun.spot.peripheral.basestation
 
MLMEResetCommand() - Constructor for class com.sun.spot.peripheral.basestation.MLMEResetCommand
 
MLMERxEnableCommand - Static variable in class com.sun.spot.peripheral.basestation.MACCommand
 
MLMERxEnableCommand - Class in com.sun.spot.peripheral.basestation
 
MLMERxEnableCommand() - Constructor for class com.sun.spot.peripheral.basestation.MLMERxEnableCommand
 
MLMESetCommand - Static variable in class com.sun.spot.peripheral.basestation.MACCommand
 
MLMESetCommand - Class in com.sun.spot.peripheral.basestation
 
MLMESetCommand() - Constructor for class com.sun.spot.peripheral.basestation.MLMESetCommand
 
MLMEStartCommand - Static variable in class com.sun.spot.peripheral.basestation.MACCommand
 
MLMEStartCommand - Class in com.sun.spot.peripheral.basestation
 
MLMEStartCommand() - Constructor for class com.sun.spot.peripheral.basestation.MLMEStartCommand
 
MODE_LOCAL - Static variable in class com.sun.spot.client.SpotClientCommands
value returned from SpotClientCommands.getMode() when there is a locally connected SPOT
MODE_REMOTE_NON_SPECIFIC - Static variable in class com.sun.spot.client.SpotClientCommands
value returned from SpotClientCommands.getMode() when there is no specific SPOT
MODE_REMOTE_SPECIFIC - Static variable in class com.sun.spot.client.SpotClientCommands
value returned from SpotClientCommands.getMode() when there is a remotely connected SPOT
MutableBoolean - Class in com.sun.spot.util
 
MutableBoolean(boolean) - Constructor for class com.sun.spot.util.MutableBoolean
 

N

NAME - Static variable in class com.sun.spot.client.command.BlinkCommand
 
NAME - Static variable in class com.sun.spot.client.command.DeletePublicKeyCommand
 
NAME - Static variable in class com.sun.spot.client.command.DeleteSystemPropertyCommand
 
NAME - Static variable in class com.sun.spot.client.command.FlashAppCommand
 
NAME - Static variable in class com.sun.spot.client.command.FlashBootloaderCommand
 
NAME - Static variable in class com.sun.spot.client.command.FlashBootstrapCommand
 
NAME - Static variable in class com.sun.spot.client.command.FlashConfigCommand
 
NAME - Static variable in class com.sun.spot.client.command.FlashLibCommand
 
NAME - Static variable in class com.sun.spot.client.command.FlashManufacturingImageCommand
 
NAME - Static variable in class com.sun.spot.client.command.FlashVMCommand
 
NAME - Static variable in class com.sun.spot.client.command.GetCmdLineParamsCommand
 
NAME - Static variable in class com.sun.spot.client.command.GetFATCommand
 
NAME - Static variable in class com.sun.spot.client.command.GetSystemPropertiesCommand
 
NAME - Static variable in class com.sun.spot.client.command.HelloCommand
 
name - Variable in class com.sun.spot.client.command.HelloResult
 
NAME - Static variable in class com.sun.spot.client.command.QuitCommand
 
NAME - Static variable in class com.sun.spot.client.command.ReadConfigPageCommand
 
NAME - Static variable in class com.sun.spot.client.command.ReadSectorCommand
 
NAME - Static variable in class com.sun.spot.client.command.ResetConfigPageCommand
 
NAME - Static variable in class com.sun.spot.client.command.ResetFATCommand
 
NAME - Static variable in class com.sun.spot.client.command.ResetLibCommand
 
NAME - Static variable in class com.sun.spot.client.command.ResetSystemPropertiesCommand
 
NAME - Static variable in class com.sun.spot.client.command.SetCmdLineParamsCommand
 
NAME - Static variable in class com.sun.spot.client.command.SetPublicKeyCommand
 
NAME - Static variable in class com.sun.spot.client.command.SetSerialNumberCommand
 
NAME - Static variable in class com.sun.spot.client.command.SetSlowStartupCommand
 
NAME - Static variable in class com.sun.spot.client.command.SetSystemPropertyCommand
 
NAME - Static variable in class com.sun.spot.client.command.SetTimeCommand
 
NAME - Static variable in class com.sun.spot.client.command.StartAppCommand
 
NAME - Static variable in class com.sun.spot.client.command.SynchronizeCommand
 
NAME - Static variable in class com.sun.spot.client.ui.InfoCommand
 
newProgress(int, int, String) - Method in class com.sun.spot.client.DummySpotClientUI
 
newProgress(int, int, String) - Method in interface com.sun.spot.client.IUI
Callback the SpotClient uses to announce a new operation for which it will provide progress information.
newProgress(int, int, String) - Method in class com.sun.spot.client.RemoteLogger
 
newProgress(int, int, String) - Method in class com.sun.spot.client.SerialPortLogger
 
newProgress(int, int, String) - Method in class com.sun.spot.client.ui.SpotClientCommandLineUI
 
NoArgIntParameterCommand - Class in com.sun.spot.peripheral.basestation
 
NoArgIntParameterCommand() - Constructor for class com.sun.spot.peripheral.basestation.NoArgIntParameterCommand
 
NotEnoughDMAMemoryException - Exception in com.sun.spot.dmamemory
The exception that is thrown if a request for DMA memory cannot be satisfied
NotEnoughDMAMemoryException(String) - Constructor for exception com.sun.spot.dmamemory.NotEnoughDMAMemoryException
 
noteRedirection(String) - Method in interface com.sun.spot.io.j2me.remoteprinting.IRemotePrintManager
Called when streams get redirected to ensure that RemotePrintManager can later cancel the redirection if necessary.
noteRedirection(String) - Method in class com.sun.spot.io.j2me.remoteprinting.RemotePrintManager
 

O

ownerId - Variable in class com.sun.spot.client.command.HelloResult
 
ownerKeysMatch(ISpotClientCommandHelper) - Method in class com.sun.spot.client.ui.InfoCommand
 

P

populateFrom(byte[], int) - Method in interface com.sun.spot.peripheral.basestation.ICommand
 
populateFrom(byte[], int) - Method in class com.sun.spot.peripheral.basestation.MACCommand
 
populateFrom(byte[], int) - Method in class com.sun.spot.peripheral.basestation.MCPSDataRequestCommand
 
populateFrom(byte[], int) - Method in class com.sun.spot.peripheral.basestation.MLMEGetCommand
 
populateFrom(byte[], int) - Method in class com.sun.spot.peripheral.basestation.MLMEResetCommand
 
populateFrom(byte[], int) - Method in class com.sun.spot.peripheral.basestation.MLMERxEnableCommand
 
populateFrom(byte[], int) - Method in class com.sun.spot.peripheral.basestation.MLMESetCommand
 
populateFrom(byte[], int) - Method in class com.sun.spot.peripheral.basestation.MLMEStartCommand
 
populateFrom(byte[], int) - Method in class com.sun.spot.peripheral.basestation.SetPLMETransmitPowerCommand
 
prepareResultOrExecute(I802_15_4_MAC) - Method in class com.sun.spot.peripheral.basestation.MACCommand
 
prepareResultOrExecute(I802_15_4_MAC) - Method in class com.sun.spot.peripheral.basestation.MCPSDataIndicationCommand
 
prepareResultOrExecute(I802_15_4_MAC) - Method in class com.sun.spot.peripheral.basestation.MCPSDataRequestCommand
 
prepareResultOrExecute(I802_15_4_MAC) - Method in class com.sun.spot.peripheral.basestation.MLMEGetCommand
 
prepareResultOrExecute(I802_15_4_MAC) - Method in class com.sun.spot.peripheral.basestation.MLMEResetCommand
 
prepareResultOrExecute(I802_15_4_MAC) - Method in class com.sun.spot.peripheral.basestation.MLMERxEnableCommand
 
prepareResultOrExecute(I802_15_4_MAC) - Method in class com.sun.spot.peripheral.basestation.MLMESetCommand
 
prepareResultOrExecute(I802_15_4_MAC) - Method in class com.sun.spot.peripheral.basestation.MLMEStartCommand
 
prepareResultOrExecute(I802_15_4_MAC) - Method in class com.sun.spot.peripheral.basestation.NoArgIntParameterCommand
 
prepareResultOrExecute(I802_15_4_MAC) - Method in class com.sun.spot.peripheral.basestation.ResetProxyCommand
 
prepareResultOrExecute(I802_15_4_MAC) - Method in class com.sun.spot.peripheral.basestation.SetPLMETransmitPowerCommand
 
prepareToExit() - Method in interface com.sun.spot.util.IBootloaderListenerCallback
Notification from the BootloaderListener that a bootloader command has been detected on the serial/USB connection.
PrettyPrint - Class in com.sun.spot.util
 
PrettyPrint() - Constructor for class com.sun.spot.util.PrettyPrint
 
prettyPrint(byte[]) - Static method in class com.sun.spot.util.PrettyPrint
Converts a byte array to a pretty printed string of the kind shown below 0000 - 16 03 00 00 38 ee ba df-fa fa 64 0c 45 5e 11 e3 ....8.....d.E^.. 0010 - 5a 0f 11 33 48 23 d8 02-ad 17 9b 45 03 dd f6 7d Z..3H#.....E...} 0020 - 88 91 d4 2c e1 2e 78 da-5a 6f 2c 39 98 0e 38 d5 ...,..x.Zo,9..8. 0030 - bb 29 .)
prettyPrint(byte[], int, int) - Static method in class com.sun.spot.util.PrettyPrint
Converts a subsequence of bytes in a byte array into a pretty printed string of the kind shown below 0000 - 16 03 00 00 38 ee ba df-fa fa 64 0c 45 5e 11 e3 ....8.....d.E^.. 0010 - 5a 0f 11 33 48 23 d8 02-ad 17 9b 45 03 dd f6 7d Z..3H#.....E...} 0020 - 88 91 d4 2c e1 2e 78 da-5a 6f 2c 39 98 0e 38 d5 ...,..x.Zo,9..8. 0030 - bb 29 .)
prettyPrint(StringBuffer, byte[], int, int) - Static method in class com.sun.spot.util.PrettyPrint
Appends a subsequence of bytes in a byte array into a pretty printed StringBuffer of the kind shown below 0000 - 16 03 00 00 38 ee ba df-fa fa 64 0c 45 5e 11 e3 ....8.....d.E^.. 0010 - 5a 0f 11 33 48 23 d8 02-ad 17 9b 45 03 dd f6 7d Z..3H#.....E...} 0020 - 88 91 d4 2c e1 2e 78 da-5a 6f 2c 39 98 0e 38 d5 ...,..x.Zo,9..8. 0030 - bb 29 .)
progressEnd(String) - Method in class com.sun.spot.client.DummySpotClientUI
 
progressEnd(String) - Method in interface com.sun.spot.client.IUI
Callback the SpotClient uses to announce the end of the current operation for which it is providing progress information.
progressEnd(String) - Method in class com.sun.spot.client.RemoteLogger
 
progressEnd(String) - Method in class com.sun.spot.client.SerialPortLogger
 
progressEnd(String) - Method in class com.sun.spot.client.ui.SpotClientCommandLineUI
 
progressUpdate(int, String) - Method in class com.sun.spot.client.DummySpotClientUI
 
progressUpdate(int, String) - Method in interface com.sun.spot.client.IUI
Callback the SpotClient uses to update progress for lengthy operations.
progressUpdate(int, String) - Method in class com.sun.spot.client.RemoteLogger
 
progressUpdate(int, String) - Method in class com.sun.spot.client.SerialPortLogger
 
progressUpdate(int, String) - Method in class com.sun.spot.client.ui.SpotClientCommandLineUI
 
Properties - Class in com.sun.spot.util
The Properties class represents a persistent set of properties.
Properties() - Constructor for class com.sun.spot.util.Properties
Creates an empty property list with no default values.
Properties(Properties) - Constructor for class com.sun.spot.util.Properties
Creates an empty property list with the specified defaults.
PROPERTY_SPOT_DIAGNOSTICS - Static variable in interface com.sun.spot.peripheral.ISpot
System property that if true enables output of log messages on System.err
propertyNames() - Method in class com.sun.spot.util.Properties
Returns an enumeration of all the keys in this property list, including distinct keys in the default property list if a key of the same name has not already been found from the main properties list.
ProxyDMAMemoryManager - Class in com.sun.spot.dmamemory.proxy
Acts as a proxy for DMAMemoryManager in child isolates
ProxyDMAMemoryManager() - Constructor for class com.sun.spot.dmamemory.proxy.ProxyDMAMemoryManager
For use by the SPOT library only - to get a handle to a DMA Memory Manager use Spot.getInstance().getDMAMemoryManager()
ProxyInitializer - Class in com.sun.spot.io.j2me.socket
Handles the string used to initialize a connection between a SocketConnection and the socket proxy on the host.
ProxyInitializer(String, String) - Constructor for class com.sun.spot.io.j2me.socket.ProxyInitializer
Create a ProxyInitializer object from a host and port string
ProxyInitializer(String) - Constructor for class com.sun.spot.io.j2me.socket.ProxyInitializer
Create a ProxyInitializer from a initializer string formatted using the ProxyInitializer format "connect "
PseudoRand - Class in com.sun.squawk.security.signing
Implements a pseudo random number generator.
PseudoRand() - Constructor for class com.sun.squawk.security.signing.PseudoRand
Constructor for random data.
put(Object) - Method in class com.sun.spot.util.Queue
Add an element to the receiver.
putDataWithCRC(DataOutputStream, byte[], int, int) - Static method in class com.sun.spot.util.Utils
Put data onto a stream, adding a CRC.

Q

Queue - Class in com.sun.spot.util
Implements a fully synchronised FIFO queue of Objects.
Queue() - Constructor for class com.sun.spot.util.Queue
 
quit() - Method in class com.sun.spot.client.DummySpotClientUI
 
quit() - Method in interface com.sun.spot.client.ISpotManager
Quit: release all system resources.
quit() - Method in interface com.sun.spot.client.IUI
Callback the SpotClient uses when it wants to exit.
quit() - Method in class com.sun.spot.client.RemoteLogger
RemoteLogger ignores quit and should not be called.
quit() - Method in class com.sun.spot.client.SerialPortLogger
RemoteLogger ignores quit and should not be called.
quit() - Method in class com.sun.spot.client.ui.SpotClientCommandLineUI
 
QuitCommand - Class in com.sun.spot.client.command
QuitCommand quit SpotClient
QuitCommand() - Constructor for class com.sun.spot.client.command.QuitCommand
 
quitUI() - Method in interface com.sun.spot.client.IPrivateCommandHelper
Send IUI.quit() to the IUI

R

RadioFactory - Class in com.sun.spot.peripheral.radio
Static factory for public access to the radio in various guises.
read(byte[], int, int) - Method in class com.sun.spot.flashmanagement.FlashFileInputStream
 
read() - Method in class com.sun.spot.flashmanagement.FlashFileInputStream
 
read() - Method in class com.sun.spot.io.j2me.socket.SocketProtocolInputStream
Read data from the stream.
readBigEndInt(byte[], int) - Static method in class com.sun.spot.util.Utils
Read a big-endian int from an array
readBigEndLong(byte[], int) - Static method in class com.sun.spot.util.Utils
Read a big-endian long from an array
readBigEndShort(byte[], int) - Static method in class com.sun.spot.util.Utils
Read a big-endian short from an array
ReadConfigPageCommand - Class in com.sun.spot.client.command
ReadConfigPageCommand answer the config page already cached inside the SpotClient.
ReadConfigPageCommand() - Constructor for class com.sun.spot.client.command.ReadConfigPageCommand
 
readLittleEndInt(byte[], int) - Static method in class com.sun.spot.util.Utils
Read a little-endian int from an array
readLittleEndLong(byte[], int) - Static method in class com.sun.spot.util.Utils
Read a little-endian long from an array
readLittleEndShort(byte[], int) - Static method in class com.sun.spot.util.Utils
Read a little-endian short from an array
readLong(String) - Static method in class com.sun.spot.util.Utils
Parse a decimal or hexadecimal string to get a long.
readNumber(String) - Static method in class com.sun.spot.util.Utils
Parse a decimal or hexadecimal string to get an int.
readResultFrom(DataInputStream) - Method in class com.sun.spot.peripheral.basestation.MACCommand
 
readResultFrom(DataInputStream) - Method in class com.sun.spot.peripheral.basestation.MCPSDataIndicationCommand
 
readResultFrom(DataInputStream) - Method in class com.sun.spot.peripheral.basestation.MCPSDataRequestCommand
 
readResultFrom(DataInputStream) - Method in class com.sun.spot.peripheral.basestation.MLMEGetCommand
 
readResultFrom(DataInputStream) - Method in class com.sun.spot.peripheral.basestation.NoArgIntParameterCommand
 
readSector(int) - Method in interface com.sun.spot.client.IBootloaderTarget
Return the contents of the given sector in the target's flash memory.
readSector(int) - Method in interface com.sun.spot.client.ITargetFlashAccess
Read the contents of a flash sector
ReadSectorCommand - Class in com.sun.spot.client.command
ReadSectorCommand Read and display a sector of data from the SPOT's flash memory.
ReadSectorCommand() - Constructor for class com.sun.spot.client.command.ReadSectorCommand
 
redirectOutputStreams(String) - Method in interface com.sun.spot.io.j2me.remoteprinting.IRemotePrintManager
Start directing output streams to the basestation specified
redirectOutputStreams(String) - Method in class com.sun.spot.io.j2me.remoteprinting.RemotePrintManager
 
releaseBuffer(int) - Method in class com.sun.spot.dmamemory.DMAMemoryManager
 
releaseBuffer(int) - Method in interface com.sun.spot.dmamemory.IDMAMemoryManager
Release a previously allocated buffer
releaseBuffer(int) - Method in class com.sun.spot.dmamemory.proxy.ProxyDMAMemoryManager
 
remoteAddress - Variable in class com.sun.spot.client.command.HelloResult
 
RemoteLogger - Class in com.sun.spot.client
RemoteLogger.
RemoteLogger(String, String, int, short, String, int) - Constructor for class com.sun.spot.client.RemoteLogger
Launch a RemoteLogger.
RemotePrintConnection - Interface in com.sun.spot.io.j2me.remoteprinting
This interface defines the "remoteprint:" protocol.
RemotePrintManager - Class in com.sun.spot.io.j2me.remoteprinting
Manages the creation and removal of remote print connections
RemotePrintOutputStream - Class in com.sun.spot.io.j2me.remoteprinting
Helper class for "remoteprint:" connections.
RemotePrintOutputStream(String) - Constructor for class com.sun.spot.io.j2me.remoteprinting.RemotePrintOutputStream
Creates a new RemotePrintOutputStream piping its output to a new RadioOutputStream.
renameTo(FlashFile) - Method in class com.sun.spot.flashmanagement.FlashFile
Rename the file with this name so that it has a different name
reset() - Method in interface com.sun.spot.client.IBootloaderTarget
Restart the SPOT's processor.
reset(I802_15_4_MAC) - Method in class com.sun.spot.peripheral.basestation.MACProxyServer
 
reset() - Method in class com.sun.spot.peripheral.basestation.MCPSDataIndicationCommand
 
reset() - Method in class com.sun.squawk.security.signing.SHA
Resets the MessageDigest to the initial state for further use.
ResetConfigPageCommand - Class in com.sun.spot.client.command
ResetConfigPageCommand reset the locally cached config page.
ResetConfigPageCommand() - Constructor for class com.sun.spot.client.command.ResetConfigPageCommand
 
resetExternalBoardMap() - Method in interface com.sun.spot.peripheral.ISpot
Clear the cache of external board properties.
resetExternalBoardMap() - Method in class com.sun.spot.peripheral.Spot
 
resetFAT() - Static method in class com.sun.spot.flashmanagement.FlashFile
Overwrite the existing FAT with a new empty one.
ResetFATCommand - Class in com.sun.spot.client.command
ResetFATCommand return the SPOT's FAT to its default value.
ResetFATCommand() - Constructor for class com.sun.spot.client.command.ResetFATCommand
 
ResetLibCommand - Class in com.sun.spot.client.command
ResetLibCommand reset the SPOT's library.
ResetLibCommand() - Constructor for class com.sun.spot.client.command.ResetLibCommand
 
ResetProxyCommand - Static variable in class com.sun.spot.peripheral.basestation.MACCommand
 
ResetProxyCommand - Class in com.sun.spot.peripheral.basestation
 
ResetProxyCommand() - Constructor for class com.sun.spot.peripheral.basestation.ResetProxyCommand
 
ResetSystemPropertiesCommand - Class in com.sun.spot.client.command
ResetSystemPropertiesCommand resets the SPOT's system properties to be an empty list.
ResetSystemPropertiesCommand() - Constructor for class com.sun.spot.client.command.ResetSystemPropertiesCommand
 
resultFrom(DataInputStream, ICreateExceptions) - Method in interface com.sun.spot.peripheral.basestation.ICommand
 
resultFrom(DataInputStream, ICreateExceptions) - Method in class com.sun.spot.peripheral.basestation.MACCommand
 
run() - Method in class com.sun.spot.peripheral.basestation.MACProxyServer.LedManager
 
run() - Method in class com.sun.spot.peripheral.basestation.MACProxyServer
 
run() - Method in class com.sun.spot.util.BootloaderListener
Loop reading characters sent over USB connection and dispatch to bootloader when requested.

S

sendAdminCommand(String) - Method in interface com.sun.spot.client.IAdminTarget
Send the command to the target
sendAdminCommand(String, byte[]) - Method in interface com.sun.spot.client.IAdminTarget
Send the command to the target with any params as a byte array
SEPERATOR - Static variable in class com.sun.spot.io.j2me.socket.ProxyInitializer
 
SerialPortLogger - Class in com.sun.spot.client
SerialPortLogger.
SerialPortLogger(String) - Constructor for class com.sun.spot.client.SerialPortLogger
 
SerialPortWrapper - Class in com.sun.spot.client
SerialPortWrapper wraps an RXTX SerialPort to centralise the parameters for opening it, and to provide easy access to its streams.
SerialPortWrapper(String, IUI) - Constructor for class com.sun.spot.client.SerialPortWrapper
 
setAsDaemonThread(Thread) - Static method in class com.sun.spot.peripheral.radio.RadioFactory
Set thread to be a daemon thread.
setBootloaderIdentificationString(String) - Method in class com.sun.spot.client.SpotState
 
SetCmdLineParamsCommand - Class in com.sun.spot.client.command
SetCmdLineParamsCommand set the command line args passed to the embedded squawk VM.
SetCmdLineParamsCommand() - Constructor for class com.sun.spot.client.command.SetCmdLineParamsCommand
 
setComment(String) - Method in class com.sun.spot.flashmanagement.FlashFile
Set a comment for this file
setConfigPage(ConfigPage) - Method in class com.sun.spot.client.SpotState
Set the ConfigPage.
setExternalBoardProperties(PeripheralChipSelect, Properties) - Method in class com.sun.spot.peripheral.Spot
 
setKeyDirectoryName(String) - Static method in class com.sun.squawk.security.signing.SigningService
Sets the directory where the key file (sdk.key) resides.
setNorFlashSectorFactory(INorFlashSectorFactory) - Static method in class com.sun.spot.flashmanagement.FlashFile
Set the INorFlashSectorFactory to be used by FlashFile when creating a FlashManager.
setObsolete(boolean) - Method in class com.sun.spot.flashmanagement.FlashFile
Set whether or not the file with this name is obsolete.
setPersistentProperties(Properties) - Method in interface com.sun.spot.peripheral.ISpot
Set one or more persistent property in the flash memory
setPersistentProperties(Properties) - Method in class com.sun.spot.peripheral.Spot
 
setPersistentProperty(String, String) - Method in interface com.sun.spot.peripheral.ISpot
Set a persistent property in the flash memory
setPersistentProperty(String, String) - Method in class com.sun.spot.peripheral.Spot
 
SetPLMETransmitPowerCommand - Static variable in class com.sun.spot.peripheral.basestation.MACCommand
 
SetPLMETransmitPowerCommand - Class in com.sun.spot.peripheral.basestation
 
SetPLMETransmitPowerCommand() - Constructor for class com.sun.spot.peripheral.basestation.SetPLMETransmitPowerCommand
 
setProperties(Properties) - Method in class com.sun.spot.client.SpotPropertiesManager
Replace the persistent system properties stored on the SPOT.
setProperty(String, String) - Method in interface com.sun.spot.peripheral.ISpot
Set the system property "key" to have the value "value"
setProperty(String, String) - Method in class com.sun.spot.peripheral.Spot
 
setProperty(String, String) - Method in class com.sun.spot.util.Properties
Calls the Hashtable method put.
SetPublicKeyCommand - Class in com.sun.spot.client.command
SetPublicKeyCommand install the public security key from the desktop to the SPOT
SetPublicKeyCommand() - Constructor for class com.sun.spot.client.command.SetPublicKeyCommand
 
setRadioPolicyManager(IRadioPolicyManager) - Method in class com.sun.spot.peripheral.Spot
For testing only
setS(byte[], int, int) - Method in class com.sun.squawk.security.signing.ECPrivateKey
Sets the value of the secret key.
setSeed(byte[], int, int) - Method in class com.sun.squawk.security.signing.PseudoRand
Set the random number seed.
SetSerialNumberCommand - Class in com.sun.spot.client.command
SetSerialNumberCommand set a new serial number to be written with flashprops.
SetSerialNumberCommand() - Constructor for class com.sun.spot.client.command.SetSerialNumberCommand
 
SetSlowStartupCommand - Class in com.sun.spot.client.command
SetSlowStartupCommand set whether SPOT waits a long time before starting VM.
SetSlowStartupCommand() - Constructor for class com.sun.spot.client.command.SetSlowStartupCommand
 
setSpotState(SpotState) - Method in interface com.sun.spot.client.ISpotManager
Set the SpotState
SetSystemPropertyCommand - Class in com.sun.spot.client.command
SetSystemPropertyCommand set (or add) a system property available at run time on the SPOT
SetSystemPropertyCommand() - Constructor for class com.sun.spot.client.command.SetSystemPropertyCommand
 
SetTimeCommand - Class in com.sun.spot.client.command
SetTimeCommand set SPOT time to match host time
SetTimeCommand() - Constructor for class com.sun.spot.client.command.SetTimeCommand
 
setUID(int) - Method in interface com.sun.spot.peripheral.basestation.ICommand
 
setUID(int) - Method in class com.sun.spot.peripheral.basestation.MACCommand
 
setVirtualAddress(int) - Method in class com.sun.spot.flashmanagement.FlashFile
Set the virtual address that the file gets mapped to.
setVirtualAddress(int) - Method in interface com.sun.spot.flashmanagement.IAddressableNorFlashSector
Set the virtual memory address associated with this sector.
SHA - Class in com.sun.squawk.security.signing
 
SHA() - Constructor for class com.sun.squawk.security.signing.SHA
 
sign(byte[], int, int, byte[], int) - Method in class com.sun.squawk.security.signing.ECDSASignature
Generates the signature of all/last input data.
sign(byte[]) - Method in class com.sun.squawk.security.signing.SigningService
Signs the input byte array (which might contain a suite or a command) with the SDK's private key and returns the DER-encoded ECDSA signature.
SIGNATURE_BOOLEAN - Static variable in interface com.sun.spot.client.command.ISpotClientCommand
Return value for ISpotClientCommand.getSignature() to show a command that has one boolean argument
SIGNATURE_INT - Static variable in interface com.sun.spot.client.command.ISpotClientCommand
Return value for ISpotClientCommand.getSignature() to show a command that has one integer argument
SIGNATURE_LONG - Static variable in interface com.sun.spot.client.command.ISpotClientCommand
Return value for ISpotClientCommand.getSignature() to show a command that has one long argument
SIGNATURE_NOTHING - Static variable in interface com.sun.spot.client.command.ISpotClientCommand
Return value for ISpotClientCommand.getSignature() to show a command that has no arguments
SIGNATURE_OPTIONAL_SECOND_STRING - Static variable in interface com.sun.spot.client.command.ISpotClientCommand
Return value for ISpotClientCommand.getSignature() to show a command that has one required String argument and a second optional argument that may be null
SIGNATURE_OPTIONAL_STRING - Static variable in interface com.sun.spot.client.command.ISpotClientCommand
Return value for ISpotClientCommand.getSignature() to show a command that has one String argument that may be null
SIGNATURE_STRING - Static variable in interface com.sun.spot.client.command.ISpotClientCommand
Return value for ISpotClientCommand.getSignature() to show a command that has one String argument
SIGNATURE_THREE_STRINGS - Static variable in interface com.sun.spot.client.command.ISpotClientCommand
Return value for ISpotClientCommand.getSignature() to show a command that has three String arguments
SIGNATURE_TWO_STRINGS - Static variable in interface com.sun.spot.client.command.ISpotClientCommand
Return value for ISpotClientCommand.getSignature() to show a command that has two String arguments
SIGNATURE_VERSION - Static variable in class com.sun.spot.suiteconverter.SigningOutputStream
 
SigningOutputStream - Class in com.sun.spot.suiteconverter
SigningOutputStream wraps a DataOutputStream with the ability to optionally append signatures created using a SPOT SDK's private key.
SigningOutputStream(DataOutputStream) - Constructor for class com.sun.spot.suiteconverter.SigningOutputStream
Create a SigningOutputStream
SigningService - Class in com.sun.squawk.security.signing
The SigningService class is used to sign suites and other data on the desktop using the SDK private key.
SigningServiceException - Exception in com.sun.squawk.security.signing
The SigningServiceException is thrown by SigningService
SigningServiceException(String) - Constructor for exception com.sun.squawk.security.signing.SigningServiceException
Creates a new instance of SigningServiceException
size() - Method in class com.sun.spot.util.Queue
Answer the number of elements in the receiver.
SIZE_OF_INT - Static variable in class com.sun.spot.util.Utils
 
SIZE_OF_LONG - Static variable in class com.sun.spot.util.Utils
 
SIZE_OF_SHORT - Static variable in class com.sun.spot.util.Utils
 
skew - Variable in class com.sun.spot.client.command.HelloResult
 
sleep(long) - Static method in class com.sun.spot.util.Utils
Do a Thread.sleep(...), catching and ignoring any InterruptedException
SOCKET_PROXY_BASE_STATION_ADDRESS_MANIFEST_PROPERTY - Static variable in class com.sun.spot.io.j2me.socket.SocketConnection
 
SOCKET_PROXY_BASE_STATION_PORT_MANIFEST_PROPERTY - Static variable in class com.sun.spot.io.j2me.socket.SocketConnection
 
SocketConnection - Class in com.sun.spot.io.j2me.socket
This class provides the necessary implementation for a socket connection.
SocketConnection(ProxyInitializer, boolean) - Constructor for class com.sun.spot.io.j2me.socket.SocketConnection
Create a SocketConnection object.
SocketProtocolInputStream - Class in com.sun.spot.io.j2me.socket
Socket specific InputSteam.
SocketProtocolInputStream(InputStream) - Constructor for class com.sun.spot.io.j2me.socket.SocketProtocolInputStream
Create the input stream from another InputStream.
SocketProtocolOutputStream - Class in com.sun.spot.io.j2me.socket
Socket specific InputSteam.
SocketProtocolOutputStream(OutputStream) - Constructor for class com.sun.spot.io.j2me.socket.SocketProtocolOutputStream
Create the output stream from another OutputStream.
split(String, char) - Static method in class com.sun.spot.util.Utils
Split a string into parts.
Spot - Class in com.sun.spot.peripheral
The class of the root object of the Spot base library.
SPOT_BASESTATION_MANAGER - Static variable in class com.sun.spot.peripheral.Spot
 
SPOT_BASESTATION_SHARING - Static variable in class com.sun.spot.peripheral.Spot
 
SPOT_GLOBAL_FLASH_MANAGER - Static variable in interface com.sun.spot.peripheral.ISpot
The index used with SpotGlobals to access the globally shared FlashManager
SPOT_GLOBAL_NOR_FLASH_SECTOR_FACTORY - Static variable in interface com.sun.spot.peripheral.ISpot
The index used with SpotGlobals to access the globally shared NorFlashSectorFactory
SpotClientArgumentException - Exception in com.sun.spot.client
SpotClientArgumentException is thrown when an ISpotClientCommand is invoked with incompatible arguments
SpotClientArgumentException(String) - Constructor for exception com.sun.spot.client.SpotClientArgumentException
 
SpotClientArgumentException(Throwable) - Constructor for exception com.sun.spot.client.SpotClientArgumentException
 
SpotClientArgumentException(String, Throwable) - Constructor for exception com.sun.spot.client.SpotClientArgumentException
 
SpotClientCommandLineUI - Class in com.sun.spot.client.ui
SpotClientCommandLineUI.
SpotClientCommandLineUI() - Constructor for class com.sun.spot.client.ui.SpotClientCommandLineUI
 
SpotClientCommandLineUI.BadArgException - Exception in com.sun.spot.client.ui
 
SpotClientCommandLineUI.BadArgException(String) - Constructor for exception com.sun.spot.client.ui.SpotClientCommandLineUI.BadArgException
 
SpotClientCommands - Class in com.sun.spot.client
SpotClientCommands

An instance of this holds all the commands available in a SpotClient including user extensions.
SpotClientCommands(IUI, String, String, File, String, String) - Constructor for class com.sun.spot.client.SpotClientCommands
Create an instance to deal with a locally connected SPOT.
SpotClientCommands(IUI, String, String, File, String, String, String, int, short, int) - Constructor for class com.sun.spot.client.SpotClientCommands
Create an instance to deal with a remote SPOT or SPOTs.
SpotClientException - Exception in com.sun.spot.client
SpotClientException superclass for runtime exceptions thrown by SpotClient
SpotClientException(String) - Constructor for exception com.sun.spot.client.SpotClientException
 
SpotClientException(Throwable) - Constructor for exception com.sun.spot.client.SpotClientException
 
SpotClientException(String, Throwable) - Constructor for exception com.sun.spot.client.SpotClientException
 
SpotClientFailureException - Exception in com.sun.spot.client
SpotClientFailureException thrown by SpotClient to indicate general errors not covered by a more specific subtype of SpotClientException.
SpotClientFailureException(String) - Constructor for exception com.sun.spot.client.SpotClientFailureException
 
SpotClientFailureException(Throwable) - Constructor for exception com.sun.spot.client.SpotClientFailureException
 
SpotClientFailureException(String, Throwable) - Constructor for exception com.sun.spot.client.SpotClientFailureException
 
SpotClientFatalException - Exception in com.sun.spot.client
This exception is thrown when the SpotClient encounters a condition from which it cannot recover.
SpotClientFatalException(String) - Constructor for exception com.sun.spot.client.SpotClientFatalException
 
SpotClientUnknownCommandException - Exception in com.sun.spot.client
SpotClientUnknownCommandException indicates that an attempt was made to send a command to a SPOT (either an admin command processor or a bootloader) and that the command was not recognised by the SPOT.
SpotClientUnknownCommandException(String) - Constructor for exception com.sun.spot.client.SpotClientUnknownCommandException
 
SpotNameLookup - Class in com.sun.spot.peripheral.radio
 
SpotNameLookup() - Constructor for class com.sun.spot.peripheral.radio.SpotNameLookup
 
SpotObsoleteVersionException - Exception in com.sun.spot.client
SpotObsoleteVersionException indicates a failure caused by the SPOT running software versions different to those expected by the installed SDK.
SpotObsoleteVersionException(String) - Constructor for exception com.sun.spot.client.SpotObsoleteVersionException
 
SpotObsoleteVersionException(String, String) - Constructor for exception com.sun.spot.client.SpotObsoleteVersionException
 
SpotPropertiesManager - Class in com.sun.spot.client
SpotPropertiesManager manages the retrieval and setting of the persistent system properties on the SPOT.
SpotPropertiesManager(ISpotManager) - Constructor for class com.sun.spot.client.SpotPropertiesManager
Construct a SpotPropertiesManager
spotSDKVersion - Variable in class com.sun.spot.client.command.HelloResult
 
SpotSerialPortException - Exception in com.sun.spot.client
SpotSerialPortException represents a failure in serial port communications.
SpotSerialPortException(String) - Constructor for exception com.sun.spot.client.SpotSerialPortException
 
SpotSerialPortInUseException - Exception in com.sun.spot.client
SpotSerialPortInUseException indicates that the host operating system has reported that the specified COM port is not available.
SpotSerialPortInUseException(String) - Constructor for exception com.sun.spot.client.SpotSerialPortInUseException
 
SpotSerialPortNotFoundException - Exception in com.sun.spot.client
SpotSerialPortNotFoundException is thrown when a specified COM port is unknown to the host operating system.
SpotSerialPortNotFoundException(String) - Constructor for exception com.sun.spot.client.SpotSerialPortNotFoundException
 
SpotState - Class in com.sun.spot.client
SpotState is internal to the implementation of the ISpotClientCommandHelper and all the information it contains should be accessed via that interface.
SpotState(String, String) - Constructor for class com.sun.spot.client.SpotState
Construct a SpotState to represent a connected SPOT (local or remote).
spotTime - Variable in class com.sun.spot.client.command.HelloResult
 
start(boolean, boolean) - Method in class com.sun.spot.peripheral.radio.BasestationManager
Launch a BasestationManager
startAdminVM() - Method in interface com.sun.spot.client.IBootloaderTarget
Start the VM in admin mode: that is, running only the admin processor to deal with commands received via a local connection.
StartAppCommand - Class in com.sun.spot.client.command
StartAppCommand run the installed application.
StartAppCommand() - Constructor for class com.sun.spot.client.command.StartAppCommand
 
startVM() - Method in interface com.sun.spot.client.IBootloaderTarget
Start the VM in normal mode (that is, running an application or the basestation or whatever else has been configured).
startVM() - Method in interface com.sun.spot.client.ISpotManager
Start the VM.
stop() - Method in class com.sun.spot.util.Queue
Release all waiters
stopped - Variable in class com.sun.spot.peripheral.basestation.MCPSDataIndicationCommand
 
store(OutputStream, String) - Method in class com.sun.spot.util.Properties
Store a representation of these properties on a stream
storeProperties(Properties) - Method in interface com.sun.spot.peripheral.ISpot
Replace the persistent properties held in the flash memory
storeProperties(Properties) - Method in class com.sun.spot.peripheral.Spot
 
stringify(byte[]) - Static method in class com.sun.spot.util.Utils
Generate a string representation of a byte array.
Suite - Class in com.sun.spot.suiteconverter
Suite allows suite files to be saved in a form that can execute directly from SPOT flash memory.
Suite() - Constructor for class com.sun.spot.suiteconverter.Suite
 
synchronize() - Method in interface com.sun.spot.client.IBootloaderTarget
Synchronise with the SPOT.
synchronize() - Method in interface com.sun.spot.client.ISpotManager
Synchronise with a SPOT.
SynchronizeCommand - Class in com.sun.spot.client.command
SynchronizeCommand: establish communication with the SPOT.
SynchronizeCommand() - Constructor for class com.sun.spot.client.command.SynchronizeCommand
 
SYSTEM_TICKER_TICKS_PER_MILLISECOND - Static variable in interface com.sun.spot.peripheral.ISpot
 

T

throwException(String, String) - Method in interface com.sun.spot.peripheral.basestation.ICreateExceptions
 
TimeoutException - Exception in com.sun.spot.peripheral
Thrown when an attempt to receive data over either a "radiostream:" or "radiogram:" connection fails due to a read timeout being exceeded.
TimeoutException(String) - Constructor for exception com.sun.spot.peripheral.TimeoutException
Construct exception with given message.
toDottedHex(long) - Static method in class com.sun.spot.util.IEEEAddress
Convert a numeric address into a dotted-hex string
toLong(String) - Static method in class com.sun.spot.util.IEEEAddress
Convert a string representation of the address to a numeric value.
toString() - Method in class com.sun.spot.client.command.FlashSectorContents
 
toString() - Method in class com.sun.spot.client.command.HelloResultList
 
toString() - Method in class com.sun.spot.io.j2me.socket.ProxyInitializer
Returns a formatted string representing the initStr to be sent to the proxy
toString() - Method in class com.sun.spot.util.IEEEAddress
 

U

UNKNOWN_BOOTLOADER_TIMESTAMP - Static variable in class com.sun.spot.client.SpotState
 
update(byte[], int, int) - Method in class com.sun.squawk.security.signing.ECDSASignature
Accumulates a signature of the input data.
update(byte[], int, int) - Method in class com.sun.squawk.security.signing.SHA
Accumulates a hash of the input data.
upgradePrePurpleBootloader(Flashable) - Method in interface com.sun.spot.client.IBootloaderTarget
Flash the bootloader of a SPOT whose current bootloader predates the purple release.
usage() - Static method in class com.sun.spot.client.ui.SpotClientCommandLineUI
Describe command line options to System.out
Utils - Class in com.sun.spot.util
Collection of utility functions
Utils() - Constructor for class com.sun.spot.util.Utils
 

V

value - Variable in class com.sun.spot.util.MutableBoolean
 
vBatt - Variable in class com.sun.spot.client.command.HelloResult
 
verify(byte[], int, int, byte[], int, int) - Method in class com.sun.squawk.security.signing.ECDSASignature
Verifies the signature of all/last input data against the passed in signature.
verifyMessageDigest(byte[], byte[], int, int) - Method in class com.sun.squawk.security.signing.ECDSASignature
Verifies the signature with an externally computed sha1 hash.
VIRTUAL_ADDRESS_FILE_SPACING - Static variable in class com.sun.spot.flashmanagement.FlashFile
The size of the virtual address space allocated to a mapped file

W

waitForExit() - Method in interface com.sun.spot.client.IBootloaderTarget
Wait for the VM to exit.
waitForExit() - Method in interface com.sun.spot.client.ISpotManager
Wait for the VM (assumed to be running) to exit.
with(I802_15_4_MAC) - Method in class com.sun.spot.peripheral.basestation.MCPSDataIndicationCommand
 
with(RadioPacket) - Method in class com.sun.spot.peripheral.basestation.MCPSDataRequestCommand
 
with(int) - Method in class com.sun.spot.peripheral.basestation.MLMEGetCommand
 
with(boolean) - Method in class com.sun.spot.peripheral.basestation.MLMEResetCommand
 
with(int) - Method in class com.sun.spot.peripheral.basestation.MLMERxEnableCommand
 
with(int, long) - Method in class com.sun.spot.peripheral.basestation.MLMESetCommand
 
with(short, int) - Method in class com.sun.spot.peripheral.basestation.MLMEStartCommand
 
with(MACProxyServer) - Method in class com.sun.spot.peripheral.basestation.ResetProxyCommand
 
with(int) - Method in class com.sun.spot.peripheral.basestation.SetPLMETransmitPowerCommand
 
withSpacesReplacedByZeros(String) - Static method in class com.sun.spot.util.Utils
Generate a String that is a copy of the supplied String but with all spaces replaced by nulls.
write(int) - Method in class com.sun.spot.flashmanagement.FlashFileOutputStream
 
write(int) - Method in class com.sun.spot.io.j2me.remoteprinting.RemotePrintOutputStream
Writes out a character, flushing the buffer if a newline.
write(int) - Method in class com.sun.spot.io.j2me.socket.SocketProtocolOutputStream
Write data in the stream.
write(byte[], int, int) - Method in class com.sun.spot.suiteconverter.SigningOutputStream
 
write(byte[]) - Method in class com.sun.spot.suiteconverter.SigningOutputStream
 
write(int) - Method in class com.sun.spot.suiteconverter.SigningOutputStream
 
writeBigEndInt(byte[], int, int) - Static method in class com.sun.spot.util.Utils
Write a big-endian int into an array
writeBigEndLong(byte[], int, long) - Static method in class com.sun.spot.util.Utils
Write a big-endian long into an array
writeBigEndShort(byte[], int, int) - Static method in class com.sun.spot.util.Utils
Write a big-endian short into an array
writeBoolean(boolean) - Method in class com.sun.spot.suiteconverter.SigningOutputStream
 
writeByte(int) - Method in class com.sun.spot.suiteconverter.SigningOutputStream
 
writeBytes(String) - Method in class com.sun.spot.suiteconverter.SigningOutputStream
 
writeChar(int) - Method in class com.sun.spot.suiteconverter.SigningOutputStream
 
writeChars(String) - Method in class com.sun.spot.suiteconverter.SigningOutputStream
 
writeDouble(double) - Method in class com.sun.spot.suiteconverter.SigningOutputStream
 
writeError(String) - Method in class com.sun.spot.io.j2me.socket.SocketProtocolOutputStream
Write an error to the stream.
writeFloat(float) - Method in class com.sun.spot.suiteconverter.SigningOutputStream
 
writeInt(int) - Method in class com.sun.spot.suiteconverter.SigningOutputStream
 
writeLittleEndInt(byte[], int, int) - Static method in class com.sun.spot.util.Utils
Write a little-endian int into an array
writeLittleEndLong(byte[], int, long) - Static method in class com.sun.spot.util.Utils
Write a little-endian long into an array
writeLittleEndShort(byte[], int, int) - Static method in class com.sun.spot.util.Utils
Write a little-endian short into an array
writeLong(long) - Method in class com.sun.spot.suiteconverter.SigningOutputStream
 
writeOnto(DataOutputStream) - Method in interface com.sun.spot.peripheral.basestation.ICommand
 
writeOnto(DataOutputStream) - Method in class com.sun.spot.peripheral.basestation.MACCommand
 
writeParametersOnto(DataOutputStream) - Method in class com.sun.spot.peripheral.basestation.MACCommand
 
writeParametersOnto(DataOutputStream) - Method in class com.sun.spot.peripheral.basestation.MCPSDataRequestCommand
 
writeParametersOnto(DataOutputStream) - Method in class com.sun.spot.peripheral.basestation.MLMEGetCommand
 
writeParametersOnto(DataOutputStream) - Method in class com.sun.spot.peripheral.basestation.MLMEResetCommand
 
writeParametersOnto(DataOutputStream) - Method in class com.sun.spot.peripheral.basestation.MLMERxEnableCommand
 
writeParametersOnto(DataOutputStream) - Method in class com.sun.spot.peripheral.basestation.MLMESetCommand
 
writeParametersOnto(DataOutputStream) - Method in class com.sun.spot.peripheral.basestation.MLMEStartCommand
 
writeParametersOnto(DataOutputStream) - Method in class com.sun.spot.peripheral.basestation.SetPLMETransmitPowerCommand
 
writePreparedResult(byte[], int) - Method in class com.sun.spot.peripheral.basestation.MACCommand
 
writePreparedResult(byte[], int) - Method in class com.sun.spot.peripheral.basestation.MCPSDataIndicationCommand
 
writePreparedResult(byte[], int) - Method in class com.sun.spot.peripheral.basestation.MCPSDataRequestCommand
 
writePreparedResult(byte[], int) - Method in class com.sun.spot.peripheral.basestation.MLMEGetCommand
 
writePreparedResult(byte[], int) - Method in class com.sun.spot.peripheral.basestation.NoArgIntParameterCommand
 
writeResultOnto(byte[], int, I802_15_4_MAC) - Method in interface com.sun.spot.peripheral.basestation.ICommand
Write the result onto the outputBuffer byte array, starting at startingOffset.
writeResultOnto(byte[], int, I802_15_4_MAC) - Method in class com.sun.spot.peripheral.basestation.MACCommand
 
writeShort(int) - Method in class com.sun.spot.suiteconverter.SigningOutputStream
 
writeToStreamRelocated(DataOutputStream, int[]) - Method in class com.sun.spot.suiteconverter.Suite
 
writeUTF(String) - Method in class com.sun.spot.suiteconverter.SigningOutputStream
 

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

SunSPOT host API V3.0


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