Skip to content

v0.1.6

Choose a tag to compare

@watson-qg watson-qg released this 26 Oct 01:15
· 89 commits to main since this release
8435c24
  • Tested against real NetLogger responses (#15). The bundled samples (mock mode) are now one
    real response per routine, captured within NetLogger's published rates and anonymized by
    scripts/anonymize_samples.py: callsigns, names, places and remarks replaced (callsigns with
    N0CALL-style ones), grids cut to 4 characters, street, ZIP and source IP set to test values. The
    earlier synthetic samples move to tests/fixtures/spec/, kept for what the real responses didn't
    show (a <Warning>, a non-UTC time zone, an unknown element, club member IDs).
  • The parser held up: no behaviour change was needed. What the real responses showed, now
    pinned by tests/test_real_responses.py:
    • the server sends InactivityTimer (the spec also spells it InactivitytTimer; both are read);
    • past nets list their elements in a different order from the spec (order doesn't matter here);
    • no <Warning> in any header;
    • MemberID is present but empty on nets that aren't a club's;
    • role markers as sent: (nc),(log), (m), (c/o);
    • free-text frequencies (all, REF 35C, 7.185.5, 14. 290, even a callsign) are kept as sent
      and not read as a frequency;
    • an empty net control, and a closed net's pointer one past its last row.