-
-
Notifications
You must be signed in to change notification settings - Fork 182
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
First of all, there are items to be confirmed before the main subject.
NimBLE-Arduino/src/NimBLERemoteCharacteristic.cpp
Lines 529 to 533 in bc52eac
NimBLERemoteDescriptor* desc = getDescriptor(NimBLEUUID((uint16_t)0x2902)); | |
if(desc == nullptr) { | |
NIMBLE_LOGW(LOG_TAG, "<< setNotify(): Callback set, CCCD not found"); | |
return true; | |
} |
If descriptor 0x2902 does not exist, setNotify()
returns true
, which is correct, isn't it false
?
That's because I found that some devices couldn't get descriptor 0x2902 even though canNotify() == true
.
I don't think it's similar to the 16bit uuid problem I had before, but do you have any idea?
The device used for evaluation is this.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working