Hi
I cannot find any example related to UDS Client usage. However i have figured out a way to read the response data and would like to verify if there is any other way. In simple terms I wait for idle state after executing request then read data from buffer
case JOB_FUNC_W8_RESP:
// IVEC_BSW_LOG(LOG_STRING, "Waiting for resp %d\n", l_i32Error);
if(UDSClientPoll(&__gprv_UdsClient)==UDS_CLIENT_IDLE)
{
IVEC_BSW_LOG(LOG_STRING, "Request Complete.\n");
**for (int i = 0; i < __gprv_UdsClient.recv_size; i++)
printf("%02X ", __gprv_UdsClient.recv_buf[i]); // my data
printf("\n");**//
__lprv_i32JobStepNo = JOB_FUNC_FINISH;
}
break;
Hi
I cannot find any example related to UDS Client usage. However i have figured out a way to read the response data and would like to verify if there is any other way. In simple terms I wait for idle state after executing request then read data from buffer