public enum FunctionalityLevel extends Enum<FunctionalityLevel>
AT+CFUN.| Enum Constant and Description | 
|---|
| AIRPLANE_MODEModule's RF-interface (TX and RX) is shut down whereby it logs off from the network and enters Airplane mode,
 which is indicated via "^SYSSTART AIRPLANE MODE" URC. | 
| NORMALNormal functionality level. | 
| Modifier and Type | Method and Description | 
|---|---|
| static FunctionalityLevel | get()Gets the current functionality level. | 
| static void | reset()Resets and restarts the module. | 
| static void | set(FunctionalityLevel level)Gets the current functionality level. | 
| static FunctionalityLevel | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static FunctionalityLevel[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final FunctionalityLevel AIRPLANE_MODE
public static final FunctionalityLevel NORMAL
public static FunctionalityLevel get() throws ATCommandFailedException
ATCommandFailedException - if an ATC exception occurs.public static void reset()
                  throws ATCommandFailedException
The current functionality level will be retained.
ATCommandFailedException - if an ATC exception occurs.public static void set(FunctionalityLevel level) throws ATCommandFailedException
level - the functionality level to set.ATCommandFailedException - if an ATC exception occurs.public static FunctionalityLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static FunctionalityLevel[] values()
for (FunctionalityLevel c : FunctionalityLevel.values()) System.out.println(c);