We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5179398 commit 22f7ba1Copy full SHA for 22f7ba1
src/NimBLEClient.cpp
@@ -705,13 +705,16 @@ bool NimBLEClient::discoverAttributes() {
705
return false;
706
}
707
708
+ NimBLETaskData taskData(this);
709
+ NimBLERemoteDescriptor* dsc = nullptr;
710
+ NimBLEDescriptorFilter filter = {dsc, nullptr, &taskData};
711
for (auto svc : m_svcVec) {
712
if (!svc->retrieveCharacteristics()) {
713
714
715
716
for (auto chr : svc->m_vChars) {
- if (!chr->retrieveDescriptors()) {
717
+ if (!chr->retrieveDescriptors(&filter)) {
718
719
720
0 commit comments