- or download this
10:33:46.213965 decode.go:45: CenterFreq: 912600155
10:33:46.215377 decode.go:46: SampleRate: 2359296
...
{"Time":"2022-02-26T10:35:55.66825429-05:00","Offset":0,"Length":0,"Ty
+pe":"SCM+","Message":{"FrameSync":5795,"ProtocolID":30,"EndpointType"
+:188,"EndpointID":101419821,"Consumption":305782,"Tamper":2056,"Packe
+tCRC":26848}}
{"Time":"2022-02-26T10:36:10.667844535-05:00","Offset":0,"Length":0,"T
+ype":"SCM+","Message":{"FrameSync":5795,"ProtocolID":30,"EndpointType
+":188,"EndpointID":101419821,"Consumption":305782,"Tamper":2056,"Pack
+etCRC":26848}}
...
- or download this
<br><br>
#!/usr/bin/perl -w
# Routines to pull data from the Gas meter.
...
Print $Radio_string;
@array = json($Radio_string);
Dump(@array);
- or download this
print "spawned:\n";
chdir ("/home/jj/go/bin/") ;
if ( -e "rtlamr" ) {print "Found rtlamr.\n";}
$pid = open($handle, "rtlamr -msgtype=scm+ --format=json -filterid=101
+419821,101419999 -unique=false" ) or die "Couldn't open file rtlamr,
+$!";
- or download this
spawned:<br>
Found rtlamr.
Couldn't open file rtlamr, No such file or directory at /home/jj/eclip
+se-workspace/ReadGas/ReadFromRadio.pl line 49.
- or download this
open ( $handle, ">", "rtlamr -msgtype=scm+ --format=json -filterid=101
+419821,101419999 -unique=false") or die "Can't open > output.txt: $!"
+ ;
- or download this
spawned:
Found rtlamr.
loop#:0
Can't exec "rtlamr": No such file or directory at /home/jj/eclipse-wor
+kspace/ReadGas/ReadFromRadio.pl line 50.
print() on closed filehandle $handle at /usr/lib/x86_64-linux-gnu/perl
+/5.30/IO/Handle.pm line 431.
loop#:1 ......
- or download this
Found rtlamr.
Can't exec "rtlamr": No such file or directory at /home/jj/eclipse-wor
+kspace/ReadGas/ReadFromRadio.pl line 50.
Couldn't open file rtlamr, No such file or directory at /home/jj/eclip
+se-workspace/ReadGas/ReadFromRadio.pl line 50.