53 Type(
final int v) { value = (byte)v; }
66 public boolean isSet(
final Type bit) {
return 0 != (
mask & bit.value ); }
72 final StringBuilder out =
new StringBuilder();
77 out.append(
Type.
Read.name()); count++;
80 if( 0 < count ) { out.append(
", "); }
84 if( 0 < count ) { out.append(
", "); }
88 if( 0 < count ) { out.append(
", "); }
92 if( 0 < count ) { out.append(
", "); }
96 if( 0 < count ) { out.append(
", "); }
100 if( 0 < count ) { out.append(
", "); }
107 return out.toString();
Bit mask of GATT Characteristic Properties.
GattCharPropertySet(final Type bit)
GattCharPropertySet(final byte v)
boolean isSet(final Type bit)
BT Core Spec v5.2: Vol 3, Part G GATT: 3.3.1.1 Characteristic Properties.