diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-07-21 14:03:19 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@digia.com> | 2014-07-23 15:28:47 +0200 |
commit | 58d1b5bdffc25f4ff22dcd00f0572c9c4fac3f88 (patch) | |
tree | d7f5302fb9a303cf67d9d6899106b65a7d2e7962 /src/bluetooth/qlowenergycharacteristic.cpp | |
parent | f1b1896889dd32d4e304e369844c9764ec49364d (diff) |
Characteristic and descriptor value() are no longer hex encoded
There is no point converting the data to its hex representation. The
use case at hand will decide it in the current application context.
The returned QByteArray is the raw byte array as it comes from the
device.
This behavior was legacy (introduced by the previous API) and
subsequently it was simply adopted.
Change-Id: If662c02a5e3c3d37cccb374add02e75522352894
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Diffstat (limited to 'src/bluetooth/qlowenergycharacteristic.cpp')
-rw-r--r-- | src/bluetooth/qlowenergycharacteristic.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bluetooth/qlowenergycharacteristic.cpp b/src/bluetooth/qlowenergycharacteristic.cpp index bba5b7a0..0c3dc7af 100644 --- a/src/bluetooth/qlowenergycharacteristic.cpp +++ b/src/bluetooth/qlowenergycharacteristic.cpp @@ -161,9 +161,7 @@ QLowEnergyCharacteristic::PropertyTypes QLowEnergyCharacteristic::properties() c } /*! - Returns value of the gatt characteristic. - - The returned QByteArray contains the hex representation of the value. + Returns value of the GATT characteristic. */ QByteArray QLowEnergyCharacteristic::value() const { |