SunSPOT API V3.0


com.sun.spot.peripheral.external
Interface IExternalBoard

All Known Implementing Classes:
AtmegaExternalBoard, AtmegaProtoBoard, EDemoController, ExternalBoard

public interface IExternalBoard


Method Summary
 int getBoardIndex()
          Returns the position of this board in the stack (0 or 1)
 Properties getProperties()
          Get the properties of this board.
 IFlashMemoryDevice getSerialFlash()
          Get the serial flash memory device
 void setProperties(Properties p)
          Set the properties of this board
 

Method Detail

getProperties

Properties getProperties()
Get the properties of this board.

Returns:
The properties or null if unable to read them

setProperties

void setProperties(Properties p)
                   throws IOException
Set the properties of this board

Parameters:
p - The properties to set.
Throws:
IOException

getSerialFlash

IFlashMemoryDevice getSerialFlash()
Get the serial flash memory device

Returns:
The memory as an IFlashMemoryDevice

getBoardIndex

int getBoardIndex()
Returns the position of this board in the stack (0 or 1)

Returns:
the position of this board in the stack (0 or 1)

SunSPOT API V3.0


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