Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO: report SNR instead of Score #55

Open
Guenael opened this issue Dec 23, 2021 · 1 comment
Open

TODO: report SNR instead of Score #55

Guenael opened this issue Dec 23, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Guenael
Copy link
Owner

Guenael commented Dec 23, 2021

No description provided.

@Guenael Guenael added the enhancement New feature or request label Dec 23, 2021
@Guenael Guenael self-assigned this Dec 23, 2021
@Claudio-Sjo
Copy link

@Guenael
There's no Issue session in you repo but you have a bug in your version of rtlsdr_ft8 code that causes crash.
Please replace your reporter code with this

void *pskUploader(void *vargp) {
while (1) {
if (dec_results_queue.size() > 0) {
sleep(60);
pthread_mutex_lock(&lock);

        while (dec_results_queue.size() > MAX_REPORTS_PER_PACKET) {
            for (int i = 0; i < MAX_REPORTS_PER_PACKET; i++) {
                struct decoder_results dr = dec_results_queue.front();
                reporter->addReceiveRecord(dr.call, dr.freq, dr.snr);
                dec_results_queue.erase(dec_results_queue.begin());
            }
            reporter->send();
        }

        while (dec_results_queue.size()) {
            struct decoder_results dr = dec_results_queue.front();
            reporter->addReceiveRecord(dr.call, dr.freq, dr.snr);
            dec_results_queue.erase(dec_results_queue.begin());
        }
        reporter->send();
        pthread_mutex_unlock(&lock);

    } else {
        sleep(60);
    }
}

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants