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.

CCS/CC2640R2F: Pairing Error Code 4

Part Number: CC2640R2F


Tool/software: Code Composer Studio

Hi,

Recently I am experiencing paring error code 04 a lot, when I am testing my devices.  According to the source code the error is SMP_PAIRING_FAILED_CONFIRM_VALUE. 

Can someone explain me, what the problem is during paring. 

Edit:

The interesting thing is, that I am using the same firmware on different devices and at some devices no pairing error occurs and other ones it does!!

For testing the connection, I am using my IPhoneSe and the LightBlue App.

The firmware is a modified version of the original ProjectZero tutorial code.

The Bond Manager Init is:

uint32_t passkey = 0; // passkey "000000"
uint8_t pairMode = GAPBOND_PAIRING_MODE_WAIT_FOR_REQ;
uint8_t mitm = TRUE; 
uint8_t ioCap = GAPBOND_IO_CAP_DISPLAY_ONLY;
uint8_t bonding = FALSE;

Thank you

Christian