We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the FT8 CQ is of type CQ DX ... the callsign is not coloured. Here is a fix for the regex part:
CQ DX ...
--- a/samples/color_wsjtx_packets.py +++ b/samples/color_wsjtx_packets.py @@ -30,7 +30,7 @@ while True: reply_beat_packet = pywsjtx.HeartBeatPacket.Builder(the_packet.wsjtx_id,max_schema) s.send_packet(addr_port, reply_beat_packet) if type(the_packet) == pywsjtx.DecodePacket: - m = re.match(r"^CQ\s+(\S+)\s+", the_packet.message) + m = re.match(r"^CQ.*?([A-Z0-9]+[0-9][A-Z]+)\s+", the_packet.message) if m: print("Callsign {}".format(m.group(1))) callsign = m.group(1)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If the FT8 CQ is of type
CQ DX ...
the callsign is not coloured.Here is a fix for the regex part:
The text was updated successfully, but these errors were encountered: