Other Parts Discussed in Thread: WL1837
Tool/software: Linux
Hello,
my board :
st_authResponseInfo.BD_ADDR = pst_iRequestData->BD_ADDR;
st_authResponseInfo.AuthenticationAction = DEVM_AUTHENTICATION_ACTION_IO_CAPABILITIES_RESPONSE;
if(!LowEnergy)
{
st_authResponseInfo.AuthenticationDataLength = sizeof(st_authResponseInfo.AuthenticationData.IOCapabilities);
st_authResponseInfo.AuthenticationData.IOCapabilities.IO_Capability = (GAP_LE_IO_Capability_t)icDisplayOnly;
st_authResponseInfo.AuthenticationData.IOCapabilities.MITM_Protection_Required = true;
st_authResponseInfo.AuthenticationData.IOCapabilities.OOB_Data_Present = false;
}
else
{
st_authResponseInfo.AuthenticationAction |= DEVM_AUTHENTICATION_ACTION_LOW_ENERGY_OPERATION_MASK;
st_authResponseInfo.AuthenticationDataLength = sizeof(st_authResponseInfo.AuthenticationData.LEIOCapabilities);
st_authResponseInfo.AuthenticationData.LEIOCapabilities.IO_Capability = (GAP_LE_IO_Capability_t)licDisplayOnly;
st_authResponseInfo.AuthenticationData.LEIOCapabilities.Bonding_Type = lbtBonding;
st_authResponseInfo.AuthenticationData.LEIOCapabilities.MITM = true;
st_authResponseInfo.AuthenticationData.LEIOCapabilities.SC = true;
st_authResponseInfo.AuthenticationData.LEIOCapabilities.P256DebugMode = false;
st_authResponseInfo.AuthenticationData.LEIOCapabilities.OOB_Present = false;
st_authResponseInfo.AuthenticationData.LEIOCapabilities.Keypress = false;
}
Best regards,
Thomas.