Skip to content

Commit 95f0c51

Browse files
committed
Update ChatProtocol.h
1 parent dc2d50f commit 95f0c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tactility/Private/Tactility/app/chat/ChatProtocol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ constexpr uint32_t CHAT_MAGIC_HEADER = 0x31544354; // "TCT1"
1616
constexpr uint8_t PROTOCOL_VERSION = 0x01;
1717
constexpr size_t SENDER_NAME_SIZE = 24;
1818
constexpr size_t TARGET_SIZE = 24;
19-
constexpr size_t MESSAGE_SIZE = 1417; // Max for ESP-NOW v2.0 (1470 - 53 header bytes)
19+
constexpr size_t MESSAGE_SIZE = 200; //1417 Max for ESP-NOW v2.0 (1470 - 53 header bytes)
2020

2121
// Header size = offset to message field (header + version + sender_name + target)
2222
constexpr size_t MESSAGE_HEADER_SIZE = 4 + 1 + SENDER_NAME_SIZE + TARGET_SIZE; // 53 bytes

0 commit comments

Comments
 (0)