Hello,
I am using MSP-EXP430F5438 and PAN1323ETU. Even I want to enter pin code "0000" automatically to connect PAN1323 to my PC. I carried out steps as you mentioned above but still I get message on Tera Term as : Usage: PINCodeResponse [PIN Code]. My edited PinCodeResponse is as follows:
/* Initialize the PIN code. */
ASSIGN_PIN_CODE(PINCode, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
BTPS_MemCopy(&PINCode, TempParam->Params[0].strParam, BTPS_StringLength(TempParam->Params[0].strParam));
/* Populate the response structure. */
GAP_Authentication_Information.GAP_Authentication_Type = atPINCode;
GAP_Authentication_Information.Authentication_Data_Length =4 ;
GAP_Authentication_Information.Authentication_Data.PIN_Code = PINCode;
/* Submit the Authentication Response. */