public static enum Uuids.GATTFormatType extends java.lang.Enum<Uuids.GATTFormatType>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
boolean |
getExponentValue() |
java.lang.String |
getShortName() |
int |
getSizeBits() |
int |
getSizeBytes() |
byte[] |
objectToByteArray(java.lang.Object o) |
byte[] |
stringToByteArray(java.lang.String s) |
static Uuids.GATTFormatType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Uuids.GATTFormatType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Uuids.GATTFormatType GCFT_rfu
public static final Uuids.GATTFormatType GCFT_boolean
public static final Uuids.GATTFormatType GCFT_2bit
public static final Uuids.GATTFormatType GCFT_nibble
public static final Uuids.GATTFormatType GCFT_uint8
public static final Uuids.GATTFormatType GCFT_uint12
public static final Uuids.GATTFormatType GCFT_uint16
public static final Uuids.GATTFormatType GCFT_uint24
public static final Uuids.GATTFormatType GCFT_uint32
public static final Uuids.GATTFormatType GCFT_uint48
public static final Uuids.GATTFormatType GCFT_uint64
public static final Uuids.GATTFormatType GCFT_uint128
public static final Uuids.GATTFormatType GCFT_sint8
public static final Uuids.GATTFormatType GCFT_sint12
public static final Uuids.GATTFormatType GCFT_sint16
public static final Uuids.GATTFormatType GCFT_sint24
public static final Uuids.GATTFormatType GCFT_sint32
public static final Uuids.GATTFormatType GCFT_sint48
public static final Uuids.GATTFormatType GCFT_sint64
public static final Uuids.GATTFormatType GCFT_sint128
public static final Uuids.GATTFormatType GCFT_float32
public static final Uuids.GATTFormatType GCFT_float64
public static final Uuids.GATTFormatType GCFT_SFLOAT
public static final Uuids.GATTFormatType GCFT_FLOAT
public static final Uuids.GATTFormatType GCFT_duint16
public static final Uuids.GATTFormatType GCFT_utf8s
public static final Uuids.GATTFormatType GCFT_utf16s
public static final Uuids.GATTFormatType GCFT_struct
public static Uuids.GATTFormatType[] values()
for (Uuids.GATTFormatType c : Uuids.GATTFormatType.values()) System.out.println(c);
public static Uuids.GATTFormatType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getShortName()
public java.lang.String getDescription()
public boolean getExponentValue()
public int getSizeBits()
public int getSizeBytes()
public byte[] stringToByteArray(java.lang.String s) throws Uuids.GATTCharacteristicFormatTypeConversionException
public byte[] objectToByteArray(java.lang.Object o) throws Uuids.GATTCharacteristicFormatTypeConversionException