Class RSSI
- java.lang.Object
-
- io.heraldprox.herald.sensor.datatype.RSSI
-
- All Implemented Interfaces:
DoubleValue
public class RSSI extends java.lang.Object implements DoubleValue
RSSI in locally measured units. Value is typically -1 to -99 on most systems, with 0 indicating RSSI is not ready, and -100 indicating an out of range or error condition. This logic varies by source system though. Some (non Android) systems use 0 to -128.
-
-
Field Summary
Fields Modifier and Type Field Description double
value
-
Constructor Summary
Constructors Constructor Description RSSI(double value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
doubleValue()
boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
equals
public boolean equals(@Nullable java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
@NonNull public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in interfaceDoubleValue
-
-