aboutsummaryrefslogtreecommitdiff
path: root/Bluetooth.h
diff options
context:
space:
mode:
Diffstat (limited to 'Bluetooth.h')
-rw-r--r--Bluetooth.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Bluetooth.h b/Bluetooth.h
index 586ac66..a0fd2c6 100644
--- a/Bluetooth.h
+++ b/Bluetooth.h
@@ -126,14 +126,14 @@ namespace trygvis {
class AttributeData {
public:
- static AttributeData* fromByteBuffer(ByteBuffer &bytes, uint8_t length);
+ static AttributeData* fromByteBuffer(ByteBuffer &value, uint8_t length);
+
+ const uint16_t handle;
+ const ByteBuffer value;
private:
- AttributeData(uint16_t handle, uint8_t* bytes);
+ AttributeData(uint16_t handle, ByteBuffer value);
~AttributeData();
-
- uint16_t handle;
- uint8_t *bytes;
};
// BluetoothAdapter &getAdapter(int hciDevice);