Ping packet receive callback
| 72 | |
| 73 | // Ping packet receive callback |
| 74 | void onPingPacket(const RNS::Bytes& data, const RNS::Packet& packet) { |
| 75 | INFO("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); |
| 76 | INFOF("onPingPacket: data: %s", data.toHex().c_str()); |
| 77 | INFOF("onPingPacket: text: \"%s\"", data.toString().c_str()); |
| 78 | //TRACEF("onPingPacket: %s", packet.debugString().c_str()); |
| 79 | INFO("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); |
| 80 | } |
| 81 | |
| 82 | |
| 83 | RNS::Reticulum reticulum({RNS::Type::NONE}); |