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.

CC2640: Stack does not send pairing state callback to application

Part Number: CC2640

Hello,

The problem with the previous question has not been resolved, so reopen it.

As the previous thread, stack does not send pairing state callback to application when connect to iPhone with DLE enabled.

// GAP Bond Manager Callbacks
static gapBondCBs_t Pairing_BondMgrCBs =
{
  (pfnPasscodeCB_t)Pairing_passcodeCB, // Passcode callback (not used by application)
  Pairing_pairStateCB // Pairing / Bonding state Callback (not used by application)
};

The "Pairing_pairStateCB" function must be called every connection.

But if the DLE is enabled, sometimes it's not called.

I guess it's about stack's heap overflow or something like that by enabling DLE.

It seems that there is a problem with the stack that the callback function is not called no matter what problem occurs.

Thanks,

Calvin