Skip to content

Instantly share code, notes, and snippets.

@ampledata
Created April 10, 2015 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ampledata/53ed5957a962bbaadc29 to your computer and use it in GitHub Desktop.
Save ampledata/53ed5957a962bbaadc29 to your computer and use it in GitHub Desktop.
Example of decoding AX.25/APRS frame using the APRS Python Module utils
#!/usr/bin/env python
import aprs
TEST_FRAMES = 'tests/test_frames.log'
test_frames = open(TEST_FRAMES, 'r')
test_frame = test_frames.readlines()[0].strip()
decoded_frame = aprs.util.decode_frame(test_frame)
print decoded_frame
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment