Open
Description
Description of defect
The following preprocessor switch prevents handling of notifications and indications (pushing to the client) when the security feature is disabled. Removing the preprocessor switch fixes the issue. Any idea why this code snippet has anything to do with the security switch?
mbed-os/connectivity/FEATURE_BLE/source/cordio/source/GattServerImpl.cpp
Lines 827 to 848 in 2eb06e7
Target(s) affected by this defect ?
BLE targets.
Toolchain(s) (name and version) displaying this defect ?
GCC ARM
What version of Mbed-os are you using (tag or sha) ?
mbed-os-6.15.0
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
Not related
How is this defect reproduced ?
Get the update GATT server example and disable security with: "ble.ble-feature-security": false
. Observe no notifications being received by the client.