Z
@akajqq
case GAP_SEC_EVT_PIN_CODE_REQ:
{
uint8_t conidx = p_event->param.pin_code_req.conidx;
uint8_t tk_type = p_event->param.pin_code_req.tk_type;
LOG_INFO(app_tag, "PIN requested, conidx=%d, type=%d\r\n",
conidx, tk_type);
gap_security_send_pairing_password(conidx, 123456);
}
break;