Skip to content

Commit

Permalink
Log
Browse files Browse the repository at this point in the history
  • Loading branch information
thebentern committed Feb 4, 2024
1 parent bda6a24 commit ef2327f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/AtakPluginModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ void AtakPluginModule::alterReceivedProtobuf(meshtastic_MeshPacket &mp, meshtast
decompressedCopy->decoded.payload.size =
pb_encode_to_bytes(decompressedCopy->decoded.payload.bytes, sizeof(decompressedCopy->decoded.payload),
meshtastic_TAK_Packet_fields, &uncompressed);

LOG_DEBUG("Compressed callsign: %d bytes\n", strlen(t->callsign_variant.callsign_compressed));
LOG_DEBUG("Decompressed callsign: '%s' @ %d bytes\n", uncompressed.callsign_variant.callsign_uncompressed, length);
service.sendToPhone(decompressedCopy);
delete decompressedCopy;
}
return;
}

0 comments on commit ef2327f

Please sign in to comment.