Hi. We've posted too much things and we want to say thank u all for the responses.
We are using BLE device monitor and when we connect to CC2541 the phone dont ask us for the PIN. Thats weird cause we set the PIN in the GAP.
So, we want to know how to set the PIN in the code in the way that when we connect the mobile ask you for the PIN first of all.
Thank you all