File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ void BLEDescriptor::handleGATTServerEvent(
155
155
(uint32_t)m_pCharacteristic->getService()->getLastCreatedCharacteristic());
156
156
*/
157
157
if (m_pCharacteristic != nullptr &&
158
- m_bleUUID.equals (BLEUUID (param->add_char_descr .char_uuid )) &&
158
+ m_bleUUID.equals (BLEUUID (param->add_char_descr .descr_uuid )) &&
159
159
m_pCharacteristic->getService ()->getHandle () == param->add_char_descr .service_handle &&
160
160
m_pCharacteristic == m_pCharacteristic->getService ()->getLastCreatedCharacteristic ()) {
161
161
setHandle (param->add_char_descr .attr_handle );
Original file line number Diff line number Diff line change @@ -1654,7 +1654,7 @@ void BLEUtils::dumpGattServerEvent(
1654
1654
evtParam->add_char_descr .attr_handle ,
1655
1655
evtParam->add_char_descr .service_handle ,
1656
1656
evtParam->add_char_descr .service_handle ,
1657
- BLEUUID (evtParam->add_char_descr .char_uuid ).toString ().c_str ());
1657
+ BLEUUID (evtParam->add_char_descr .descr_uuid ).toString ().c_str ());
1658
1658
break ;
1659
1659
} // ESP_GATTS_ADD_CHAR_DESCR_EVT
1660
1660
You can’t perform that action at this time.
0 commit comments