CBLE - Cordio PAL SM: Implement slave security request notification

pull/6188/head
Vincent Coubard 2018-03-01 14:57:05 +00:00
parent da6ede34a8
commit 56af3cb1be
1 changed files with 7 additions and 1 deletions

View File

@ -582,8 +582,14 @@ bool CordioSecurityManager::sm_handler(const wsfMsgHdr_t* msg) {
return true;
}
case DM_SEC_SLAVE_REQ_IND:
case DM_SEC_SLAVE_REQ_IND: {
dmSecPairIndEvt_t* evt = (dmSecPairIndEvt_t*) msg;
handler->on_slave_security_request(
/* connection */ evt->hdr.param,
evt->auth
);
return true;
}
case DM_SEC_CALC_OOB_IND:
return true;