This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Pairing issue and connection problem on CC2540

Other Parts Discussed in Thread: CC2540

I am implementing low energy program using SimpleBLEperipheral running CC2540.

I want my ble program to connected to only specific phone's application. I don't want my ble program running on CC2540 to connect to other phone's ble application.


Plus I set my program's bond manager below.

uint32 passkey =123456;
uint8 pairMode = GAPBOND_PAIRING_MODE_WAIT_FOR_REQ;
uint8 mitm = TRUE;
uint8 ioCap = GAPBOND_IO_CAP_DISPLAY_ONLY;
uint8 bonding = TRUE;

But I met pin code's pop-up menu. I don't want pop-up menu.

Any good idea?

I am looking forward to ble experts' reply.

  • Hello JooHyun,

    Although not all details are provided, you seem to be using passkey pairing (MITM). Most phone OS's will prompt the user for the passkey. Even when Just Works pairing is used, iOS will require the user to confirm the Pairing via the pop-up dialog. Please contact the phone manufacture for more details on their pairing options.

    Note that when bonded, the phone should not prompt the user for subsequent re-connections. You'll also need to implement some form of a whitelist. If using iOS or newer Android OS's, please see this thread: e2e.ti.com/.../1428335

    Best wishes