aboutsummaryrefslogtreecommitdiff
path: root/Bluetooth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Bluetooth.cpp')
-rw-r--r--Bluetooth.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/Bluetooth.cpp b/Bluetooth.cpp
index e634233..b135282 100644
--- a/Bluetooth.cpp
+++ b/Bluetooth.cpp
@@ -134,13 +134,12 @@ vector<AttributeData> AttPdu::parseReadByType(ByteBuffer &bytes) {
AttributeData AttributeData::fromByteBuffer(ByteBuffer &bytes) {
uint16_t handle = bytes.read16le();
- uint16_t groupEndHandle = bytes.read16le();
- return AttributeData(handle, groupEndHandle, bytes.view());
+ return AttributeData(handle, bytes.view());
}
-AttributeData::AttributeData(uint16_t handle, uint16_t groupEndHandle, ByteBuffer value) :
- handle(handle), endGroupHandle(groupEndHandle), value(value) {
+AttributeData::AttributeData(uint16_t handle, ByteBuffer value) :
+ handle(handle), value(value) {
}
AttributeData::~AttributeData() {