Hello,
Thanks for this suggestion. I made the changes told by you and now the pin code gets accepted. But further the required link key does not get stored and PAN1323 does not get paired with the PC. Can you tell the necessary changes to be made further in the code? Thanks in advance.
After entering pin code automatically I get the following response in tera term:
GAP_Authentication_Response(), Pin Code Response Success.
Client>
SPP Open Confirmation, ID: 0x0001, Status 0x0002.
Client>