Skip to content

Instantly share code, notes, and snippets.

@chrissnell
Created June 9, 2014 19:58
Show Gist options
  • Save chrissnell/1da56844b200d20207cf to your computer and use it in GitHub Desktop.
Save chrissnell/1da56844b200d20207cf to your computer and use it in GitHub Desktop.
.. igate from aprsis
interface_receive_3rdparty() aif=0x3397c, aif->digicount=1
pbuf_alloc(118,115) -> 0xb6f66000
parse_aprs_uncompressed position ok: lat 47.261 lng -122.470
.. parse_aprs() rc=OK type=0x8021 srcif=APRSIS tnc2addr='NW5W-10>APRS:@091933z4715.66N/12228.20W_009/002g004t066r000p000P000b10207h53 http://fifestreet.com weewx-VantagePro' info_start='@091933z4715.66N/12228.20W_009/002g004t066r000p000P000b10207h53 http://fifestreet.com weewx-VantagePro'
pbuf_free(0xb6f66000)
parse_aprs_uncompressed position ok: lat 47.261 lng -122.470
.. parse_aprs() rc=OK type=0x8021 srcif=APRSIS tnc2addr='NW5W-10>APRS:@091933z4715.66N/12228.20W_009/002g004t066r000p000P000b10207h53 http://fifestreet.com weewx-VantagePro' info_start='@091933z4715.66N/12228.20W_009/002g004t066r000p000P000b10207h53 http://fifestreet.com weewx-VantagePro'
## produce 3rd-party frame for transmit:
ax25hdr 82 a0 a4 a6 40 40 60 9c|ae 6a ae 40 40 62 ae 92|88 8a 64 40 03 = APRS 0N|W5W 1WI|DE2 .
tnc2addr = NW5W-1>APRX28,WIDE2-1
pbuf_alloc(153,152) -> 0xb6f66000
parse_aprs_uncompressed position ok: lat 47.261 lng -122.470
.. parse_aprs() rc=OK type=0x21 srcif=APRSIS tnc2addr='NW5W-1>APRX28,WIDE2-1:}NW5W-10>APRS,TCPIP,NW5W-1*:@091933z4715.66N/12228.20W_009/002g004t066r000p000P000b10207h53 http://fifestreet.com weewx-VantagePro' info_start='}NW5W-10>APRS,TCPIP,NW5W-1*:@091933z4715.66N/12228.20W_009/002g004t066r000p000P000b10207h53 http://fifestreet.com weewx-VantagePro'
## process source filter
key='NW5W-1' hash=2 .. inserting new history entry.
historydb_insert_heard(APRSIS) v=0xb6d8d000
filter_process_one() type=b 'b/NW5W-10'
filter_match_on_callsignset(ref='NW5W-1', keylen=6, filter='b/NW5W-10')
.. reflen=0x07 r2='NW5W-10'
filter says: 0 (indifferent)
key='NW5W-1' hash=2 .. found matching hash .. found matching key!
historydb_insert_heard(APRSIS) v=0xb6d8d000
DISCARDED! (filter_discard=0, discard_this=1)
pbuf_free(0xb6f66000)
telemetry_postpoll() telemetrytime=1154s labeltime=74s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment