48 lines
1.2 KiB
C
48 lines
1.2 KiB
C
//
|
|
// Created by cfif on 07.08.2024.
|
|
//
|
|
|
|
#ifndef SMART_COMPONENTS_TELEMATICA_READDTCINFORMATION_19_H
|
|
#define SMART_COMPONENTS_TELEMATICA_READDTCINFORMATION_19_H
|
|
|
|
#include "stdint.h"
|
|
|
|
typedef enum {
|
|
UDS_TEST_AUDIO_FILE = 3,
|
|
UDS_TEST_GSM_AUDIO_CODEC = 4,
|
|
UDS_TEST_MODEM_SOFT_REV = 5,
|
|
UDS_TEST_GSM = 7,
|
|
UDS_TEST_CERT_REV = 8,
|
|
UDS_TEST_GNSS_ANT = 11,
|
|
UDS_TEST_BAT_VOLTAGE = 12,
|
|
UDS_TEST_BAT_CONNECT = 13,
|
|
UDS_TEST_BAT_CHARGE = 14,
|
|
UDS_TEST_MICROPHONE_CONNECT = 18,
|
|
UDS_TEST_SPEAKER_CONNECT = 20,
|
|
UDS_TEST_VIN = 21,
|
|
UDS_TEST_EOL = 22,
|
|
UDS_TEST_ACCEL = 25,
|
|
UDS_TEST_ACCEL_CALIB = 27,
|
|
UDS_TEST_SIM_ERA = 28,
|
|
UDS_TEST_SIM_COMERS = 29,
|
|
UDS_TEST_AMPLIFIER = 31
|
|
} eUdsErrorDTC;
|
|
|
|
typedef struct __attribute__ ((packed)) {
|
|
uint8_t DTCHighByte;
|
|
uint8_t DTCMiddleByte;
|
|
uint8_t DTCLowByte;
|
|
} tUDS_DTC_Error;
|
|
|
|
// Для запроса кодов ошибок
|
|
typedef struct __attribute__ ((packed)) {
|
|
uint8_t ServiceId;
|
|
uint8_t reportDTCByStatusMask;
|
|
uint8_t DTCStatusMask;
|
|
} tReadDTCInformationRequest;
|
|
|
|
|
|
extern const tUDS_DTC_Error UDS_DTC_Error[];
|
|
|
|
#endif //SMART_COMPONENTS_TELEMATICA_READDTCINFORMATION_19_H
|