mesh/dbg.pl: parse new release no from time packet
This commit is contained in:
parent
b53f11bf7e
commit
2e27a60d19
|
@ -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))," ";
|
||||
|
|
Loading…
Reference in New Issue