Created
April 10, 2015 19:48
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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