MCPcopy Create free account
hub / github.com/SmingHub/Sming / ping

Function ping

samples/Network_Ping/app/application.cpp:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void ping(uint32_t ip)
70{
71 debug_d("Ping IP: %s", IpAddress(ip).toString().c_str());
72 pingOptions.ip = ip;
73 pingOptions.count = PING_COUNT;
74 pingOptions.recv_function = onReceived;
75 pingOptions.sent_function = onSent;
76 ping_start(&pingOptions);
77}
78
79void connectOk(IpAddress ip, IpAddress mask, IpAddress gateway)
80{

Callers 3

pingTaskFunction · 0.85
rangeCMMethod · 0.85
rangeInchMethod · 0.85

Calls 3

IpAddressClass · 0.50
c_strMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected