It provides the Data object's name within its parent Data object, the Data object itself, the {@link DataSchema} of the Data object,how depth of the Data object within the object graph being iterated, and a reference to {@link DataElement} providing thesame information about the parent Data object. @author slim
DataElement
class defines the various data types that a Bluetooth service attribute value may have. The following table describes the data types and valid values that a DataElement
object can store. Data Type | Valid Values |
---|---|
NULL | represents a null value |
U_INT_1 | long value range [0, 255] |
U_INT_2 | long value range [0, 216-1] |
U_INT_4 | long value range [0, 232-1] |
U_INT_8 | byte[] value range [0, 264-1] |
U_INT_16 | byte[] value range [0, 2128-1] |
INT_1 | long value range [-128, 127] |
INT_2 | long value range [-215, 215-1] |
INT_4 | long value range [-231, 231-1] |
INT_8 | long value range [-263, 263-1] |
INT_16 | byte[] value range [-2127, 2127-1] |
URL | java.lang.String |
UUID | javax.bluetooth.UUID |
BOOL | boolean |
STRING | java.lang.String |
DATSEQ | java.util.Enumeration |
DATALT | java.util.Enumeration |
DataElement
has a name, a {@link DataType type}, and a value.
|
|
|
|
|
|
|
|