WIP: Continued work of persistence and refactoring

This commit is contained in:
attermann committed 2023-12-11 13:42:20 -07:00
1 parent f9a679ffc2
commit 162dcff6cd
25 files changed
+1026 -315

No files matched your search

+7
View File
@@ -496,7 +496,11 @@ const Bytes Packet::get_hashable_part() const {
//}
#ifndef NDEBUG
std::string Packet::debugString() const {
if (!_object) {
return "";
}
if (_object->_packed) {
//unpack();
}
@@ -534,6 +538,7 @@ std::string Packet::debugString() const {
dump += "--------------------\n";
return dump;
}
#endif
void PacketReceipt::check_timeout() {
assert(_object);
@@ -555,6 +560,7 @@ void PacketReceipt::check_timeout() {
}
}
/*
void ArduinoJson::convertFromJson(JsonVariantConst src, RNS::Packet& dst) {
if (!src.isNull()) {
RNS::Bytes hash;
@@ -566,3 +572,4 @@ void ArduinoJson::convertFromJson(JsonVariantConst src, RNS::Packet& dst) {
dst = {RNS::Type::NONE};
}
}
*/