/* * * SPDX-License-Identifier: Apache-2.0 * */ #ifndef _SID31_ROUTINE_CONTROL_H_ #define _SID31_ROUTINE_CONTROL_H_ #include #include "uds_def.h" /****************************************************************************** * 函数名称: void service_31_RoutineControl(const uint8_t* msg_buf, uint16_t msg_dlc) * 功能说明: 31 服务 - 例程控制 * 输入参数: uint8_t* msg_buf --数据首地址     uint8_t msg_dlc --数据长度 * 输出参数: 无 * 函数返回: 无 * 其它说明: 无 ******************************************************************************/ void service_31_RoutineControl(const uint8_t *msg_buf, uint16_t msg_dlc); /****************************************************************************** * 函数名称: bool_t service_31_check_len(const uint8_t* msg_buf, uint16_t msg_dlc) * 功能说明: 检查 31 服务数据长度是否合法 * 输入参数: uint16_t msg_dlc --数据长度 * 输出参数: 无 * 函数返回: TRUE: 合法; FALSE: 非法 * 其它说明: 无 ******************************************************************************/ bool_t service_31_check_len(const uint8_t *msg_buf, uint16_t msg_dlc); #endif /****************EOF****************/