I have two scenarios for pairing devices, a instant pairing and pairing prompt that delays. The instant works correctly, but the delay does not. I see the same data being passed into:
static void gapBondMgrAuthenticate( uint16 connHandle, uint8 addrType, gapPairingReq_t *pPairReq )
but I see in the Packet Sniffer:
The Working one has the same values in the SM_Pairing_Req and SP_Pairing_Rsp for both KeyDist feilds (0x07). The Failing one does not (0x07 & 0x00).
It looks like those values should come from the keyDist object, but that is always filled with 1's. So I'm not sure how the (0x07) is generated.