MCPcopy Create free account
hub / github.com/acl-dev/acl / handle_pingreq

Function handle_pingreq

lib_acl_cpp/samples/mqtt/mqtt_client/main.cpp:103–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103static bool handle_pingreq(acl::mqtt_client& conn) {
104 acl::mqtt_pingresp pingresp;
105 if (conn.send(pingresp)) {
106 return true;
107 }
108 printf("%s => send pingresp error\r\n", __FUNCTION__);
109 return false;
110}
111
112static bool handle_pingresp(void) {
113 printf("%s => got pingresp\r\n", __FUNCTION__);

Callers 3

handle_messageFunction · 0.70
on_bodyMethod · 0.50
on_bodyMethod · 0.50

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…