|
SunSPOT API V4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.spot.peripheral.radio.RadioFactory
public class RadioFactory
Static factory for public access to the radio in various guises.
Method Summary | |
---|---|
static void |
closeBaseStation()
|
static I802_15_4_MAC |
getI802_15_4_MAC()
Answer the interface for dealing with the radio at the I802.15.4 MAC level. |
static I802_15_4_MAC[] |
getI802_15_4_MACs()
Get access to the I802.15.4 MAC layers |
static I802_15_4_PHY |
getI802_15_4_PHY()
Get access to the physical I802.15.4 radio device |
static IProprietaryRadio |
getIProprietaryRadio()
Get access to the radio via its proprietary (non-I802.15.4) interface. |
static IRadioPolicyManager |
getRadioPolicyManager()
Get the singleton radio policy manager |
static IResourceRegistry |
getResourceRegistry()
Get the singleton resource registry |
static ISleepManager |
getSleepManager()
Get access to the sleep manager for the Spot |
static boolean |
isMasterIsolate()
|
static boolean |
isRunningOnHost()
|
static void |
setAsDaemonThread(Thread thread)
|
static void |
setPersistentProperty(String key,
String value)
Set a persistent property "key" to have the value "value" |
static void |
setProperty(String key,
String value)
Set the system property "key" to have the value "value" |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static I802_15_4_MAC getI802_15_4_MAC()
public static boolean isRunningOnHost()
public static boolean isMasterIsolate()
public static void setProperty(String key, String value)
key
- value
- public static void setPersistentProperty(String key, String value)
key
- value
- the value required or null to erasepublic static IResourceRegistry getResourceRegistry()
public static ISleepManager getSleepManager()
public static IRadioPolicyManager getRadioPolicyManager()
public static I802_15_4_PHY getI802_15_4_PHY()
public static I802_15_4_MAC[] getI802_15_4_MACs()
public static IProprietaryRadio getIProprietaryRadio()
public static void setAsDaemonThread(Thread thread)
public static void closeBaseStation()
|
SunSPOT API V4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |