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 56af3cb commit 36247b3Copy full SHA for 36247b3
features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalSecurityManager.cpp
@@ -600,8 +600,15 @@ bool CordioSecurityManager::sm_handler(const wsfMsgHdr_t* msg) {
600
case DM_SEC_COMPARE_IND:
601
return true;
602
603
- case DM_SEC_KEYPRESS_IND:
+ case DM_SEC_KEYPRESS_IND: {
604
+ dmSecKeypressIndEvt_t* evt = (dmSecKeypressIndEvt_t*) msg;
605
+
606
+ handler->on_keypress_notification(
607
+ /* connection */ evt->hdr.param,
608
+ (Keypress_t) evt->notificationType
609
+ );
610
611
+ }
612
613
default:
614
return false;
0 commit comments