SunSPOT host API V4.0


Constant Field Values


Contents
com.sun.*

com.sun.spot.client.SpotClientCommands
public static final int HIGHEST_SUPPORTED_MAJOR_VERSION 1
public static final int LOWEST_SUPPORTED_MAJOR_VERSION 1
public static final int MODE_LOCAL 0
public static final int MODE_REMOTE_NON_SPECIFIC 2
public static final int MODE_REMOTE_SPECIFIC 1

com.sun.spot.client.SpotState
public static final String UNKNOWN_BOOTLOADER_TIMESTAMP "Unknown bootloader"

com.sun.spot.client.command.BlinkCommand
public static final String NAME "blink"

com.sun.spot.client.command.DeletePublicKeyCommand
public static final String NAME "deletepublickey"

com.sun.spot.client.command.DeleteSystemPropertyCommand
public static final String NAME "deletesystemproperty"

com.sun.spot.client.command.FlashAppCommand
public static final String NAME "flashapp"

com.sun.spot.client.command.FlashBootloaderCommand
public static final String NAME "flashbootloader"

com.sun.spot.client.command.FlashBootstrapCommand
public static final String NAME "flashvb"

com.sun.spot.client.command.FlashConfigCommand
public static final String NAME "flashprops"

com.sun.spot.client.command.FlashLibCommand
public static final String NAME "flashlib"

com.sun.spot.client.command.FlashManufacturingImageCommand
public static final String NAME "flashimage"

com.sun.spot.client.command.FlashVMCommand
public static final String NAME "flashvm"

com.sun.spot.client.command.GetAvailableSuitesCmd
public static final String NAME "getavailablesuites"

com.sun.spot.client.command.GetCmdLineParamsCommand
public static final String NAME "getcmdlineparams"

com.sun.spot.client.command.GetFATCommand
public static final String NAME "getfat"

com.sun.spot.client.command.GetSpotPropertyCmd
public static final String NAME "getspotproperty"

com.sun.spot.client.command.GetStartupCommand
public static final String NAME "getstartup"

com.sun.spot.client.command.GetSuiteManifestCmd
public static final String NAME "getsuitemanifest"

com.sun.spot.client.command.GetSystemPropertiesCommand
public static final String NAME "getsystemproperties"

com.sun.spot.client.command.HelloCommand
public static final int MAX_HOPS 15
public static final String NAME "hello"

com.sun.spot.client.command.HelloResult
public static final int LAT_LONG_ALTITUDE 1
public static final int NO_LOCATION 0
public static final int X_Y_Z 2

com.sun.spot.client.command.ISpotClientCommand
public static final int SIGNATURE_BOOLEAN 3
public static final int SIGNATURE_INT 1
public static final int SIGNATURE_LONG 2
public static final int SIGNATURE_NOTHING 0
public static final int SIGNATURE_OPTIONAL_FOURTH_STRING 10
public static final int SIGNATURE_OPTIONAL_SECOND_STRING 8
public static final int SIGNATURE_OPTIONAL_STRING 5
public static final int SIGNATURE_OPTIONAL_TWO_STRINGS 9
public static final int SIGNATURE_STRING 4
public static final int SIGNATURE_THREE_STRINGS 7
public static final int SIGNATURE_TWO_STRINGS 6

com.sun.spot.client.command.QuitCommand
public static final String NAME "quit"

com.sun.spot.client.command.ReadConfigPageCommand
public static final String NAME "readconfigpage"

com.sun.spot.client.command.ReadSectorCommand
public static final String NAME "readsector"

com.sun.spot.client.command.ResetConfigPageCommand
public static final String NAME "resetconfigpage"

com.sun.spot.client.command.ResetFATCommand
public static final String NAME "resetfat"

com.sun.spot.client.command.ResetLibCommand
public static final String NAME "resetlib"

com.sun.spot.client.command.ResetSystemPropertiesCommand
public static final String NAME "resetsystemproperties"

com.sun.spot.client.command.RunAppCommand
public static final String NAME "run"

com.sun.spot.client.command.SetCmdLineParamsCommand
public static final String NAME "setcmdlineparams"

com.sun.spot.client.command.SetPublicKeyCommand
public static final String NAME "setpublickey"

com.sun.spot.client.command.SetSerialNumberCommand
public static final String NAME "setserialnumber"

com.sun.spot.client.command.SetSlowStartupCommand
public static final String NAME "setslowstartup"

com.sun.spot.client.command.SetStartupCommand
public static final String NAME "setstartup"

com.sun.spot.client.command.SetSystemPropertyCommand
public static final String NAME "setsystemproperty"

com.sun.spot.client.command.SetTimeCommand
public static final String NAME "settime"

com.sun.spot.client.command.StartAppCmd
public static final String NAME "startapp"

com.sun.spot.client.command.SynchronizeCommand
public static final String BOOTLOADER_TIMESTAMP_PROPERTY_NAME "version.datestamp"
public static final String NAME "synchronize"

com.sun.spot.client.command.UndeployCommand
public static final String NAME "undeploy"

com.sun.spot.client.ui.InfoCommand
public static final String NAME "info"

com.sun.spot.flashmanagement.FlashFile
public static final int FAT_IDENTIFIER_V1 305419896
public static final int FAT_IDENTIFIER_V2 305419897
public static final int FAT_IDENTIFIER_V3 305419898
public static final long FIRST_FILE_VIRTUAL_ADDRESS 276824064L
public static final long LAST_FILE_VIRTUAL_ADDRESS 284164096L
public static final int SPOT_GLOBAL_FLASH_MANAGER 1
public static final int SPOT_GLOBAL_NOR_FLASH_SECTOR_FACTORY 2
public static final int VIRTUAL_ADDRESS_FILE_SPACING 1048576

com.sun.spot.flashmanagement.FlashFileOutputStream
public static final int DEFAULT_BUFFER_SIZE 512

com.sun.spot.io.j2me.socket.ProxyInitializer
public static final String INITIALIZER "connect"
public static final String SEPERATOR " "

com.sun.spot.io.j2me.socket.SocketConnection
public static final String DEFAULT_BASE_STATION_PORT "10"
public static final int PACKET_TYPE_PORT_REQUEST 0
public static final int PACKET_TYPE_PORT_RESPONSE 1
public static final String SOCKET_PROXY_BASE_STATION_ADDRESS_MANIFEST_PROPERTY "com.sun.spot.io.j2me.socket.SocketConnection-BaseStationAddress"
public static final String SOCKET_PROXY_BASE_STATION_PORT_MANIFEST_PROPERTY "com.sun.spot.io.j2me.socket.SocketConnection-BaseStationPort"

com.sun.spot.io.j2me.socket.SocketProtocolInputStream
public static final int CONNECTION_CLOSE 113
public static final int END_OF_MSG 122
public static final int ESCAPE_CHAR 255
public static final int IOEXCEPTION 101

com.sun.spot.io.j2me.socket.SocketProtocolOutputStream
public static final int CONNECTION_CLOSE 113
public static final int END_OF_MSG 122
public static final int ESCAPE_CHAR 255
public static final int IOEXCEPTION 101

com.sun.spot.peripheral.ConfigPage
public static final int BOOTLOADER_ADDRESS 268435456
public static final int BOOTSTRAP_SECTOR 12
public static final int CMD_LINE_PARAMETERS_ADMIN_OFFSET 14
public static final int CMD_LINE_PARAMETERS_NORMAL_OFFSET 12
public static final int CONFIG_PAGE_SECTOR 4
public static final int CONFIG_PAGE_SIZE 1024
public static final int CONFIG_VERSION_OFFSET 8
public static final int CURRENT_CONFIG_VERSION 11
public static final int DEFAULT_SECTOR_COUNT_FOR_RMS 8
public static final int FAT_SECTOR_NUMBER 5
public static final int FIRST_FILE_SYSTEM_SECTOR 20
public static final int FLAGS_OFFSET 10
public static final int FLASH_BASE_ADDRESS 268435456
public static final String INITIAL_ADMIN_COMMAND_LINE "-spotsuite://library -Xboot:268763136 -Xmxnvm:0 -isolateinit:com.sun.spot.peripheral.Spot -dma:1024 -Dspot.start.manifest.daemons=false com.sun.spot.peripheral.ota.OTACommandProcessor"
public static final String INITIAL_COMMAND_LINE "-spotsuite://library -Xboot:268763136 -Xmxnvm:0 -isolateinit:com.sun.spot.peripheral.Spot -dma:1024 com.sun.spot.util.DummyApp"
public static final int LARGE_SECTOR_SIZE 65536
public static final String LIBRARY_URI "spotsuite://library"
public static final int LIBRARY_VIRTUAL_ADDRESS 276824064
public static final int PUBLIC_KEY_OFFSET 20
public static final int SERIAL_NUMBER_OFFSET 0
public static final String SPOT_SUITE_PROTOCOL_NAME "spotsuite"
public static final int STRINGS_OFFSET 22
public static final int SYSTEM_PROPERTIES_SECTOR 6
public static final int TRUST_MANAGER_SECTOR 7
public static final int VM_ADDRESS_OFFSET 16
public static final int VM_SECTOR_NUMBER 8

com.sun.spot.peripheral.RadioConnectionBase
public static final long DEFAULT_TIMEOUT 10000L

com.sun.spot.peripheral.ota.IOTACommandHelper
public static final int COMMAND_OFFSET 2
public static final int DEVICE_SECURITY_LEVEL 2
public static final int PARAMETER_OFFSET 3

com.sun.spot.peripheral.ota.IOTACommandServer
public static final int HARDWARE_MAJOR_REV_ESPOT 0
public static final String HELLO_CMD "HELLO_CMD"
public static final int HELLO_COMMAND_MINOR_VERSION 2
public static final int HELLO_COMMAND_VERSION 2
public static final int PORT 8
public static final String START_OTA_SESSION_CMD "START_OTA_SESSION_CMD"

com.sun.spot.peripheral.ota.ISpotAdminConstants
public static final String ABORT_REQUEST "*EL*:A"
public static final int ADMIN_FLASH_OPERATION_FLOW_CONTROL_QUANTUM 4096
public static final String BLINK_CMD "DEF-BL"
public static final String BOOTLOADER_CMD_ATTENTION "DEF-AT"
public static final String BOOTLOADER_CMD_HEADER "*EL*"
public static final int CHILD_ISOLATE_ECHO_PORT 13
public static final String CLOSEDOWN "DEF-CL"
public static final String DELETE_PUBLIC_KEY_CMD "DEF-DP"
public static final int ERROR_COMMAND_VERIFICATION_FAILED 1
public static final int ERROR_GENERAL 2
public static final int ERROR_UNKNOWN_COMMAND 0
public static final String FLASH_APP_CMD "DEF-FA"
public static final String FLASH_LIB_CMD "DEF-FL"
public static final String GET_ALL_APPS_STATUS_CMD "SW-AAP"
public static final String GET_APP_STATUS_CMD "SW-APS"
public static final String GET_AVAILABLE_SUITES_CMD "SW-GAS"
public static final String GET_CONFIG_PAGE_CMD "DEF-GC"
public static final String GET_FILE_INFO_CMD "DEF-GF"
public static final String GET_FILE_LIST_CMD "DEF-GL"
public static final String GET_MEMORY_STATS_CMD "SW-GMS"
public static final String GET_POWER_STATS_CMD "SW-GPS"
public static final String GET_SLEEP_INFO_CMD "SW-GSI"
public static final String GET_SPOT_PROPERTY_CMD "SW-GSP"
public static final String GET_SUITE_MANIFEST_CMD "SW-GWM"
public static final String GET_SYSTEM_PROPERTIES "DEF-GS"
public static final String LOCAL_OTA_COMMAND_SERVER_IDENTIFICATION_STRING "Local Monitor"
public static final int MASTER_ISOLATE_ECHO_PORT 12
public static final String MIGRATE_APP_CMD "SW-MIA"
public static final String PAUSE_APP_CMD "SW-PAP"
public static final String RECEIVE_APP_CMD "SW-REA"
public static final int REMOTE_FLASH_OPERATION_FLOW_CONTROL_QUANTUM 4096
public static final String REMOTE_OTA_COMMAND_SERVER_IDENTIFICATION_STRING "Remote Monitor"
public static final String RESUME_APP_CMD "SW-RAP"
public static final String RESYNC_CMD "DEF-RS"
public static final String SET_PUBLIC_KEY_CMD "DEF-SP"
public static final String SET_STARTUP_CMD "DEF-SU"
public static final String SET_SYSTEM_PROPERTIES "DEF-SS"
public static final String SET_TIME_CMD "DEF-ST"
public static final String START_APP_CMD "SW-SAP"
public static final String START_REMOTE_PRINTING_CMD "SW-SRP"
public static final String START_VM_CMD "DEF-SV"
public static final String STOP_APP_CMD "SW-STA"
public static final String STOP_REMOTE_PRINTING_CMD "SW-STP"
public static final String UNDEPLOY_CMD "DEF-UD"

com.sun.spot.peripheral.ota.ISpotBootloaderConstants
public static final String ABORT_REQUEST "*EL*:A"
public static final String BOOTLOADER_CMD_HEADER "*EL*"
public static final char BOOTLOADER_SYNC 115
public static final char FLASH_BOOTLOAD_CMD 80
public static final char FLASH_CONFIG_CMD 69
public static final char FLASH_MANUFACTURING_IMAGE_CMD 77
public static final char GET_CONFIG_PAGE_CMD 73
public static final char NO_OPERATION_CMD 88
public static final char OLD_BOOTLOADER_SYNC 83
public static final char PRE_PURPLE_FLASH_BOOTLOAD_CMD 68
public static final char READ_SECTOR_CMD 79
public static final char RESET_CMD 72
public static final char RESYNC_CMD 76
public static final char SET_TIME_CMD 78
public static final char START_VM_CMD 70
public static final char WRITE_SECTOR_CMD 86

com.sun.spot.peripheral.radio.BasestationManager
public static final byte CMD_DISCOVER 0

com.sun.spot.peripheral.radio.I802_15_4_MAC
public static final int A_EXTENDED_ADDRESS 368
public static final int CHANNEL_ACCESS_FAILURE 225
public static final int FALSE 0
public static final int MAC_RX_ON_WHEN_IDLE 82
public static final int NO_ACK 233
public static final int SUCCESS 0
public static final int TRUE 1

com.sun.spot.peripheral.radio.I802_15_4_PHY
public static final int BUSY 0
public static final int IDLE 4
public static final int PHY_CURRENT_CHANNEL 0
public static final int PHY_TRANSMIT_POWER 2
public static final int RX_ON 6
public static final int SUCCESS 7
public static final int TRX_OFF 8
public static final int TX_ON 9

com.sun.spot.peripheral.radio.IProprietaryRadio
public static final int DEFAULT_CHANNEL 26
public static final int DEFAULT_TRANSMIT_POWER 0
public static final int OFF_MODE_IDLE 2
public static final int OFF_MODE_POWER_DOWN 1
public static final int OFF_MODE_VREG_OFF 0

com.sun.spot.peripheral.radio.IRadioPolicyManager
public static final short DEFAULT_PAN_ID 3

com.sun.spot.peripheral.radio.RadioFactory
public static final String SPOT_BASESTATION_MANAGER "spot.basestation.manager"
public static final String SPOT_BASESTATION_SHARING "spot.basestation.sharing"

com.sun.spot.peripheral.radio.RadioPacket
public static final int MIN_PAYLOAD_LENGTH 102

com.sun.spot.spotselector.SpotStateChecker
public static final int AT_ADMIN 6
public static final int AT_BOOTLOADER 1
public static final int IN_USE 2
public static final int RUNNING 3
public static final int RUNNING_APPLICATION 5
public static final int RUNNING_BASESTATION 4

com.sun.spot.suiteconverter.SigningOutputStream
public static final byte SIGNATURE_VERSION 0

com.sun.spot.suiteconverter.Suite
public static final short EXPECTED_SUITE_VERSION_MAJOR 1
public static final short EXPECTED_SUITE_VERSION_MINOR 1

com.sun.squawk.security.signing.Debug
public static final boolean ENABLED false

com.sun.squawk.security.signing.ECKeyPair
public static final byte ALG_EC_FP 5

com.sun.squawk.security.signing.SHA
public static final byte ALG_SHA 1

com.sun.squawk.security.signing.SigningService
public static final String FORMAT_VERSION "0.2"


SunSPOT host API V4.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.