* Terminal Chat: new commands "card" and "import"

This commit is contained in:
Scott Powell committed 2025-02-01 21:45:34 +11:00
1 parent 2cb55d3936
commit 4a601f8241
3 files changed
+50 -4

No files matched your search

+2
View File
@@ -185,6 +185,8 @@ DispatcherAction Mesh::onRecvPacket(Packet* pkt) {
if (i > pkt->payload_len) {
MESH_DEBUG_PRINTLN("Mesh::onRecvPacket(): incomplete advertisement packet");
} else if (self_id.matches(id.pub_key)) {
MESH_DEBUG_PRINTLN("Mesh::onRecvPacket(): receiving SELF advert packet");
} else if (!_tables->hasSeen(pkt)) {
uint8_t* app_data = &pkt->payload[i];
int app_data_len = pkt->payload_len - i;