summaryrefslogtreecommitdiff
path: root/gatoattclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gatoattclient.cpp')
-rw-r--r--gatoattclient.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gatoattclient.cpp b/gatoattclient.cpp
index 54e2212..6cf6d69 100644
--- a/gatoattclient.cpp
+++ b/gatoattclient.cpp
@@ -184,7 +184,8 @@ uint GatoAttClient::requestReadByType(GatoHandle start, GatoHandle end, const Ga
QByteArray data;
QDataStream s(&data, QIODevice::WriteOnly);
s.setByteOrder(QDataStream::LittleEndian);
- s << start << end << gatouuid_to_bytearray(uuid, true, false);
+ s << start << end;
+ write_gatouuid(s, uuid, true, false);
return request(AttOpReadByTypeRequest, data, receiver, member);
}
@@ -204,7 +205,8 @@ uint GatoAttClient::requestReadByGroupType(GatoHandle start, GatoHandle end, con
QByteArray data;
QDataStream s(&data, QIODevice::WriteOnly);
s.setByteOrder(QDataStream::LittleEndian);
- s << start << end << gatouuid_to_bytearray(uuid, true, false);
+ s << start << end;
+ write_gatouuid(s, uuid, true, false);
return request(AttOpReadByGroupTypeRequest, data, receiver, member);
}