diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/org/direct_bt/EIRDataTypeSet.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/org/direct_bt/EIRDataTypeSet.java b/java/org/direct_bt/EIRDataTypeSet.java index a9830ffb..cae0c87c 100644 --- a/java/org/direct_bt/EIRDataTypeSet.java +++ b/java/org/direct_bt/EIRDataTypeSet.java @@ -54,6 +54,7 @@ public class EIRDataTypeSet { HASH (1 << 12), RANDOMIZER (1 << 13), DEVICE_ID (1 << 14), + CONN_IVAL (1 << 15), SERVICE_UUID (1 << 30); DataType(final int v) { value = v; } @@ -65,6 +66,9 @@ public class EIRDataTypeSet { public EIRDataTypeSet(final int v) { mask = v; } + public EIRDataTypeSet() { + mask = 0; + } public boolean isSet(final DataType bit) { return 0 != ( mask & bit.value ); } public void set(final DataType bit) { mask = mask | bit.value; } |