public enum MetaWear extends java.lang.Enum<MetaWear> implements GATT.GATTCharacteristic
GATT.GATTService.METAWEAR
GATT.GATTCharacteristic, GATT.GATTService
Enum Constant and Description |
---|
COMMAND
UUID for issuing commands to MetaWear
|
NOTIFICATION_1
UUID for receiving notifications from MetaWear i.e.
|
NOTIFICATION_2
UUID for receiving notifications from MetaWear i.e.
|
NOTIFICATION_3
UUID for receiving notifications from MetaWear i.e.
|
Modifier and Type | Method and Description |
---|---|
GATT.GATTService |
gattService()
Get the service the characteristic belongs to
|
java.util.UUID |
uuid()
Get the UUID of the GATT object
|
static MetaWear |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MetaWear[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetaWear COMMAND
public static final MetaWear NOTIFICATION_1
public static final MetaWear NOTIFICATION_2
public static final MetaWear NOTIFICATION_3
public static MetaWear[] values()
for (MetaWear c : MetaWear.values()) System.out.println(c);
public static MetaWear 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.util.UUID uuid()
GATT
public GATT.GATTService gattService()
GATT.GATTCharacteristic
gattService
in interface GATT.GATTCharacteristic