Hi,
I am running 'Multi-role' project on CC2640R2 LaunchPad.
I can use a BLE applications on my iPad to connect to the board.
However, I was never asked a 'Passcode' when I tried to make the connection.
I saw the code for Passcode:
static void multi_role_processPasscode(gapPasskeyNeededEvent_t *pData)
{
// Use static passcode
uint32_t passcode = 123456;
Display_print1(dispHandle, MR_ROW_SECURITY, 0, "Passcode: %d", passcode);
// Send passcode to GAPBondMgr
GAPBondMgr_PasscodeRsp(pData->connectionHandle, SUCCESS, passcode);
}
I used a debugger to put a breakpoint inside this function and it never got hit.
How can I make the code to ask the 'Passcode' to the iPad application?
Thanks,
Steven