47 lines
1.2 KiB
C
47 lines
1.2 KiB
C
//
|
|
// Created by CFIF on 20.10.25.
|
|
//
|
|
|
|
#ifndef HVAC_DEVICEDATANONVOLATILE_H
|
|
#define HVAC_DEVICEDATANONVOLATILE_H
|
|
|
|
#include "DataRuntime.h"
|
|
#include "HVAC_preDefine.h"
|
|
#include "StatusData.h"
|
|
|
|
#define DEVICE_DATA_VERSION_CALIB 0x01
|
|
#define DEVICE_DATA_VERSION_PARAM 0x01
|
|
|
|
|
|
typedef struct {
|
|
tInternal_SW_Version Internal_SW_Version;
|
|
char Software_classification_identification[15];
|
|
tFingerprint Tester_Fingerprint;
|
|
tFingerprint Boot_SW_Fingerprint;
|
|
tFingerprint Application_SW_Fingerprint;
|
|
char Spare_Part_Number[27];
|
|
char Serial_Number[26];
|
|
char Vehicle_Identification[17];
|
|
char ECU_hardware_number_NAMI[13];
|
|
char ECU_hardware_number_ECU_supplier[2];
|
|
char ECU_software_number_ECU_supplier[2];
|
|
char ECU_boot_software_identification_ECU_supplier[2];
|
|
} ecu_identification_t;
|
|
|
|
typedef struct {
|
|
ecu_identification_t identification;
|
|
} tDeviceSettings;
|
|
|
|
|
|
typedef struct {
|
|
uint32_t version_param;
|
|
uint32_t version_calib;
|
|
tDeviceSettings device;
|
|
} tDeviceDataNonVolatile;
|
|
|
|
void DeviceDataParam_InitDefaults(tDeviceDataNonVolatile *env);
|
|
|
|
void DeviceDataCalib_InitDefaults(tDeviceDataNonVolatile *env);
|
|
|
|
#endif //HVAC_DEVICEDATANONVOLATILE_H
|