Skip to content

Commit 6d1d931

Browse files
committed
Fix pairing failure in TI applications
1 parent de5c022 commit 6d1d931

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/platform/cc13xx_26xx/BLEManagerImpl.cpp

+1-4
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ void BLEManagerImpl::EventHandler_init(void)
557557
CHIPoBLEProfile_AddService(GATT_ALL_SERVICES);
558558

559559
// Start Bond Manager and register callback
560-
VOID GAPBondMgr_Register(BLEMgr_BondMgrCBs);
560+
VOID GAPBondMgr_Register(&BLEMgr_BondMgrCBs);
561561

562562
// Register with GAP for HCI/Host messages. This is needed to receive HCI
563563
// events. For more information, see the HCI section in the User's Guide:
@@ -950,9 +950,6 @@ void BLEManagerImpl::ProcessEvtHdrMsg(QueuedEvt_t * pMsg)
950950

951951
case PAIR_STATE_EVT: {
952952
BLEMGR_LOG("BLEMGR: PAIR_STATE_EVT");
953-
954-
// Send passcode response
955-
GAPBondMgr_PasscodeRsp(((PasscodeData_t *) (pMsg->pData))->connHandle, SUCCESS, B_APP_DEFAULT_PASSCODE);
956953
}
957954
break;
958955

0 commit comments

Comments
 (0)