Commit 51ebc182 authored by 李秉薇's avatar 李秉薇

fix:39981

parent 21b5c5f2
...@@ -1712,7 +1712,7 @@ void UDS_Service_28_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t ...@@ -1712,7 +1712,7 @@ void UDS_Service_28_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t
{ {
UDS_ISO14229_Transfer[i] = * ( A_Data + i ); UDS_ISO14229_Transfer[i] = * ( A_Data + i );
} }
//只支持0x03参数
switch(UDS_ISO14229_Transfer[0]) switch(UDS_ISO14229_Transfer[0])
{ {
...@@ -1751,8 +1751,8 @@ void UDS_Service_28_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t ...@@ -1751,8 +1751,8 @@ void UDS_Service_28_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t
//请求超出范围,返回31负反馈 //请求超出范围,返回31负反馈
else else
{ {
// if(FunorPhy == DIAG_ID_Rx_FUN ) if(FunorPhy == DIAG_ID_Rx_FUN )
// return ; return ;
NegRes.code = requestOutOfRange ; NegRes.code = requestOutOfRange ;
UDS_Service_Response(0x28, NEGATIVE_RSP, DIAG_ID_Tx, 1, ( uint8_t * ) ( &NegRes.code )); UDS_Service_Response(0x28, NEGATIVE_RSP, DIAG_ID_Tx, 1, ( uint8_t * ) ( &NegRes.code ));
break; break;
...@@ -1792,8 +1792,8 @@ void UDS_Service_28_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t ...@@ -1792,8 +1792,8 @@ void UDS_Service_28_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t
else else
{ {
// if(FunorPhy == DIAG_ID_Rx_FUN ) if(FunorPhy == DIAG_ID_Rx_FUN )
// return ; return ;
NegRes.code = requestOutOfRange ; NegRes.code = requestOutOfRange ;
UDS_Service_Response(0x28, NEGATIVE_RSP, DIAG_ID_Tx, 1, ( uint8_t * ) ( &NegRes.code )); UDS_Service_Response(0x28, NEGATIVE_RSP, DIAG_ID_Tx, 1, ( uint8_t * ) ( &NegRes.code ));
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment