Hi to all,
i am developing a device with CC2540 SOC but i have a problem in bonding. my problem is in that manner that at first when i program the cc2540 dongle dev board it works fine but after some times it encounter with problem in pairing and i can't pair to my device any more, pls see the below screen shot:
as you can see in the above screen shot pairing procedure was started and performing well but after that master(cc2540) had sent Sent_Identity_Information request to the peripheral(nrf51822) it seems that it forgot to send Sent_Identity_Address_Information and after sometime(i had set default timeout value to 1sec) connection time outed and then peripheral start to advertise and then cc2540 try to auto connect to it but because bonding did not completed peripheral reject the encryption request. i had described this problem in this forum in
and i thought that the problem was fixed, but some time ago the problem happen again. in before the default timeout value was 20sec and this caused that first disconnection take too long, but after this delay because the central had sent Sent_Identity_Address_Information request the pairing procedure completed and after disconnection devices auto connect to each other. then i changed the default timeout value to 1sec to minimize the delay but after that the problem happen in manner that i described in first of the my question.
i do not have any idea to solve this problem, can any one give me a advice??


