MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / createInfo

Method createInfo

OpenHD/ohd_telemetry/src/endpoints/MEndpoint.cpp:71–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71std::string MEndpoint::createInfo() const {
72 std::stringstream ss;
73 ss << TAG << " {sent:" << m_n_messages_sent
74 << " send_failed:" << m_n_messages_send_failed
75 << " recv:" << m_n_messages_received
76 << " alive:" << (isAlive() ? "Y" : "N") << "}\n";
77 return ss.str();
78}
79
80void MEndpoint::parseNewData(const uint8_t* data, const int data_len) {
81 //<<TAG<<" received data:"<<data_len<<"

Callers 5

mainFunction · 0.80
loop_infiniteMethod · 0.80
create_debugMethod · 0.80
loop_infiniteMethod · 0.80
create_debugMethod · 0.80

Calls

no outgoing calls

Tested by 1

mainFunction · 0.64