|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.alarexgroup.m2mplf.adapters.hw.CriticalTemperatureAdapter
public class CriticalTemperatureAdapter
Adapter for monitoring module's and battery's temperature.
Example:
import com.alarexgroup.m2mplf.M2Mlet;
|
| Field Summary | |
|---|---|
static int |
ABOVE_UPPER_ALERT_LIMIT
Temperature above the highest limit |
static int |
ABOVE_UPPERMOST_LIMIT
Temperature near the highest limit |
static int |
BELLOW_LOW_ALERT_LIMIT
Temperature below the lowest limit |
static int |
BELLOW_LOWEST_LIMIT
Temperature near the lowest limit |
static int |
NORMAL
Normal temperature |
static int |
SOURCE_BATTERY
BATTERY |
static int |
SOURCE_BOARD
SOURCE BOARD |
| Method Summary | |
|---|---|
static CriticalTemperatureAdapter |
getCriticalTemperatureAdapter(CriticalTemperatureAdapterListener listener)
Initialize adapter |
void |
onURCEvent(java.lang.String urc)
This method is called when gets AT command answer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SOURCE_BATTERY
public static final int SOURCE_BOARD
public static final int BELLOW_LOWEST_LIMIT
public static final int BELLOW_LOW_ALERT_LIMIT
public static final int NORMAL
public static final int ABOVE_UPPER_ALERT_LIMIT
public static final int ABOVE_UPPERMOST_LIMIT
| Method Detail |
|---|
public static CriticalTemperatureAdapter getCriticalTemperatureAdapter(CriticalTemperatureAdapterListener listener)
listener -
public void onURCEvent(java.lang.String urc)
ATCommanderListener
onURCEvent in interface ATCommanderListenerurc - - URC string
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||