diff --git a/features/FEATURE_BLE/source/generic/GenericGap.cpp b/features/FEATURE_BLE/source/generic/GenericGap.cpp index f738e85f33..0fe570b5f8 100644 --- a/features/FEATURE_BLE/source/generic/GenericGap.cpp +++ b/features/FEATURE_BLE/source/generic/GenericGap.cpp @@ -1441,6 +1441,7 @@ void GenericGap::processDisconnectionEvent( } if (_eventHandler) { + printf("disconnection complete passed to application event handler\r\n"); _eventHandler->onDisconnectionComplete( DisconnectionEvent( handle, @@ -2085,7 +2086,7 @@ ble_error_t GenericGap::setAdvertisingPayload( handle, payload, /* minimise fragmentation */ true, - /* scan response */ true + /* scan response */ false ); }