Commit 1342fc14 authored by 张明扬's avatar 张明扬 🇨🇳

feat:修改28服务支持03子功能

parent a957bea1
...@@ -1168,13 +1168,13 @@ void UDS_Service_28_Indication(uint16_t A_TA_type, uint16_t A_Length, uint8_t *A ...@@ -1168,13 +1168,13 @@ void UDS_Service_28_Indication(uint16_t A_TA_type, uint16_t A_Length, uint8_t *A
NrcCode = SerXXNRC22Filter(); NrcCode = SerXXNRC22Filter();
} }
if (0 == NrcCode) // if (0 == NrcCode)
{ // {
if (normalCommunicationMessages != UDS_ISO14229_Transfer[1]) // if (normalCommunicationMessages != UDS_ISO14229_Transfer[1])
{ // {
NrcCode = requestOutOfRange; // NrcCode = requestOutOfRange;
} // }
} // }
if (0 == NrcCode) if (0 == NrcCode)
{ {
...@@ -1229,6 +1229,9 @@ void UDS_Service_28_Indication(uint16_t A_TA_type, uint16_t A_Length, uint8_t *A ...@@ -1229,6 +1229,9 @@ void UDS_Service_28_Indication(uint16_t A_TA_type, uint16_t A_Length, uint8_t *A
if (UDS_ISO14229_Transfer[1] & networkManagementCommunicationMessages) if (UDS_ISO14229_Transfer[1] & networkManagementCommunicationMessages)
{ {
} }
if (UDS_ISO14229_Transfer[1] & networkManagementCommunicationMessagesnormalCommunicationMessages)
{
}
} }
if (AbleResponseType == Ser28BanResponse) if (AbleResponseType == Ser28BanResponse)
......
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