Skip to content

Commit

Permalink
improve DecoderStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
josevcm committed Jul 13, 2024
1 parent 6f494d8 commit 9bbaa5a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/nfc-lib/lib-nfc/nfc-tasks/src/main/cpp/FrameDecoderTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,10 +305,12 @@ struct FrameDecoderTask::Impl : FrameDecoderTask, AbstractTask
status = value;

json data({
{"status", status == Listen ? "decoding" : "idle"},
{"queueSize", signalQueue.size()},
{"sampleRate", decoder->sampleRate()},
{"streamTime", decoder->streamTime()}
{"status", status == Listen ? "decoding" : "idle"},
{"queueSize", signalQueue.size()},
{"sampleRate", decoder->sampleRate()},
{"streamTime", decoder->streamTime()},
{"debugEnabled", decoder->isDebugEnabled()},
{"powerLevelThreshold", decoder->powerLevelThreshold()}
});

if (config)
Expand Down

0 comments on commit 9bbaa5a

Please sign in to comment.