Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/dto/comm_big_data_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define COMM_BIG_DATA_TEST_H
#include <cstdint>
#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;
Expand Down
2 changes: 1 addition & 1 deletion include/protocol/comm_header.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down