summaryrefslogtreecommitdiff
path: root/software/tests/beacon
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2011-07-23 18:59:59 +0000
committerChristian Pointner <equinox@mur.at>2011-07-23 18:59:59 +0000
commitfa7ab600fffb4f08701af9973fb3345a70e9d0bc (patch)
tree6ad39f4afc01a15a713efb4569f5b727a5c1c9d7 /software/tests/beacon
parentdecode beacon prints cnt as deciaml number now (diff)
now using A as start sign
git-svn-id: https://svn.spreadspace.org/mur.sat@49 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/tests/beacon')
-rwxr-xr-xsoftware/tests/beacon/decode.pl2
-rw-r--r--software/tests/beacon/test.dat10
2 files changed, 8 insertions, 4 deletions
diff --git a/software/tests/beacon/decode.pl b/software/tests/beacon/decode.pl
index 17c026d..b2b1446 100755
--- a/software/tests/beacon/decode.pl
+++ b/software/tests/beacon/decode.pl
@@ -25,7 +25,7 @@ foreach(@beacons) {
my $cntval = unpack("n", MIME::Base32::decode($cnt . "=")) >> 1;
my $csval_recv = unpack("C", MIME::Base32::decode($checksum . "=")) >> 3;
- my $csval_calc = ord('E') - ord(' ');
+ my $csval_calc = ord('A') - ord(' ');
my @values = unpack("C*", $preamble);
@values = (@values, unpack("C*", $cnt));
foreach(@values) { $csval_calc ^= $_ - ord(' '); }
diff --git a/software/tests/beacon/test.dat b/software/tests/beacon/test.dat
index be90c6f..3acc496 100644
--- a/software/tests/beacon/test.dat
+++ b/software/tests/beacon/test.dat
@@ -1,3 +1,7 @@
-OE6MUR FZK F
-OE6MUR FZL C
-OE6MUR FZM D
+A OE6MUR FZO F
+A OE6MUR FZP 2
+A OE6MUR FZQ 3
+A OE6MUR FZR Y
+T OE6MUR FZK B
+A OE6MUR FZL G
+A OE6MUR FZM H \ No newline at end of file