summaryrefslogtreecommitdiff
path: root/src/BLEDescriptor.cpp
diff options
context:
space:
mode:
authorNeil Kolban <kolban1@kolban.com>2018-04-03 19:34:25 -0500
committerNeil Kolban <kolban1@kolban.com>2018-04-03 19:34:25 -0500
commitb5d960bacc2c92770a42b4b4565f0e82c797bbc5 (patch)
tree4dfa590a744a7f282698cae709173391ebbe9011 /src/BLEDescriptor.cpp
parentSync for 0.4.9 (diff)
downloadthermostat-b5d960bacc2c92770a42b4b4565f0e82c797bbc5.tar.gz
thermostat-b5d960bacc2c92770a42b4b4565f0e82c797bbc5.tar.bz2
thermostat-b5d960bacc2c92770a42b4b4565f0e82c797bbc5.zip
Commit for 0.4.10
Diffstat (limited to 'src/BLEDescriptor.cpp')
-rw-r--r--src/BLEDescriptor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BLEDescriptor.cpp b/src/BLEDescriptor.cpp
index 1a72ef3..58ff78b 100644
--- a/src/BLEDescriptor.cpp
+++ b/src/BLEDescriptor.cpp
@@ -155,7 +155,7 @@ void BLEDescriptor::handleGATTServerEvent(
(uint32_t)m_pCharacteristic->getService()->getLastCreatedCharacteristic());
*/
if (m_pCharacteristic != nullptr &&
- m_bleUUID.equals(BLEUUID(param->add_char_descr.char_uuid)) &&
+ m_bleUUID.equals(BLEUUID(param->add_char_descr.descr_uuid)) &&
m_pCharacteristic->getService()->getHandle() == param->add_char_descr.service_handle &&
m_pCharacteristic == m_pCharacteristic->getService()->getLastCreatedCharacteristic()) {
setHandle(param->add_char_descr.attr_handle);