diff --git a/include/dto/comm_big_data_test.h b/include/dto/comm_big_data_test.h index c3a2a20..12058d7 100644 --- a/include/dto/comm_big_data_test.h +++ b/include/dto/comm_big_data_test.h @@ -2,7 +2,7 @@ #define COMM_BIG_DATA_TEST_H #include #include "../enum/icd_id.h" -#define MAX_SIZE (900 * 1024) // 900KB +#define MAX_SIZE (6*1024*1024 + 512*1024) // 6.5MB #pragma pack(push, 1) struct CommBigDataTest { IcdId message_id; diff --git a/include/enum/device_id.h b/include/enum/device_id.h index 2007b65..c00f54e 100644 --- a/include/enum/device_id.h +++ b/include/enum/device_id.h @@ -3,7 +3,7 @@ #include -static constexpr uint8_t DEVICE_COUNT = 9; +static constexpr uint8_t DEVICE_COUNT = 8; enum class DeviceId : uint8_t { GCU = 0x00, // 유도조종장치 @@ -14,7 +14,7 @@ enum class DeviceId : uint8_t { HILS = 0x05, // HILS 장치 TEST1 = 0x06, // 테스트 장치 1 TEST2 = 0x07, // 테스트 장치 2 - INVALID = 0x08 // 유효하지 않은 장치 ID + INVALID = 0xFF // 유효하지 않은 장치 ID }; #endif // DEVICE_ID_H