Обновление
This commit is contained in:
parent
1a5839cbde
commit
380fb13ae1
|
|
@ -38,6 +38,30 @@ typedef struct {
|
||||||
uint8_t MBD[4];
|
uint8_t MBD[4];
|
||||||
} tInternal_SW_Version;
|
} tInternal_SW_Version;
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
AROMA_NOT_PRESENT = 0,
|
||||||
|
AROMA_PRESENT = 1,
|
||||||
|
AROMA_DEFAULT = 0xFF
|
||||||
|
} eAromaConfiguration;
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
ALG_STANDART = 0,
|
||||||
|
ALG_LIMOUSINE = 1,
|
||||||
|
ALG_DEFAULT = 0xFF
|
||||||
|
} eAlgorithmConfiguration;
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
REAR_HVAC_NOT_PRESENT = 0,
|
||||||
|
REAR_HVAC_PRESENT = 1,
|
||||||
|
REAR_HVAC_DEFAULT = 0xFF
|
||||||
|
} eRearHVACConfiguration;
|
||||||
|
|
||||||
|
typedef struct __attribute__ ((packed)) {
|
||||||
|
eAromaConfiguration AromaConfiguration;
|
||||||
|
eAlgorithmConfiguration AlgorithmConfiguration;
|
||||||
|
eRearHVACConfiguration RearHVACConfiguration;
|
||||||
|
} tStatus_CCU_Configuration;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
tInternal_SW_Version Internal_SW_Version;
|
tInternal_SW_Version Internal_SW_Version;
|
||||||
char Software_classification_identification[15];
|
char Software_classification_identification[15];
|
||||||
|
|
@ -51,6 +75,7 @@ typedef struct {
|
||||||
char ECU_hardware_number_ECU_supplier[2];
|
char ECU_hardware_number_ECU_supplier[2];
|
||||||
char ECU_software_number_ECU_supplier[2];
|
char ECU_software_number_ECU_supplier[2];
|
||||||
char ECU_boot_software_identification_ECU_supplier[2];
|
char ECU_boot_software_identification_ECU_supplier[2];
|
||||||
|
tStatus_CCU_Configuration Status_CCU_Configuration;
|
||||||
} ecu_identification_t;
|
} ecu_identification_t;
|
||||||
|
|
||||||
typedef struct __attribute__ ((packed)) {
|
typedef struct __attribute__ ((packed)) {
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,8 @@ void DeviceStorageInitDeviceSettings(tDeviceSettings *env) {
|
||||||
memcpy(&env->identification.Tester_Fingerprint.tester_serial, "123456789",
|
memcpy(&env->identification.Tester_Fingerprint.tester_serial, "123456789",
|
||||||
sizeof(env->identification.Tester_Fingerprint.tester_serial));
|
sizeof(env->identification.Tester_Fingerprint.tester_serial));
|
||||||
|
|
||||||
|
memset(&env->identification.Status_CCU_Configuration, 0xFF, sizeof(tStatus_CCU_Configuration));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
env->identification.Software_classification_identification[15];
|
env->identification.Software_classification_identification[15];
|
||||||
env->identification.Spare_Part_Number[27];
|
env->identification.Spare_Part_Number[27];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue