mesh/dbg.pl: parse new release no from time packet

This commit is contained in:
Stefan `Sec` Zehl 2012-01-27 00:04:41 +01:00
parent b53f11bf7e
commit 2e27a60d19
1 changed files with 3 additions and 2 deletions

View File

@ -138,6 +138,7 @@ if($cmd =~ /^r/){
# print unpack("N",substr($str,2,4))," ";
print strftime("%Y-%m-%d %H:%M:%S",gmtime unpack("N",substr($str,2,4)));
printf " (%+3d)",unpack("N",substr($str,2,4))-(time+3600);
print " rel=",unpack("H*",substr($str,24,2));
print " beacon=",resolvebeacon(unpack("H*",substr($str,26,4)))," ";
}elsif($i eq "i"){
print "score=",unpack("N",substr($str,2,4))," ";