Wiki / Reporting a bug

Tell us what broke.

A good report has three things: what you did, what happened, and the debug log. Here is how to gather them.

1Before you file

CWAF is an early alpha, and some gaps are known. Check the list of what is not in this build and the open issues first. If your problem is already there, add your details to the existing issue.

2What to include

  • Your build. The release tag or commit you built from, or the version shown on Google Play if you are a tester.
  • Your device. Phone model and Android version.
  • Your setup. How audio gets in and out: phone mic and speaker, or which interface and radio.
  • Steps. What you tapped, in order, what you expected and what happened instead.
  • A screenshot if the problem is visible on screen.
  • The debug log (next section).

3Pull the debug log

CWAF writes a plain-text event log while it runs. It lives in the app's own folder on the phone:

/sdcard/Android/data/radio.ks3ckc.cwaf/files/debug.log

This build has no in-app button to share the log, and recent Android versions hide that folder from most file managers. The reliable way to get it is adb from a computer:

  1. Turn on USB debugging in Android's developer options and connect the phone to your computer.
  2. Reproduce the problem in CWAF, so the log covers it.
  3. Pull the file:
    adb pull /sdcard/Android/data/radio.ks3ckc.cwaf/files/debug.log
  4. Attach debug.log to your GitHub issue.

Read it before you share it

The log records technical events such as start-up and USB connections. It is plain text, so open it and check that you are comfortable posting it publicly. Nothing sends it anywhere unless you do.

4Decode problems

Reports about missed or garbled copy are the most valuable ones, because the decoder is where CWAF needs the most work. They are only useful with detail:

  • The sender's approximate speed and the WPM you had set.
  • How strong and clean the signal was, and what else was in the passband.
  • What was sent, if you know, next to what CWAF printed.
  • A short audio recording of the signal made with another device, if you can. CWAF does not record audio itself.

5Where to send it

Open an issue on GitHub. For questions that are not bugs, the AF family Discord is the quickest place to ask.