MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / getMaxDataLength

Function getMaxDataLength

Tactility/Source/service/espnow/EspNow.cpp:92–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92size_t getMaxDataLength() {
93 auto v = getVersion();
94 if (v == 0) return 0;
95 return v >= 2 ? MAX_DATA_LEN_V2 : MAX_DATA_LEN_V1;
96}
97
98}
99

Callers 2

serializeTextMessageFunction · 0.85
getMaxMessageLengthFunction · 0.85

Calls 1

getVersionFunction · 0.85

Tested by

no test coverage detected