Files
luban-lite/packages/artinchip/uds/UDSLogic/SID85_ControlDTCSetting.h

44 lines
1.5 KiB
C
Raw Normal View History

2025-07-22 11:15:46 +08:00
/*
*
* SPDX-License-Identifier: Apache-2.0
*
*/
#ifndef _SID85_CONTROL_DTC_SETTING_H_
#define _SID85_CONTROL_DTC_SETTING_H_
#include <stdint.h>
#include "uds_def.h"
/* uds DTC setting */
2025-10-21 13:59:50 +08:00
typedef enum __UDS_DTC_SETTING__ {
UDS_DTC_SETTING_NONE = 0,
UDS_DTC_SETTING_ON, // 使能故障码设置
UDS_DTC_SETTING_OFF // 禁止故障码设置
} uds_dtc_setting;
2025-07-22 11:15:46 +08:00
/******************************************************************************
* : void service_85_ControlDTCSetting(const uint8_t* msg_buf, uint16_t msg_dlc)
* : 85 - DTC
* : uint8_t* msg_buf --
    uint8_t msg_dlc --
* :
* :
* :
******************************************************************************/
2025-10-21 13:59:50 +08:00
void service_85_ControlDTCSetting(const uint8_t *msg_buf, uint16_t msg_dlc);
2025-07-22 11:15:46 +08:00
/******************************************************************************
* : bool_t service_85_check_len(const uint8_t* msg_buf, uint16_t msg_dlc)
* : 85
* : uint16_t msg_dlc --
* :
* : TRUE: ; FALSE:
* :
******************************************************************************/
2025-10-21 13:59:50 +08:00
bool_t service_85_check_len(const uint8_t *msg_buf, uint16_t msg_dlc);
2025-07-22 11:15:46 +08:00
#endif
/****************EOF****************/