Merge branch 'master' into meshdebug
This commit is contained in:
commit
6bb39645f3
|
@ -138,6 +138,7 @@ if($cmd =~ /^r/){
|
||||||
# print unpack("N",substr($str,2,4))," ";
|
# print unpack("N",substr($str,2,4))," ";
|
||||||
print strftime("%Y-%m-%d %H:%M:%S",gmtime 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);
|
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)))," ";
|
print " beacon=",resolvebeacon(unpack("H*",substr($str,26,4)))," ";
|
||||||
}elsif($i eq "i"){
|
}elsif($i eq "i"){
|
||||||
print "score=",unpack("N",substr($str,2,4))," ";
|
print "score=",unpack("N",substr($str,2,4))," ";
|
||||||
|
|
Loading…
Reference in New Issue