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

Function getVersion

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

Source from the content-addressed store, hash-verified

81}
82
83uint32_t getVersion() {
84 auto service = findService();
85 if (service != nullptr) {
86 return service->getVersion();
87 }
88 LOGGER.error("Service not found");
89 return 0;
90}
91
92size_t getMaxDataLength() {
93 auto v = getVersion();

Callers 2

getMaxDataLengthFunction · 0.85
printInfoMethod · 0.85

Calls 3

errorMethod · 0.80
findServiceFunction · 0.70
getVersionMethod · 0.45

Tested by

no test coverage detected