diff --git a/include/dto/comm_big_data_test.h b/include/dto/comm_big_data_test.h index 12058d7..9c2da32 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 (6*1024*1024 + 512*1024) // 6.5MB +#define MAX_SIZE (180 * 320 * 3) // 178200 bytes (180x320*3 RGB 이미지) #pragma pack(push, 1) struct CommBigDataTest { IcdId message_id; diff --git a/include/protocol/comm_header.h b/include/protocol/comm_header.h index 0b0f15f..cd90e9d 100644 --- a/include/protocol/comm_header.h +++ b/include/protocol/comm_header.h @@ -22,7 +22,7 @@ struct ReliableCommHeader { CommType type; // 통신 유형 (신뢰성 있는 데이터,ACK) DeviceId src_device_id; // 신뢰성 통신을 위한 출발지 디바이스 ID DeviceId dst_device_id; // 신뢰성 통신을 위한 목적지 디바이스 ID - uint32_t reliable_unique_key; // 신뢰성 있는 통신을 위한 디바이스 고유키 + uint32_t reliable_session_unique_key; // 신뢰성 있는 통신을 위한 신뢰성 세션 고유 키 (랜덤값) uint8_t sequence_number; // 신뢰성 통신을 위한 시퀀스 넘버 uint16_t total_length; // 헤더 + 데이터의 총 길이 (최대 65535) uint16_t data_length; // 데이터의 길이 (최대 65535)