MIC-E Station Position

Issue #77 resolved
David Armbruster created an issue

MIC-E station symbols appear in the side panel list and their coordinates are decoded it appears incorrectly from the packet (see them in the log) and they are not yet positioned on the map.

Comments (6)

  1. David Armbruster reporter

    First thought it was just not implement but appears it might be a bit shift bug in decoding since aprs.fi has his longitude at 109 degrees W and QTH put him at 189 degrees. It’s only with MIC-E and with several stations (not just K7QEQ, all these stations should be roughly 108 to 109 degrees W) and standard position packets work correctly so doesn’t seem due to the hardware or timing.

    This is with the TNC3, f/w 2.0.0 using a VX7R with squelch open.

  2. Weston Bustraan repo owner

    Should be fixed in 0.1.6

    It turned out to be an order of operations bug.

    In the spec, decoding longitude works like this:

    1. subtract 28 from the d+28 value to obtain d.
    2. if the longitude offset is +100 degrees, add 100 to d.
    3. subtract 80 if 180 ≤ d ≤ 189
    4. or, subtract 190 if 190 ≤ d ≤ 199.

    Apparently, step 2 was occurring after step 4

  3. Log in to comment