File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
features/FEATURE_BLE/targets/TARGET_CORDIO/source Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -773,13 +773,15 @@ bool CordioSecurityManager<EventHandler>::sm_handler(const wsfMsgHdr_t* msg) {
773
773
return true ;
774
774
}
775
775
776
+ #if BLE_FEATURE_SECURE_CONNECTIONS
776
777
case DM_SEC_ECC_KEY_IND: {
777
778
secEccMsg_t* evt = (secEccMsg_t*) msg;
778
779
DmSecSetEccKey (&evt->data .key );
779
780
memcpy (self._public_key_x , evt->data .key .pubKey_x , sizeof (self._public_key_x ));
780
781
self._lesc_keys_generated = true ;
781
782
return true ;
782
783
}
784
+ #endif // BLE_FEATURE_SECURE_CONNECTIONS
783
785
784
786
case DM_SEC_COMPARE_IND: {
785
787
dmSecCnfIndEvt_t* evt = (dmSecCnfIndEvt_t*) msg;
@@ -800,6 +802,7 @@ bool CordioSecurityManager<EventHandler>::sm_handler(const wsfMsgHdr_t* msg) {
800
802
return true ;
801
803
}
802
804
805
+ #if BLE_FEATURE_PRIVACY
803
806
// Privacy
804
807
case DM_PRIV_ADD_DEV_TO_RES_LIST_IND: // Device added to resolving list
805
808
case DM_PRIV_REM_DEV_FROM_RES_LIST_IND: // Device removed from resolving list
@@ -809,6 +812,7 @@ bool CordioSecurityManager<EventHandler>::sm_handler(const wsfMsgHdr_t* msg) {
809
812
self.process_privacy_control_blocks (true );
810
813
return true ;
811
814
}
815
+ #endif // BLE_FEATURE_PRIVACY
812
816
default :
813
817
return false ;
814
818
}
You can’t perform that action at this time.
0 commit comments