Skip to content

Commit

Permalink
cleanup any libcotshrink refs
Browse files Browse the repository at this point in the history
  • Loading branch information
niccellular committed Sep 9, 2024
1 parent a7e8f1d commit 4ccd798
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ else if (xpp.getAttributeName(i).equalsIgnoreCase("speed"))
return;
}
new Thread(() -> {
Log.d(TAG, "Using libcotshrink");
Log.d(TAG, "Sending Chunks");

byte[] cotAsBytes;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public void onReceive(Context context, Intent intent) {
editor.apply();
Log.d(TAG, "Got ACK from Chunk");
} else if (prefs.getInt("plugin_meshtastic_chunk_id", 0) == id && status == MessageStatus.ERROR) {
Log.d(TAG, "Got ERROR from File");
Log.d(TAG, "Got ERROR from Chunk");
editor.putBoolean("plugin_meshtastic_chunk_ACK", true);
editor.putBoolean("plugin_meshtastic_chunk_ERR", true);
editor.apply();
Expand Down Expand Up @@ -643,7 +643,7 @@ protected void receive(Intent intent) throws InvalidProtocolBufferException {
chunkMap.clear();
chunkCount = 0;

// this was a file transfer not libcotshrink
// this was a file transfer not chunks
if (prefs.getBoolean("plugin_meshtastic_file_transfer", false)) {
Log.d(TAG, "File Received");

Expand Down Expand Up @@ -695,7 +695,7 @@ protected void receive(Intent intent) throws InvalidProtocolBufferException {
CotMapComponent.getExternalDispatcher().dispatch(cotEvent);
}
} else {
Log.d(TAG, "Failed to libcotshrink: " + new String(combined));
Log.d(TAG, "Failed to chunk: " + new String(combined));
}
} catch (Throwable e) {
e.printStackTrace();
Expand Down

0 comments on commit 4ccd798

Please sign in to comment.