Skip to content

Send2Tone doesn't have any logging output #158

Description

@askpatrickw

SendID has logging outpub, but Send2Tone doesn't have any logging output. The Send5SecTwoTone() function only calls GetTwoToneLeaderWithSync(250) and SoundFlush() without any logging, while SendID goes through the modulation functions in Modulate.c that include
ZF_LOGI("Sending Frame Type %s", strType).

This behavior is consistent across all platforms (Linux, Windows, macOS) since Send5SecTwoTone() is in the shared src/common/ARDOPC.c file.

To match SendID's behavior, you could add a simple log message to Send5SecTwoTone():

void Send5SecTwoTone()
{
ZF_LOGI("Sending two-tone test signal");
initFilter(200, 1500);
GetTwoToneLeaderWithSync(250);
SoundFlush();
}

This would provide consistent user feedback for all transmission types.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions