├── Documentation ├── OregonScientific-RF-Protocols-II.pdf ├── audacity_signal.jpg ├── gnuradio.jpg ├── gnuradio_sigint.jpg ├── hexedit.jpg ├── index.html └── signal_interpretation.jpg ├── LICENSE ├── OregonDecoder.py ├── README ├── Scientific_Oregon.ipynb ├── rx_ask.grc ├── samples ├── binaryslicer.grc ├── oregonV1 ├── oregonV1.wav ├── oregonV2 ├── oregonV2.wav └── oregonscientific_test.1sc └── top_block.py /Documentation/OregonScientific-RF-Protocols-II.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bkerler/OregonDecoder/b6edc29b9711730b2d665a11a87e688339185477/Documentation/OregonScientific-RF-Protocols-II.pdf -------------------------------------------------------------------------------- /Documentation/audacity_signal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bkerler/OregonDecoder/b6edc29b9711730b2d665a11a87e688339185477/Documentation/audacity_signal.jpg -------------------------------------------------------------------------------- /Documentation/gnuradio.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bkerler/OregonDecoder/b6edc29b9711730b2d665a11a87e688339185477/Documentation/gnuradio.jpg -------------------------------------------------------------------------------- /Documentation/gnuradio_sigint.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bkerler/OregonDecoder/b6edc29b9711730b2d665a11a87e688339185477/Documentation/gnuradio_sigint.jpg -------------------------------------------------------------------------------- /Documentation/hexedit.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bkerler/OregonDecoder/b6edc29b9711730b2d665a11a87e688339185477/Documentation/hexedit.jpg -------------------------------------------------------------------------------- /Documentation/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Oregon Scientific Weatherstation Decoder V1+V2 6 | 13 | 21 | 22 | 23 | 24 | 25 |
26 |
27 |

Decoding Oregon 28 | Scientific Weatherstation Messages using Gnuradio

29 |

by B.Kerler DO2BJK (c) Jan 2015

30 |
31 |
    32 | 33 |
  1. Configuration
  2. 34 |
  3. How I figured out how it works
  4. 35 |
  5. How the gnuradio processor works
  6. 36 |
  7. Encoder versions supported
  8. 37 |
  9. How-To-Use
  10. 38 |
  11. Example Messages
  12. 39 |
40 |
41 |


42 |

43 |

Configuration

44 | Tested using Ettus Research B210 using 433 Mhz Discone Antenna. Due to 45 | usage of Osmocom Source, Rtl and Hackrf Dongles should work fine as 46 | well.
47 |
48 |

How 49 | I figured out how it works

50 | First I took an example recording to see how the actual signal looks 51 | like using gnuradio :
52 |
53 | Gnuradio Signal Identification

55 |
56 |
57 |
58 | Now I had to look closer at the signal. I recorded the signal to a wav 59 | file with 48Khz.
60 | This way I could clearly see that the signal is being sent twice and 61 | that the structure was as I expected :
62 |
63 | Audacity Signal
64 |
65 | The next step was to see how the bytes were encoded :
66 |
67 | Signal Interpretation
68 |
69 | The signal starts with a "01" sequence where 0 is the value for low and 70 | 1 is the value for high, which is being repeated 16 times for Version 2 71 | and 12 times for Version 1 of the
72 | Oregon Scientific Encoder, encoded as Manchester. Thus in order to see 73 | the right bytes you need to leave apart every second byte. After that, a 74 | sync message is being sent,
75 | which is "0101" for version 2 and "01100" for version 1.
76 |
77 | The main problem however started when I had to decide whether to decode 78 | the signal using c++, python or using gnuradio itself. It turned out 79 | that indeed the Binary Slicer
80 | can be used to output a bitstream which then can be easily being used 81 | for further processing. However in terms of speed, I think it would be 82 | better to use a own slicer
83 | and clock recovery in c++ instead. The slicer is more or less a function 84 | to measure if a high or low signal actually occurs. You can just use 85 | this pseudo-code as well instead :
86 |
87 | unsigned char midlevel=0x80;
88 | string bitstream="";
89 | unsigned char bit=0;
90 | while (bit=fifo->read(1)) //read one byte from stream or wav file 91 | (same as one bit as one byte is one symbol)
92 | {
93 |   if (counter==datarate)
94 |   {
95 |     if (bit>midlevel) bitstream+=1; //high detected
96 |     else if (bit<=midlevel) bitstream+=0; //low 97 | detected
98 |     counter=0; // Start counting from 0 again
99 |     // Here you would create thread to handle the 100 | bitstream or anything else
101 |   }
102 |   counter++; // Increase counter while looping
103 | }
104 |

105 | Here is how my gnuradio pre_processor for ask looks like :
106 |
107 | Gnuradio ASK
108 |

How the gnuradio processor works

110 |
First, the gain of the signal is being 111 | increased using AGC2 before the FIR Filter and Band Pass Filter. 112 | Amplitude Shift Keying turns out to be quite bad when it comes to use 113 | AGC2 between the FIR
114 | and Band Pass Filters, if there are better options, please tell me :)
115 |
116 | After the signal has been filtered, it is being demodulated by 117 | AMplitude ... it doesn't matter if you use the Complex-To-Magnitude 118 | block instead, it works fine as well. After the signal has been 119 | demodulated,
120 | you can now see the low and high signals occurring. However, as the 121 | signal sometimes is too weak to process by the Binary Slicer, you have 122 | to use a "add const" block to level the signal up. For the B210,
123 | 390m is just fine, other recievers might have to in- or decrease the 124 | value to get proper decoding. The Clock Recovery MM Block just 125 | recovers the stream according to our datarate, or in other words : it 126 |
127 | picks up one sample every 47 samples, which is 128 | (audio_rate/data_rate)=(48000/1020)=47 samples per second, and writes 129 | it to a new output stream, which is thenbeing sliced (high to 1 and 130 | low to 0) as a
131 | bit stream to a file.
132 |
133 | As the sample_rate of 2.4M is way to high to process for slow PCs, the 134 | Xlating FIR Filter decimates the samples by 50, which is 2.4M/50=48K.
135 |
136 | Opening up the output file by 137 | Hex-Editor, you should see something similar like this :
138 |
139 | HexEdit Picture
140 |
141 | I wrote a small script named "oregonscientific_test.1sc" for the 142 | 010Editor, just position the cursor at the "00" before the "01" byte to 143 | get a decoding by pressing F7-Function key.
144 | You can find both Wav- and Outputs for both Oregon-Scientific Versions 1 145 | and 2, which I've recorded by using my own temperature sensors.
146 |
147 | 148 |

Encoder 149 | versions supported

150 |

151 | Version 1:
152 | THR128H
153 |
154 | Version 2:
155 | THN132N, THR238NF
156 |
157 | 158 |

How-To-Use

159 |

160 | 1. Install Gnuradio-Companion 161 | 3.7 or higher
162 | 2. "gnuradio-companion rx_ask.grc" and run grc
163 | 3. "mkfifo /tmp/fifo" if fifo doesn't yet exist
164 | 4. "python OregonDecoder.py"
165 | 5. Select appropriate decoder Version from Tab or use any datarate for 166 | custom ASK-Decoders
167 |
168 | 169 |

Example 170 | Messages

171 | THR132N V2:
172 | FFFF A EC40 1 5F 0 730 0 D3 : FFFF=Preable, A=Sync, Flags: 1, Rolling 173 | Code: 5F, Temperature: 3,7°C, Checksum: 3D ok
174 | FFFF A EC40 1 5F 0 830 0 E3 : FFFF=Preable, A=Sync, Flags: 1, Rolling 175 | Code: 5F, Temperature: 3,8°C, Checksum: 3E ok
176 |
177 | 178 | 179 | -------------------------------------------------------------------------------- /Documentation/signal_interpretation.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bkerler/OregonDecoder/b6edc29b9711730b2d665a11a87e688339185477/Documentation/signal_interpretation.jpg -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | {description} 294 | Copyright (C) {year} {fullname} 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | {signature of Ty Coon}, 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. 340 | 341 | -------------------------------------------------------------------------------- /OregonDecoder.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | import os 3 | import io 4 | import string 5 | import sys, getopt 6 | 7 | def bitstring(bitcount): 8 | stream="" 9 | bits=fh.read(bitcount*2) 10 | if (len(bits)>4) 30 | return word 31 | 32 | def convertflags(flag): 33 | flagstr="" 34 | negative="" 35 | if (flag&2)==2: 36 | negative="-" 37 | flagstr+="Negative temperature" 38 | if flagstr!="": 39 | flagstr+="," 40 | if (flag&8)==8: 41 | flagstr+="Battery low" 42 | return [flagstr,negative] 43 | 44 | def checksumV2(inp): 45 | return ((inp&0xF0)>>4)+(inp&0xF) 46 | 47 | #111111111111 01100 1111 1111 111111000000000110111011000000000000000 48 | #111111111111 01100 1101 0010 010010000000000110111011000000000000000 49 | 50 | if __name__ == '__main__': 51 | inputfile = "/tmp/fifo" 52 | if (len(sys.argv)==2): 53 | inputfile = sys.argv[1] 54 | print 'Input file is ', inputfile 55 | try: 56 | fh=open(inputfile,"rb") 57 | except IOError: 58 | print("Couldn't open file : "+inputfile) 59 | exit() 60 | 61 | bitcounter=0 62 | init = [1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0] #our preamble 63 | syncV1 = "01100" 64 | syncV2 = "11110" # Not really a sync, just to identify Version2, still preamble, as it has 16 instead of 12 bits 65 | 66 | for block in iter(lambda: fh.read(1), ""): 67 | if bitcounter<(11*2): 68 | if init[bitcounter]==ord(block): 69 | bitcounter=bitcounter+1 70 | else: 71 | bitcounter=0 72 | else: 73 | print("Sync found") 74 | fh.read(1) 75 | bitsync=bitstring(5) 76 | if (syncV1==bitsync): 77 | v1=bytestring(True) 78 | temp1=bytestring(True) 79 | temp2=bytestring(True) 80 | checksum=bytestring(True) 81 | if (v1+temp1+temp2 == checksum): 82 | #print("%02X%02X%02X" % (v1,temp1,temp2)) 83 | rolcode=(v1&0xF0)>>4 84 | channel=((v1&0xF)/4)+1 85 | flag=(temp2&0xF) 86 | flaglist=convertflags(flag) 87 | negative=flaglist[0] 88 | flagstr=flaglist[1] 89 | temperature=("%s%d.%01d" % (negative,((((temp2&0xF0)>>4)<<4)+(temp1&0xF)),(temp1&0xF0)>>4)) 90 | print("Oregon Scientific V1 - Rolling code %01X - Channel %d - Temperature %s C - Flags (%s) - Checksum: %02X ok" % (rolcode,channel,temperature,flagstr,checksum)) 91 | 92 | elif ((syncV2==bitsync) and (bitstring(3)=="101")): # Here we check rest of sync 93 | v1=bytestring(True) 94 | v2=bytestring(True) 95 | sensorid=(v1<<8)+v2 96 | nibble45=bytestring(True) 97 | nibble67=bytestring(True) 98 | channel=(nibble45&0xF0)>>4 99 | rollingcode=((nibble45&0xF)<<4)+((nibble67&0xF0)>>4) 100 | flag=nibble67&0xF 101 | flaglist=convertflags(flag) 102 | negative=flaglist[0] 103 | flagstr=flaglist[1] 104 | temperature="" 105 | valid="- unknown sensor id" 106 | if (sensorid==0xEC40): # We already know how to handle THR132N 107 | temp1=bytestring(True) 108 | temp2=bytestring(True) 109 | checksum=bytestring(True) 110 | checksum=((checksum&0xF)<<4)+((checksum&0xF0)>>4) 111 | temperature=("Temperature %s%d.%01d C" % (negative,((((temp2&0xF0)>>4)<<4)+(temp1&0xF)),(temp1&0xF0)>>4)) 112 | calcchecksum=checksumV2(v1)+checksumV2(v2)+checksumV2(nibble45)+checksumV2(nibble67)+checksumV2(temp1)+checksumV2(temp2) 113 | if (calcchecksum==checksum): 114 | valid="ok" 115 | else: 116 | valid="failed" 117 | else: 118 | temperature=("RawData: %02X %02X %02X %02X " % (bytestring(True),bytestring(True),bytestring(True),bytestring(True))) 119 | checksum=0 120 | #temperature=("%s%d.%01d" % (negative,((((temp2&0xF0)>>4)<<4)+(temp1&0xF)),(temp1&0xF0)>>4)) 121 | print("Oregon Scientific V2 - Sensor Id %04X - Rolling code %01X - Channel %d - %s - Flags (%s) - Checksum: %02X %s" % (sensorid, rollingcode,channel,temperature,flagstr,checksum,valid)) 122 | bitcounter=0 123 | 124 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | Scientific Oregon V1/V2 Decoder 2 | ------------------------------- 3 | (c) Jan 2015 by B. Kerler 4 | 5 | 6 | HowTo : 7 | ------- 8 | 9 | 1. Install GnuRadio 3.7 or higher 10 | 2. "gnuradio-companion rx_ask.grc" 11 | 3. "mkfifo /tmp/fifo" if fifo doesn't yet exist 12 | 4. python OregonDecoder.py /tmp/fifo" 13 | 5. Select appropriate Decoder Version from Tab or use any data rate 14 | for custom ASK-Decoders 15 | 16 | If Decoding fails, try to decrease/increate gain value. 17 | -------------------------------------------------------------------------------- /Scientific_Oregon.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "metadata": { 3 | "name": "", 4 | "signature": "sha256:2d301151434e159be3083eb47d73ae4b026b2cc88bd6709e5692819d64214f91" 5 | }, 6 | "nbformat": 3, 7 | "nbformat_minor": 0, 8 | "worksheets": [ 9 | { 10 | "cells": [ 11 | { 12 | "cell_type": "code", 13 | "collapsed": false, 14 | "input": [ 15 | "#!/usr/bin/python\n", 16 | "import os\n", 17 | "import io\n", 18 | "import string\n", 19 | "import sys, getopt\n", 20 | "\n", 21 | "def bitstring(bitcount):\n", 22 | " stream=\"\"\n", 23 | " bits=fh.read(bitcount*2)\n", 24 | " if (len(bits)>4)\n", 44 | " return word\n", 45 | " \n", 46 | "def convertflags(flag):\n", 47 | " flagstr=\"\"\n", 48 | " negative=\"\"\n", 49 | " if (flag&2)==2:\n", 50 | " negative=\"-\"\n", 51 | " flagstr+=\"Negative temperature\"\n", 52 | " if flagstr!=\"\":\n", 53 | " flagstr+=\",\"\n", 54 | " if (flag&8)==8:\n", 55 | " flagstr+=\"Battery low\"\n", 56 | " return [flagstr,negative]\n", 57 | "\n", 58 | "#111111111111 01100 1111 1111 111111000000000110111011000000000000000\n", 59 | "#111111111111 01100 1101 0010 010010000000000110111011000000000000000\n", 60 | "\n", 61 | "if __name__ == '__main__':\n", 62 | " inputfile = \"\"\n", 63 | " outputfile = \"\"\n", 64 | " try:\n", 65 | " opts, args = getopt.getopt(sys.argv,\"hi:o:\",[\"ifile=\",\"ofile=\"])\n", 66 | " for opt, arg in opts:\n", 67 | " if opt == '-h':\n", 68 | " print 'OregonScientific.py -i -o '\n", 69 | " sys.exit()\n", 70 | " elif opt in (\"-i\", \"--ifile\"):\n", 71 | " inputfile = arg\n", 72 | " elif opt in (\"-o\", \"--ofile\"):\n", 73 | " outputfile = arg\n", 74 | " print 'Output file is \"', outputfile\n", 75 | " except getopt.GetoptError:\n", 76 | " print \"OregonScientific.py -i -o \"\n", 77 | " inputfile=\"/tmp/fifo\"\n", 78 | " \n", 79 | " print 'Input file is ', inputfile\n", 80 | " try:\n", 81 | " fh=open(inputfile,\"rb\")\n", 82 | " except IOError:\n", 83 | " print(\"Couldn't open file : \"+inputfile)\n", 84 | " exit()\n", 85 | " \n", 86 | " bitcounter=0\n", 87 | " init = [1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]\n", 88 | " syncV1 = \"01100\"\n", 89 | " syncV2 = \"11110\"\n", 90 | "\n", 91 | " for block in iter(lambda: fh.read(1), \"\"):\n", 92 | " if bitcounter<(11*2): \n", 93 | " if init[bitcounter]==ord(block):\n", 94 | " bitcounter=bitcounter+1\n", 95 | " else:\n", 96 | " bitcounter=0\n", 97 | " else:\n", 98 | " print(\"Sync found\")\n", 99 | " fh.read(1)\n", 100 | " bitsync=bitstring(5)\n", 101 | " \n", 102 | " if (syncV1==bitsync):\n", 103 | " v1=bytestring(True)\n", 104 | " temp1=bytestring(True)\n", 105 | " temp2=bytestring(True)\n", 106 | " checksum=bytestring(True)\n", 107 | " if (v1+temp1+temp2 == checksum):\n", 108 | " print(\"%02X%02X%02X\" % (v1,temp1,temp2))\n", 109 | " rolcode=(v1&0xF0)>>4\n", 110 | " channel=((v1&0xF)/4)+1\n", 111 | " flag=(temp2&0xF)\n", 112 | " flaglist=convertflags(flag)\n", 113 | " negative=flaglist[0]\n", 114 | " flagstr=flaglist[1]\n", 115 | " temperature=(\"%s%d.%01d\" % (negative,((((temp2&0xF0)>>4)<<4)+(temp1&0xF)),(temp1&0xF0)>>4))\n", 116 | " print(\"Oregon Scientific V1 - Rolling code %01X - Channel %d - Temperature %s C - Flags (%s) - Checksum: %02X\" % (rolcode,channel,temperature,flagstr,checksum))\n", 117 | " \n", 118 | " elif (syncV2==bitsync):\n", 119 | " bitstring(3)\n", 120 | " sensorid=(bytestring(True)<<8)+bytestring(True)\n", 121 | " nibble45=bytestring(True)\n", 122 | " nibble67=bytestring(True)\n", 123 | " channel=(nibble45&0xF0)>>4\n", 124 | " rollingcode=((nibble45&0xF)<<4)+((nibble67&0xF0)>>4)\n", 125 | " flag=nibble67&0xF\n", 126 | " flaglist=convertflags(flag)\n", 127 | " negative=flaglist[0]\n", 128 | " flagstr=flaglist[1]\n", 129 | " temperature=\"\"\n", 130 | " if (sensorid==0xEC40):\n", 131 | " temp1=bytestring(True)\n", 132 | " temp2=bytestring(True)\n", 133 | " checksum=bytestring(True)\n", 134 | " checksum=((checksum&0xF)<<4)+((checksum&0xF0)>>4)\n", 135 | " temperature=(\"Temperature %s%d.%01d C\" % (negative,((((temp2&0xF0)>>4)<<4)+(temp1&0xF)),(temp1&0xF0)>>4))\n", 136 | " else:\n", 137 | " temperature=(\"RawData: %02X %02X %02X %02X \" % (bytestring(True),bytestring(True),bytestring(True),bytestring(True))) \n", 138 | " checksum=0\n", 139 | " #temperature=(\"%s%d.%01d\" % (negative,((((temp2&0xF0)>>4)<<4)+(temp1&0xF)),(temp1&0xF0)>>4))\n", 140 | " print(\"Oregon Scientific V2 - Sensor Id %04X - Rolling code %01X - Channel %d - %s - Flags (%s) - Checksum: %02X\" % (sensorid, rollingcode,channel,temperature,flagstr,checksum))\n", 141 | " bitcounter=0\n" 142 | ], 143 | "language": "python", 144 | "metadata": {}, 145 | "outputs": [ 146 | { 147 | "output_type": "stream", 148 | "stream": "stdout", 149 | "text": [ 150 | "OregonScientific.py -i -o \n", 151 | "Input file is /tmp/fifo\n", 152 | "Sync found\n", 153 | "Sync found\n", 154 | "Sync found\n", 155 | "Sync found\n", 156 | "Oregon Scientific V2 - Sensor Id EC40 - Rolling code 5F - Channel 1 - Temperature 3.8 C - Flags () - Checksum: 3E\n", 157 | "Sync found" 158 | ] 159 | }, 160 | { 161 | "output_type": "stream", 162 | "stream": "stdout", 163 | "text": [ 164 | "\n", 165 | "Sync found\n", 166 | "Oregon Scientific V2 - Sensor Id EC40 - Rolling code 5F - Channel 1 - Temperature 0.0 C - Flags () - Checksum: C1\n", 167 | "Sync found\n", 168 | "Oregon Scientific V2 - Sensor Id EC40 - Rolling code 53 - Channel 1 - Temperature 0.0 C - Flags () - Checksum: C1\n", 169 | "Sync found\n", 170 | "Oregon Scientific V2 - Sensor Id EC40 - Rolling code 5F - Channel 1 - Temperature 3.8 C - Flags () - Checksum: 3E\n", 171 | "Sync found\n", 172 | "Sync found" 173 | ] 174 | }, 175 | { 176 | "output_type": "stream", 177 | "stream": "stdout", 178 | "text": [ 179 | "\n", 180 | "Oregon Scientific V2 - Sensor Id EC40 - Rolling code 50 - Channel 1 - Temperature 224.0 C - Flags () - Checksum: C1\n", 181 | "Sync found\n", 182 | "Oregon Scientific V2 - Sensor Id EC40 - Rolling code 0 - Channel 0 - Temperature 252.6 C - Flags () - Checksum: C1\n", 183 | "Sync found\n", 184 | "Oregon Scientific V2 - Sensor Id EC40 - Rolling code 5F - Channel 1 - Temperature 3.8 C - Flags () - Checksum: 3E\n", 185 | "Sync found\n", 186 | "Oregon Scientific V2 - Sensor Id EC40 - Rolling code 5F - Channel 1 - Temperature 3.8 C - Flags () - Checksum: 3E\n", 187 | "Sync found\n", 188 | "Oregon Scientific V2 - Sensor Id EC40 - Rolling code 5F - Channel 1 - Temperature 0.0 C - Flags () - Checksum: C0\n", 189 | "Sync found\n", 190 | "Oregon Scientific V2 - Sensor Id EC40 - Rolling code 53 - Channel 1 - Temperature 252.0 C - Flags () - Checksum: C1\n", 191 | "Sync found" 192 | ] 193 | }, 194 | { 195 | "output_type": "stream", 196 | "stream": "stdout", 197 | "text": [ 198 | "\n", 199 | "Sync found\n", 200 | "Oregon Scientific V2 - Sensor Id EC40 - Rolling code 5F - Channel 1 - Temperature 3.8 C - Flags () - Checksum: 3E\n", 201 | "Sync found\n", 202 | "Sync found\n", 203 | "Oregon Scientific V2 - Sensor Id EC40 - Rolling code 5F - Channel 1 - Temperature 3.8 C - Flags () - Checksum: 3E\n", 204 | "Sync found\n", 205 | "Oregon Scientific V2 - Sensor Id EC40 - Rolling code 5F - Channel 1 - Temperature 3.8 C - Flags () - Checksum: 3E\n" 206 | ] 207 | } 208 | ], 209 | "prompt_number": 74 210 | }, 211 | { 212 | "cell_type": "code", 213 | "collapsed": false, 214 | "input": [], 215 | "language": "python", 216 | "metadata": {}, 217 | "outputs": [], 218 | "prompt_number": 70 219 | }, 220 | { 221 | "cell_type": "code", 222 | "collapsed": false, 223 | "input": [], 224 | "language": "python", 225 | "metadata": {}, 226 | "outputs": [], 227 | "prompt_number": 37 228 | }, 229 | { 230 | "cell_type": "code", 231 | "collapsed": false, 232 | "input": [], 233 | "language": "python", 234 | "metadata": {}, 235 | "outputs": [], 236 | "prompt_number": 32 237 | }, 238 | { 239 | "cell_type": "code", 240 | "collapsed": false, 241 | "input": [], 242 | "language": "python", 243 | "metadata": {}, 244 | "outputs": [], 245 | "prompt_number": 32 246 | }, 247 | { 248 | "cell_type": "code", 249 | "collapsed": false, 250 | "input": [], 251 | "language": "python", 252 | "metadata": {}, 253 | "outputs": [] 254 | } 255 | ], 256 | "metadata": {} 257 | } 258 | ] 259 | } -------------------------------------------------------------------------------- /rx_ask.grc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Fri Jan 2 18:52:08 2015 5 | 6 | options 7 | 8 | id 9 | top_block 10 | 11 | 12 | _enabled 13 | True 14 | 15 | 16 | title 17 | 18 | 19 | 20 | author 21 | 22 | 23 | 24 | description 25 | 26 | 27 | 28 | window_size 29 | 1280, 1024 30 | 31 | 32 | generate_options 33 | qt_gui 34 | 35 | 36 | category 37 | Custom 38 | 39 | 40 | run_options 41 | prompt 42 | 43 | 44 | run 45 | True 46 | 47 | 48 | max_nouts 49 | 0 50 | 51 | 52 | realtime_scheduling 53 | 54 | 55 | 56 | alias 57 | 58 | 59 | 60 | _coordinate 61 | (10, 10) 62 | 63 | 64 | _rotation 65 | 0 66 | 67 | 68 | 69 | variable 70 | 71 | id 72 | data_rate_V2 73 | 74 | 75 | _enabled 76 | True 77 | 78 | 79 | value 80 | 510*2 81 | 82 | 83 | alias 84 | 85 | 86 | 87 | _coordinate 88 | (1128, 203) 89 | 90 | 91 | _rotation 92 | 0 93 | 94 | 95 | 96 | variable 97 | 98 | id 99 | samp_per_sym 100 | 101 | 102 | _enabled 103 | True 104 | 105 | 106 | value 107 | audio_rate/version_chooser 108 | 109 | 110 | alias 111 | 112 | 113 | 114 | _coordinate 115 | (1128, 259) 116 | 117 | 118 | _rotation 119 | 0 120 | 121 | 122 | 123 | variable 124 | 125 | id 126 | channel_trans 127 | 128 | 129 | _enabled 130 | True 131 | 132 | 133 | value 134 | 2000 135 | 136 | 137 | alias 138 | 139 | 140 | 141 | _coordinate 142 | (56, 475) 143 | 144 | 145 | _rotation 146 | 0 147 | 148 | 149 | 150 | variable 151 | 152 | id 153 | channel_spacing 154 | 155 | 156 | _enabled 157 | True 158 | 159 | 160 | value 161 | 25e3 162 | 163 | 164 | alias 165 | 166 | 167 | 168 | _coordinate 169 | (48, 411) 170 | 171 | 172 | _rotation 173 | 0 174 | 175 | 176 | 177 | variable 178 | 179 | id 180 | freq_offset 181 | 182 | 183 | _enabled 184 | True 185 | 186 | 187 | value 188 | 100e3 189 | 190 | 191 | alias 192 | 193 | 194 | 195 | _coordinate 196 | (440, 235) 197 | 198 | 199 | _rotation 200 | 0 201 | 202 | 203 | 204 | variable 205 | 206 | id 207 | freq 208 | 209 | 210 | _enabled 211 | True 212 | 213 | 214 | value 215 | (0*433.886e6+0*433.877e6+0*433.995e6)+freq_range*1e6+100e3 216 | 217 | 218 | alias 219 | 220 | 221 | 222 | _coordinate 223 | (440, 171) 224 | 225 | 226 | _rotation 227 | 0 228 | 229 | 230 | 231 | variable 232 | 233 | id 234 | samp_rate 235 | 236 | 237 | _enabled 238 | True 239 | 240 | 241 | value 242 | 2400000 243 | 244 | 245 | alias 246 | 247 | 248 | 249 | _coordinate 250 | (176, 11) 251 | 252 | 253 | _rotation 254 | 0 255 | 256 | 257 | 258 | variable 259 | 260 | id 261 | audio_rate 262 | 263 | 264 | _enabled 265 | True 266 | 267 | 268 | value 269 | 48000 270 | 271 | 272 | alias 273 | 274 | 275 | 276 | _coordinate 277 | (600, 75) 278 | 279 | 280 | _rotation 281 | 0 282 | 283 | 284 | 285 | variable 286 | 287 | id 288 | data_rate_V1 289 | 290 | 291 | _enabled 292 | True 293 | 294 | 295 | value 296 | 680 297 | 298 | 299 | alias 300 | 301 | 302 | 303 | _coordinate 304 | (1128, 139) 305 | 306 | 307 | _rotation 308 | 0 309 | 310 | 311 | 312 | variable 313 | 314 | id 315 | trans 316 | 317 | 318 | _enabled 319 | True 320 | 321 | 322 | value 323 | 1.2e3 324 | 325 | 326 | alias 327 | 328 | 329 | 330 | _coordinate 331 | (600, 3) 332 | 333 | 334 | _rotation 335 | 0 336 | 337 | 338 | 339 | digital_binary_slicer_fb 340 | 341 | id 342 | digital_binary_slicer_fb_1 343 | 344 | 345 | _enabled 346 | True 347 | 348 | 349 | alias 350 | 351 | 352 | 353 | affinity 354 | 355 | 356 | 357 | minoutbuf 358 | 0 359 | 360 | 361 | maxoutbuf 362 | 0 363 | 364 | 365 | _coordinate 366 | (880, 352) 367 | 368 | 369 | _rotation 370 | 0 371 | 372 | 373 | 374 | blocks_file_sink 375 | 376 | id 377 | blocks_file_sink_0 378 | 379 | 380 | _enabled 381 | True 382 | 383 | 384 | file 385 | /tmp/fifo 386 | 387 | 388 | type 389 | byte 390 | 391 | 392 | vlen 393 | 1 394 | 395 | 396 | unbuffered 397 | False 398 | 399 | 400 | append 401 | False 402 | 403 | 404 | alias 405 | 406 | 407 | 408 | affinity 409 | 410 | 411 | 412 | _coordinate 413 | (992, 451) 414 | 415 | 416 | _rotation 417 | 0 418 | 419 | 420 | 421 | analog_agc2_xx 422 | 423 | id 424 | analog_agc2_xx_0 425 | 426 | 427 | _enabled 428 | True 429 | 430 | 431 | type 432 | complex 433 | 434 | 435 | attack_rate 436 | 1e-1 437 | 438 | 439 | decay_rate 440 | 1e-2 441 | 442 | 443 | reference 444 | 1 445 | 446 | 447 | gain 448 | 0 449 | 450 | 451 | max_gain 452 | 65536 453 | 454 | 455 | alias 456 | 457 | 458 | 459 | affinity 460 | 461 | 462 | 463 | minoutbuf 464 | 0 465 | 466 | 467 | maxoutbuf 468 | 0 469 | 470 | 471 | _coordinate 472 | (264, 323) 473 | 474 | 475 | _rotation 476 | 0 477 | 478 | 479 | 480 | freq_xlating_fir_filter_xxx 481 | 482 | id 483 | freq_xlating_fir_filter_xxx_0 484 | 485 | 486 | _enabled 487 | True 488 | 489 | 490 | type 491 | ccc 492 | 493 | 494 | decim 495 | 50 496 | 497 | 498 | taps 499 | firdes.low_pass(1, samp_rate, channel_spacing,channel_trans, firdes.WIN_BLACKMAN, 6.76) 500 | 501 | 502 | center_freq 503 | -freq_offset 504 | 505 | 506 | samp_rate 507 | samp_rate 508 | 509 | 510 | alias 511 | 512 | 513 | 514 | affinity 515 | 516 | 517 | 518 | minoutbuf 519 | 0 520 | 521 | 522 | maxoutbuf 523 | 0 524 | 525 | 526 | _coordinate 527 | (248, 435) 528 | 529 | 530 | _rotation 531 | 0 532 | 533 | 534 | 535 | band_pass_filter 536 | 537 | id 538 | band_pass_filter_0 539 | 540 | 541 | _enabled 542 | True 543 | 544 | 545 | type 546 | fir_filter_ccc 547 | 548 | 549 | decim 550 | 1 551 | 552 | 553 | interp 554 | 1 555 | 556 | 557 | gain 558 | 1 559 | 560 | 561 | samp_rate 562 | samp_rate/50 563 | 564 | 565 | low_cutoff_freq 566 | -2500 567 | 568 | 569 | high_cutoff_freq 570 | 2500 571 | 572 | 573 | width 574 | trans 575 | 576 | 577 | win 578 | firdes.WIN_HAMMING 579 | 580 | 581 | beta 582 | 6.76 583 | 584 | 585 | alias 586 | 587 | 588 | 589 | affinity 590 | 591 | 592 | 593 | minoutbuf 594 | 0 595 | 596 | 597 | maxoutbuf 598 | 0 599 | 600 | 601 | _coordinate 602 | (272, 539) 603 | 604 | 605 | _rotation 606 | 0 607 | 608 | 609 | 610 | osmosdr_source 611 | 612 | id 613 | osmosdr_source_0 614 | 615 | 616 | _enabled 617 | True 618 | 619 | 620 | type 621 | fc32 622 | 623 | 624 | args 625 | 626 | 627 | 628 | sync 629 | 630 | 631 | 632 | num_mboards 633 | 1 634 | 635 | 636 | clock_source0 637 | 638 | 639 | 640 | time_source0 641 | 642 | 643 | 644 | clock_source1 645 | 646 | 647 | 648 | time_source1 649 | 650 | 651 | 652 | clock_source2 653 | 654 | 655 | 656 | time_source2 657 | 658 | 659 | 660 | clock_source3 661 | 662 | 663 | 664 | time_source3 665 | 666 | 667 | 668 | clock_source4 669 | 670 | 671 | 672 | time_source4 673 | 674 | 675 | 676 | clock_source5 677 | 678 | 679 | 680 | time_source5 681 | 682 | 683 | 684 | clock_source6 685 | 686 | 687 | 688 | time_source6 689 | 690 | 691 | 692 | clock_source7 693 | 694 | 695 | 696 | time_source7 697 | 698 | 699 | 700 | nchan 701 | 1 702 | 703 | 704 | sample_rate 705 | samp_rate 706 | 707 | 708 | freq0 709 | freq 710 | 711 | 712 | corr0 713 | 0 714 | 715 | 716 | dc_offset_mode0 717 | 0 718 | 719 | 720 | iq_balance_mode0 721 | 0 722 | 723 | 724 | gain_mode0 725 | True 726 | 727 | 728 | gain0 729 | 10 730 | 731 | 732 | if_gain0 733 | 20 734 | 735 | 736 | bb_gain0 737 | 20 738 | 739 | 740 | ant0 741 | TX/RX 742 | 743 | 744 | bw0 745 | 0 746 | 747 | 748 | freq1 749 | 100e6 750 | 751 | 752 | corr1 753 | 0 754 | 755 | 756 | dc_offset_mode1 757 | 0 758 | 759 | 760 | iq_balance_mode1 761 | 0 762 | 763 | 764 | gain_mode1 765 | False 766 | 767 | 768 | gain1 769 | 10 770 | 771 | 772 | if_gain1 773 | 20 774 | 775 | 776 | bb_gain1 777 | 20 778 | 779 | 780 | ant1 781 | 782 | 783 | 784 | bw1 785 | 0 786 | 787 | 788 | freq2 789 | 100e6 790 | 791 | 792 | corr2 793 | 0 794 | 795 | 796 | dc_offset_mode2 797 | 0 798 | 799 | 800 | iq_balance_mode2 801 | 0 802 | 803 | 804 | gain_mode2 805 | False 806 | 807 | 808 | gain2 809 | 10 810 | 811 | 812 | if_gain2 813 | 20 814 | 815 | 816 | bb_gain2 817 | 20 818 | 819 | 820 | ant2 821 | 822 | 823 | 824 | bw2 825 | 0 826 | 827 | 828 | freq3 829 | 100e6 830 | 831 | 832 | corr3 833 | 0 834 | 835 | 836 | dc_offset_mode3 837 | 0 838 | 839 | 840 | iq_balance_mode3 841 | 0 842 | 843 | 844 | gain_mode3 845 | False 846 | 847 | 848 | gain3 849 | 10 850 | 851 | 852 | if_gain3 853 | 20 854 | 855 | 856 | bb_gain3 857 | 20 858 | 859 | 860 | ant3 861 | 862 | 863 | 864 | bw3 865 | 0 866 | 867 | 868 | freq4 869 | 100e6 870 | 871 | 872 | corr4 873 | 0 874 | 875 | 876 | dc_offset_mode4 877 | 0 878 | 879 | 880 | iq_balance_mode4 881 | 0 882 | 883 | 884 | gain_mode4 885 | False 886 | 887 | 888 | gain4 889 | 10 890 | 891 | 892 | if_gain4 893 | 20 894 | 895 | 896 | bb_gain4 897 | 20 898 | 899 | 900 | ant4 901 | 902 | 903 | 904 | bw4 905 | 0 906 | 907 | 908 | freq5 909 | 100e6 910 | 911 | 912 | corr5 913 | 0 914 | 915 | 916 | dc_offset_mode5 917 | 0 918 | 919 | 920 | iq_balance_mode5 921 | 0 922 | 923 | 924 | gain_mode5 925 | False 926 | 927 | 928 | gain5 929 | 10 930 | 931 | 932 | if_gain5 933 | 20 934 | 935 | 936 | bb_gain5 937 | 20 938 | 939 | 940 | ant5 941 | 942 | 943 | 944 | bw5 945 | 0 946 | 947 | 948 | freq6 949 | 100e6 950 | 951 | 952 | corr6 953 | 0 954 | 955 | 956 | dc_offset_mode6 957 | 0 958 | 959 | 960 | iq_balance_mode6 961 | 0 962 | 963 | 964 | gain_mode6 965 | False 966 | 967 | 968 | gain6 969 | 10 970 | 971 | 972 | if_gain6 973 | 20 974 | 975 | 976 | bb_gain6 977 | 20 978 | 979 | 980 | ant6 981 | 982 | 983 | 984 | bw6 985 | 0 986 | 987 | 988 | freq7 989 | 100e6 990 | 991 | 992 | corr7 993 | 0 994 | 995 | 996 | dc_offset_mode7 997 | 0 998 | 999 | 1000 | iq_balance_mode7 1001 | 0 1002 | 1003 | 1004 | gain_mode7 1005 | False 1006 | 1007 | 1008 | gain7 1009 | 10 1010 | 1011 | 1012 | if_gain7 1013 | 20 1014 | 1015 | 1016 | bb_gain7 1017 | 20 1018 | 1019 | 1020 | ant7 1021 | 1022 | 1023 | 1024 | bw7 1025 | 0 1026 | 1027 | 1028 | freq8 1029 | 100e6 1030 | 1031 | 1032 | corr8 1033 | 0 1034 | 1035 | 1036 | dc_offset_mode8 1037 | 0 1038 | 1039 | 1040 | iq_balance_mode8 1041 | 0 1042 | 1043 | 1044 | gain_mode8 1045 | False 1046 | 1047 | 1048 | gain8 1049 | 10 1050 | 1051 | 1052 | if_gain8 1053 | 20 1054 | 1055 | 1056 | bb_gain8 1057 | 20 1058 | 1059 | 1060 | ant8 1061 | 1062 | 1063 | 1064 | bw8 1065 | 0 1066 | 1067 | 1068 | freq9 1069 | 100e6 1070 | 1071 | 1072 | corr9 1073 | 0 1074 | 1075 | 1076 | dc_offset_mode9 1077 | 0 1078 | 1079 | 1080 | iq_balance_mode9 1081 | 0 1082 | 1083 | 1084 | gain_mode9 1085 | False 1086 | 1087 | 1088 | gain9 1089 | 10 1090 | 1091 | 1092 | if_gain9 1093 | 20 1094 | 1095 | 1096 | bb_gain9 1097 | 20 1098 | 1099 | 1100 | ant9 1101 | 1102 | 1103 | 1104 | bw9 1105 | 0 1106 | 1107 | 1108 | freq10 1109 | 100e6 1110 | 1111 | 1112 | corr10 1113 | 0 1114 | 1115 | 1116 | dc_offset_mode10 1117 | 0 1118 | 1119 | 1120 | iq_balance_mode10 1121 | 0 1122 | 1123 | 1124 | gain_mode10 1125 | False 1126 | 1127 | 1128 | gain10 1129 | 10 1130 | 1131 | 1132 | if_gain10 1133 | 20 1134 | 1135 | 1136 | bb_gain10 1137 | 20 1138 | 1139 | 1140 | ant10 1141 | 1142 | 1143 | 1144 | bw10 1145 | 0 1146 | 1147 | 1148 | freq11 1149 | 100e6 1150 | 1151 | 1152 | corr11 1153 | 0 1154 | 1155 | 1156 | dc_offset_mode11 1157 | 0 1158 | 1159 | 1160 | iq_balance_mode11 1161 | 0 1162 | 1163 | 1164 | gain_mode11 1165 | False 1166 | 1167 | 1168 | gain11 1169 | 10 1170 | 1171 | 1172 | if_gain11 1173 | 20 1174 | 1175 | 1176 | bb_gain11 1177 | 20 1178 | 1179 | 1180 | ant11 1181 | 1182 | 1183 | 1184 | bw11 1185 | 0 1186 | 1187 | 1188 | freq12 1189 | 100e6 1190 | 1191 | 1192 | corr12 1193 | 0 1194 | 1195 | 1196 | dc_offset_mode12 1197 | 0 1198 | 1199 | 1200 | iq_balance_mode12 1201 | 0 1202 | 1203 | 1204 | gain_mode12 1205 | False 1206 | 1207 | 1208 | gain12 1209 | 10 1210 | 1211 | 1212 | if_gain12 1213 | 20 1214 | 1215 | 1216 | bb_gain12 1217 | 20 1218 | 1219 | 1220 | ant12 1221 | 1222 | 1223 | 1224 | bw12 1225 | 0 1226 | 1227 | 1228 | freq13 1229 | 100e6 1230 | 1231 | 1232 | corr13 1233 | 0 1234 | 1235 | 1236 | dc_offset_mode13 1237 | 0 1238 | 1239 | 1240 | iq_balance_mode13 1241 | 0 1242 | 1243 | 1244 | gain_mode13 1245 | False 1246 | 1247 | 1248 | gain13 1249 | 10 1250 | 1251 | 1252 | if_gain13 1253 | 20 1254 | 1255 | 1256 | bb_gain13 1257 | 20 1258 | 1259 | 1260 | ant13 1261 | 1262 | 1263 | 1264 | bw13 1265 | 0 1266 | 1267 | 1268 | freq14 1269 | 100e6 1270 | 1271 | 1272 | corr14 1273 | 0 1274 | 1275 | 1276 | dc_offset_mode14 1277 | 0 1278 | 1279 | 1280 | iq_balance_mode14 1281 | 0 1282 | 1283 | 1284 | gain_mode14 1285 | False 1286 | 1287 | 1288 | gain14 1289 | 10 1290 | 1291 | 1292 | if_gain14 1293 | 20 1294 | 1295 | 1296 | bb_gain14 1297 | 20 1298 | 1299 | 1300 | ant14 1301 | 1302 | 1303 | 1304 | bw14 1305 | 0 1306 | 1307 | 1308 | freq15 1309 | 100e6 1310 | 1311 | 1312 | corr15 1313 | 0 1314 | 1315 | 1316 | dc_offset_mode15 1317 | 0 1318 | 1319 | 1320 | iq_balance_mode15 1321 | 0 1322 | 1323 | 1324 | gain_mode15 1325 | False 1326 | 1327 | 1328 | gain15 1329 | 10 1330 | 1331 | 1332 | if_gain15 1333 | 20 1334 | 1335 | 1336 | bb_gain15 1337 | 20 1338 | 1339 | 1340 | ant15 1341 | 1342 | 1343 | 1344 | bw15 1345 | 0 1346 | 1347 | 1348 | freq16 1349 | 100e6 1350 | 1351 | 1352 | corr16 1353 | 0 1354 | 1355 | 1356 | dc_offset_mode16 1357 | 0 1358 | 1359 | 1360 | iq_balance_mode16 1361 | 0 1362 | 1363 | 1364 | gain_mode16 1365 | False 1366 | 1367 | 1368 | gain16 1369 | 10 1370 | 1371 | 1372 | if_gain16 1373 | 20 1374 | 1375 | 1376 | bb_gain16 1377 | 20 1378 | 1379 | 1380 | ant16 1381 | 1382 | 1383 | 1384 | bw16 1385 | 0 1386 | 1387 | 1388 | freq17 1389 | 100e6 1390 | 1391 | 1392 | corr17 1393 | 0 1394 | 1395 | 1396 | dc_offset_mode17 1397 | 0 1398 | 1399 | 1400 | iq_balance_mode17 1401 | 0 1402 | 1403 | 1404 | gain_mode17 1405 | False 1406 | 1407 | 1408 | gain17 1409 | 10 1410 | 1411 | 1412 | if_gain17 1413 | 20 1414 | 1415 | 1416 | bb_gain17 1417 | 20 1418 | 1419 | 1420 | ant17 1421 | 1422 | 1423 | 1424 | bw17 1425 | 0 1426 | 1427 | 1428 | freq18 1429 | 100e6 1430 | 1431 | 1432 | corr18 1433 | 0 1434 | 1435 | 1436 | dc_offset_mode18 1437 | 0 1438 | 1439 | 1440 | iq_balance_mode18 1441 | 0 1442 | 1443 | 1444 | gain_mode18 1445 | False 1446 | 1447 | 1448 | gain18 1449 | 10 1450 | 1451 | 1452 | if_gain18 1453 | 20 1454 | 1455 | 1456 | bb_gain18 1457 | 20 1458 | 1459 | 1460 | ant18 1461 | 1462 | 1463 | 1464 | bw18 1465 | 0 1466 | 1467 | 1468 | freq19 1469 | 100e6 1470 | 1471 | 1472 | corr19 1473 | 0 1474 | 1475 | 1476 | dc_offset_mode19 1477 | 0 1478 | 1479 | 1480 | iq_balance_mode19 1481 | 0 1482 | 1483 | 1484 | gain_mode19 1485 | False 1486 | 1487 | 1488 | gain19 1489 | 10 1490 | 1491 | 1492 | if_gain19 1493 | 20 1494 | 1495 | 1496 | bb_gain19 1497 | 20 1498 | 1499 | 1500 | ant19 1501 | 1502 | 1503 | 1504 | bw19 1505 | 0 1506 | 1507 | 1508 | freq20 1509 | 100e6 1510 | 1511 | 1512 | corr20 1513 | 0 1514 | 1515 | 1516 | dc_offset_mode20 1517 | 0 1518 | 1519 | 1520 | iq_balance_mode20 1521 | 0 1522 | 1523 | 1524 | gain_mode20 1525 | False 1526 | 1527 | 1528 | gain20 1529 | 10 1530 | 1531 | 1532 | if_gain20 1533 | 20 1534 | 1535 | 1536 | bb_gain20 1537 | 20 1538 | 1539 | 1540 | ant20 1541 | 1542 | 1543 | 1544 | bw20 1545 | 0 1546 | 1547 | 1548 | freq21 1549 | 100e6 1550 | 1551 | 1552 | corr21 1553 | 0 1554 | 1555 | 1556 | dc_offset_mode21 1557 | 0 1558 | 1559 | 1560 | iq_balance_mode21 1561 | 0 1562 | 1563 | 1564 | gain_mode21 1565 | False 1566 | 1567 | 1568 | gain21 1569 | 10 1570 | 1571 | 1572 | if_gain21 1573 | 20 1574 | 1575 | 1576 | bb_gain21 1577 | 20 1578 | 1579 | 1580 | ant21 1581 | 1582 | 1583 | 1584 | bw21 1585 | 0 1586 | 1587 | 1588 | freq22 1589 | 100e6 1590 | 1591 | 1592 | corr22 1593 | 0 1594 | 1595 | 1596 | dc_offset_mode22 1597 | 0 1598 | 1599 | 1600 | iq_balance_mode22 1601 | 0 1602 | 1603 | 1604 | gain_mode22 1605 | False 1606 | 1607 | 1608 | gain22 1609 | 10 1610 | 1611 | 1612 | if_gain22 1613 | 20 1614 | 1615 | 1616 | bb_gain22 1617 | 20 1618 | 1619 | 1620 | ant22 1621 | 1622 | 1623 | 1624 | bw22 1625 | 0 1626 | 1627 | 1628 | freq23 1629 | 100e6 1630 | 1631 | 1632 | corr23 1633 | 0 1634 | 1635 | 1636 | dc_offset_mode23 1637 | 0 1638 | 1639 | 1640 | iq_balance_mode23 1641 | 0 1642 | 1643 | 1644 | gain_mode23 1645 | False 1646 | 1647 | 1648 | gain23 1649 | 10 1650 | 1651 | 1652 | if_gain23 1653 | 20 1654 | 1655 | 1656 | bb_gain23 1657 | 20 1658 | 1659 | 1660 | ant23 1661 | 1662 | 1663 | 1664 | bw23 1665 | 0 1666 | 1667 | 1668 | freq24 1669 | 100e6 1670 | 1671 | 1672 | corr24 1673 | 0 1674 | 1675 | 1676 | dc_offset_mode24 1677 | 0 1678 | 1679 | 1680 | iq_balance_mode24 1681 | 0 1682 | 1683 | 1684 | gain_mode24 1685 | False 1686 | 1687 | 1688 | gain24 1689 | 10 1690 | 1691 | 1692 | if_gain24 1693 | 20 1694 | 1695 | 1696 | bb_gain24 1697 | 20 1698 | 1699 | 1700 | ant24 1701 | 1702 | 1703 | 1704 | bw24 1705 | 0 1706 | 1707 | 1708 | freq25 1709 | 100e6 1710 | 1711 | 1712 | corr25 1713 | 0 1714 | 1715 | 1716 | dc_offset_mode25 1717 | 0 1718 | 1719 | 1720 | iq_balance_mode25 1721 | 0 1722 | 1723 | 1724 | gain_mode25 1725 | False 1726 | 1727 | 1728 | gain25 1729 | 10 1730 | 1731 | 1732 | if_gain25 1733 | 20 1734 | 1735 | 1736 | bb_gain25 1737 | 20 1738 | 1739 | 1740 | ant25 1741 | 1742 | 1743 | 1744 | bw25 1745 | 0 1746 | 1747 | 1748 | freq26 1749 | 100e6 1750 | 1751 | 1752 | corr26 1753 | 0 1754 | 1755 | 1756 | dc_offset_mode26 1757 | 0 1758 | 1759 | 1760 | iq_balance_mode26 1761 | 0 1762 | 1763 | 1764 | gain_mode26 1765 | False 1766 | 1767 | 1768 | gain26 1769 | 10 1770 | 1771 | 1772 | if_gain26 1773 | 20 1774 | 1775 | 1776 | bb_gain26 1777 | 20 1778 | 1779 | 1780 | ant26 1781 | 1782 | 1783 | 1784 | bw26 1785 | 0 1786 | 1787 | 1788 | freq27 1789 | 100e6 1790 | 1791 | 1792 | corr27 1793 | 0 1794 | 1795 | 1796 | dc_offset_mode27 1797 | 0 1798 | 1799 | 1800 | iq_balance_mode27 1801 | 0 1802 | 1803 | 1804 | gain_mode27 1805 | False 1806 | 1807 | 1808 | gain27 1809 | 10 1810 | 1811 | 1812 | if_gain27 1813 | 20 1814 | 1815 | 1816 | bb_gain27 1817 | 20 1818 | 1819 | 1820 | ant27 1821 | 1822 | 1823 | 1824 | bw27 1825 | 0 1826 | 1827 | 1828 | freq28 1829 | 100e6 1830 | 1831 | 1832 | corr28 1833 | 0 1834 | 1835 | 1836 | dc_offset_mode28 1837 | 0 1838 | 1839 | 1840 | iq_balance_mode28 1841 | 0 1842 | 1843 | 1844 | gain_mode28 1845 | False 1846 | 1847 | 1848 | gain28 1849 | 10 1850 | 1851 | 1852 | if_gain28 1853 | 20 1854 | 1855 | 1856 | bb_gain28 1857 | 20 1858 | 1859 | 1860 | ant28 1861 | 1862 | 1863 | 1864 | bw28 1865 | 0 1866 | 1867 | 1868 | freq29 1869 | 100e6 1870 | 1871 | 1872 | corr29 1873 | 0 1874 | 1875 | 1876 | dc_offset_mode29 1877 | 0 1878 | 1879 | 1880 | iq_balance_mode29 1881 | 0 1882 | 1883 | 1884 | gain_mode29 1885 | False 1886 | 1887 | 1888 | gain29 1889 | 10 1890 | 1891 | 1892 | if_gain29 1893 | 20 1894 | 1895 | 1896 | bb_gain29 1897 | 20 1898 | 1899 | 1900 | ant29 1901 | 1902 | 1903 | 1904 | bw29 1905 | 0 1906 | 1907 | 1908 | freq30 1909 | 100e6 1910 | 1911 | 1912 | corr30 1913 | 0 1914 | 1915 | 1916 | dc_offset_mode30 1917 | 0 1918 | 1919 | 1920 | iq_balance_mode30 1921 | 0 1922 | 1923 | 1924 | gain_mode30 1925 | False 1926 | 1927 | 1928 | gain30 1929 | 10 1930 | 1931 | 1932 | if_gain30 1933 | 20 1934 | 1935 | 1936 | bb_gain30 1937 | 20 1938 | 1939 | 1940 | ant30 1941 | 1942 | 1943 | 1944 | bw30 1945 | 0 1946 | 1947 | 1948 | freq31 1949 | 100e6 1950 | 1951 | 1952 | corr31 1953 | 0 1954 | 1955 | 1956 | dc_offset_mode31 1957 | 0 1958 | 1959 | 1960 | iq_balance_mode31 1961 | 0 1962 | 1963 | 1964 | gain_mode31 1965 | False 1966 | 1967 | 1968 | gain31 1969 | 10 1970 | 1971 | 1972 | if_gain31 1973 | 20 1974 | 1975 | 1976 | bb_gain31 1977 | 20 1978 | 1979 | 1980 | ant31 1981 | 1982 | 1983 | 1984 | bw31 1985 | 0 1986 | 1987 | 1988 | alias 1989 | 1990 | 1991 | 1992 | affinity 1993 | 1994 | 1995 | 1996 | minoutbuf 1997 | 0 1998 | 1999 | 2000 | maxoutbuf 2001 | 0 2002 | 2003 | 2004 | _coordinate 2005 | (8, 163) 2006 | 2007 | 2008 | _rotation 2009 | 0 2010 | 2011 | 2012 | 2013 | blocks_add_const_vxx 2014 | 2015 | id 2016 | blocks_add_const_vxx_0 2017 | 2018 | 2019 | _enabled 2020 | True 2021 | 2022 | 2023 | type 2024 | float 2025 | 2026 | 2027 | const 2028 | gain*1e-3 2029 | 2030 | 2031 | vlen 2032 | 1 2033 | 2034 | 2035 | alias 2036 | 2037 | 2038 | 2039 | affinity 2040 | 2041 | 2042 | 2043 | minoutbuf 2044 | 0 2045 | 2046 | 2047 | maxoutbuf 2048 | 0 2049 | 2050 | 2051 | _coordinate 2052 | (664, 371) 2053 | 2054 | 2055 | _rotation 2056 | 0 2057 | 2058 | 2059 | 2060 | analog_am_demod_cf 2061 | 2062 | id 2063 | analog_am_demod_cf_0 2064 | 2065 | 2066 | _enabled 2067 | True 2068 | 2069 | 2070 | chan_rate 2071 | samp_rate/50 2072 | 2073 | 2074 | audio_decim 2075 | 1 2076 | 2077 | 2078 | audio_pass 2079 | 0*500+1*2500 2080 | 2081 | 2082 | audio_stop 2083 | 5000 2084 | 2085 | 2086 | alias 2087 | 2088 | 2089 | 2090 | affinity 2091 | 2092 | 2093 | 2094 | minoutbuf 2095 | 0 2096 | 2097 | 2098 | maxoutbuf 2099 | 0 2100 | 2101 | 2102 | _coordinate 2103 | (480, 523) 2104 | 2105 | 2106 | _rotation 2107 | 0 2108 | 2109 | 2110 | 2111 | qtgui_sink_x 2112 | 2113 | id 2114 | qtgui_sink_x_0 2115 | 2116 | 2117 | _enabled 2118 | True 2119 | 2120 | 2121 | type 2122 | complex 2123 | 2124 | 2125 | name 2126 | "" 2127 | 2128 | 2129 | fftsize 2130 | 1024 2131 | 2132 | 2133 | wintype 2134 | firdes.WIN_BLACKMAN_hARRIS 2135 | 2136 | 2137 | fc 2138 | freq-freq_offset 2139 | 2140 | 2141 | bw 2142 | samp_rate/50 2143 | 2144 | 2145 | rate 2146 | 10 2147 | 2148 | 2149 | showrf 2150 | True 2151 | 2152 | 2153 | plotfreq 2154 | True 2155 | 2156 | 2157 | plotwaterfall 2158 | True 2159 | 2160 | 2161 | plottime 2162 | True 2163 | 2164 | 2165 | plotconst 2166 | True 2167 | 2168 | 2169 | gui_hint 2170 | tab@1 2171 | 2172 | 2173 | freqchangevar 2174 | None 2175 | 2176 | 2177 | showports 2178 | True 2179 | 2180 | 2181 | alias 2182 | 2183 | 2184 | 2185 | affinity 2186 | 2187 | 2188 | 2189 | minoutbuf 2190 | 0 2191 | 2192 | 2193 | maxoutbuf 2194 | 0 2195 | 2196 | 2197 | _coordinate 2198 | (480, 619) 2199 | 2200 | 2201 | _rotation 2202 | 0 2203 | 2204 | 2205 | 2206 | qtgui_freq_sink_x 2207 | 2208 | id 2209 | qtgui_freq_sink_x_0 2210 | 2211 | 2212 | _enabled 2213 | True 2214 | 2215 | 2216 | type 2217 | complex 2218 | 2219 | 2220 | name 2221 | "" 2222 | 2223 | 2224 | fftsize 2225 | 1024 2226 | 2227 | 2228 | wintype 2229 | firdes.WIN_BLACKMAN_hARRIS 2230 | 2231 | 2232 | fc 2233 | freq 2234 | 2235 | 2236 | bw 2237 | samp_rate 2238 | 2239 | 2240 | grid 2241 | True 2242 | 2243 | 2244 | autoscale 2245 | False 2246 | 2247 | 2248 | average 2249 | 1.0 2250 | 2251 | 2252 | ymin 2253 | -140 2254 | 2255 | 2256 | ymax 2257 | 10 2258 | 2259 | 2260 | nconnections 2261 | 1 2262 | 2263 | 2264 | update_time 2265 | 0.10 2266 | 2267 | 2268 | gui_hint 2269 | tab@0:0,0 2270 | 2271 | 2272 | showports 2273 | False 2274 | 2275 | 2276 | label1 2277 | 2278 | 2279 | 2280 | width1 2281 | 1 2282 | 2283 | 2284 | color1 2285 | "blue" 2286 | 2287 | 2288 | alpha1 2289 | 1.0 2290 | 2291 | 2292 | label2 2293 | 2294 | 2295 | 2296 | width2 2297 | 1 2298 | 2299 | 2300 | color2 2301 | "red" 2302 | 2303 | 2304 | alpha2 2305 | 1.0 2306 | 2307 | 2308 | label3 2309 | 2310 | 2311 | 2312 | width3 2313 | 1 2314 | 2315 | 2316 | color3 2317 | "green" 2318 | 2319 | 2320 | alpha3 2321 | 1.0 2322 | 2323 | 2324 | label4 2325 | 2326 | 2327 | 2328 | width4 2329 | 1 2330 | 2331 | 2332 | color4 2333 | "black" 2334 | 2335 | 2336 | alpha4 2337 | 1.0 2338 | 2339 | 2340 | label5 2341 | 2342 | 2343 | 2344 | width5 2345 | 1 2346 | 2347 | 2348 | color5 2349 | "cyan" 2350 | 2351 | 2352 | alpha5 2353 | 1.0 2354 | 2355 | 2356 | label6 2357 | 2358 | 2359 | 2360 | width6 2361 | 1 2362 | 2363 | 2364 | color6 2365 | "magenta" 2366 | 2367 | 2368 | alpha6 2369 | 1.0 2370 | 2371 | 2372 | label7 2373 | 2374 | 2375 | 2376 | width7 2377 | 1 2378 | 2379 | 2380 | color7 2381 | "yellow" 2382 | 2383 | 2384 | alpha7 2385 | 1.0 2386 | 2387 | 2388 | label8 2389 | 2390 | 2391 | 2392 | width8 2393 | 1 2394 | 2395 | 2396 | color8 2397 | "dark red" 2398 | 2399 | 2400 | alpha8 2401 | 1.0 2402 | 2403 | 2404 | label9 2405 | 2406 | 2407 | 2408 | width9 2409 | 1 2410 | 2411 | 2412 | color9 2413 | "dark green" 2414 | 2415 | 2416 | alpha9 2417 | 1.0 2418 | 2419 | 2420 | label10 2421 | 2422 | 2423 | 2424 | width10 2425 | 1 2426 | 2427 | 2428 | color10 2429 | "dark blue" 2430 | 2431 | 2432 | alpha10 2433 | 1.0 2434 | 2435 | 2436 | alias 2437 | 2438 | 2439 | 2440 | affinity 2441 | 2442 | 2443 | 2444 | minoutbuf 2445 | 0 2446 | 2447 | 2448 | maxoutbuf 2449 | 0 2450 | 2451 | 2452 | _coordinate 2453 | (368, 91) 2454 | 2455 | 2456 | _rotation 2457 | 0 2458 | 2459 | 2460 | 2461 | variable_qtgui_range 2462 | 2463 | id 2464 | freq_range 2465 | 2466 | 2467 | _enabled 2468 | True 2469 | 2470 | 2471 | label 2472 | Frequency 2473 | 2474 | 2475 | value 2476 | 433.995 2477 | 2478 | 2479 | start 2480 | 433 2481 | 2482 | 2483 | stop 2484 | 434 2485 | 2486 | 2487 | step 2488 | 0.005 2489 | 2490 | 2491 | widget 2492 | counter_slider 2493 | 2494 | 2495 | orient 2496 | Qt.Horizontal 2497 | 2498 | 2499 | min_len 2500 | 1 2501 | 2502 | 2503 | gui_hint 2504 | tab@0:1,0 2505 | 2506 | 2507 | alias 2508 | 2509 | 2510 | 2511 | _coordinate 2512 | (304, 171) 2513 | 2514 | 2515 | _rotation 2516 | 0 2517 | 2518 | 2519 | 2520 | qtgui_waterfall_sink_x 2521 | 2522 | id 2523 | qtgui_waterfall_sink_x_0 2524 | 2525 | 2526 | _enabled 2527 | True 2528 | 2529 | 2530 | type 2531 | complex 2532 | 2533 | 2534 | name 2535 | "" 2536 | 2537 | 2538 | fftsize 2539 | 1024 2540 | 2541 | 2542 | wintype 2543 | firdes.WIN_BLACKMAN_hARRIS 2544 | 2545 | 2546 | fc 2547 | freq 2548 | 2549 | 2550 | bw 2551 | samp_rate 2552 | 2553 | 2554 | int_min 2555 | -140 2556 | 2557 | 2558 | int_max 2559 | 10 2560 | 2561 | 2562 | grid 2563 | False 2564 | 2565 | 2566 | nconnections 2567 | 1 2568 | 2569 | 2570 | update_time 2571 | 0.10 2572 | 2573 | 2574 | gui_hint 2575 | tab@0:2,0 2576 | 2577 | 2578 | showports 2579 | True 2580 | 2581 | 2582 | label1 2583 | 2584 | 2585 | 2586 | color1 2587 | 0 2588 | 2589 | 2590 | alpha1 2591 | 1.0 2592 | 2593 | 2594 | label2 2595 | 2596 | 2597 | 2598 | color2 2599 | 0 2600 | 2601 | 2602 | alpha2 2603 | 1.0 2604 | 2605 | 2606 | label3 2607 | 2608 | 2609 | 2610 | color3 2611 | 0 2612 | 2613 | 2614 | alpha3 2615 | 1.0 2616 | 2617 | 2618 | label4 2619 | 2620 | 2621 | 2622 | color4 2623 | 0 2624 | 2625 | 2626 | alpha4 2627 | 1.0 2628 | 2629 | 2630 | label5 2631 | 2632 | 2633 | 2634 | color5 2635 | 0 2636 | 2637 | 2638 | alpha5 2639 | 1.0 2640 | 2641 | 2642 | label6 2643 | 2644 | 2645 | 2646 | color6 2647 | 0 2648 | 2649 | 2650 | alpha6 2651 | 1.0 2652 | 2653 | 2654 | label7 2655 | 2656 | 2657 | 2658 | color7 2659 | 0 2660 | 2661 | 2662 | alpha7 2663 | 1.0 2664 | 2665 | 2666 | label8 2667 | 2668 | 2669 | 2670 | color8 2671 | 0 2672 | 2673 | 2674 | alpha8 2675 | 1.0 2676 | 2677 | 2678 | label9 2679 | 2680 | 2681 | 2682 | color9 2683 | 0 2684 | 2685 | 2686 | alpha9 2687 | 1.0 2688 | 2689 | 2690 | label10 2691 | 2692 | 2693 | 2694 | color10 2695 | 0 2696 | 2697 | 2698 | alpha10 2699 | 1.0 2700 | 2701 | 2702 | alias 2703 | 2704 | 2705 | 2706 | affinity 2707 | 2708 | 2709 | 2710 | minoutbuf 2711 | 0 2712 | 2713 | 2714 | maxoutbuf 2715 | 0 2716 | 2717 | 2718 | _coordinate 2719 | (368, 11) 2720 | 2721 | 2722 | _rotation 2723 | 0 2724 | 2725 | 2726 | 2727 | qtgui_number_sink 2728 | 2729 | id 2730 | qtgui_number_sink_0 2731 | 2732 | 2733 | _enabled 2734 | True 2735 | 2736 | 2737 | name 2738 | "" 2739 | 2740 | 2741 | type 2742 | float 2743 | 2744 | 2745 | autoscale 2746 | False 2747 | 2748 | 2749 | avg 2750 | 0 2751 | 2752 | 2753 | graph_type 2754 | qtgui.NUM_GRAPH_HORIZ 2755 | 2756 | 2757 | nconnections 2758 | 1 2759 | 2760 | 2761 | min 2762 | -1 2763 | 2764 | 2765 | max 2766 | 1 2767 | 2768 | 2769 | update_time 2770 | 0.10 2771 | 2772 | 2773 | gui_hint 2774 | tab@1:0,0 2775 | 2776 | 2777 | label1 2778 | 2779 | 2780 | 2781 | unit1 2782 | 2783 | 2784 | 2785 | color1 2786 | ("black", "black") 2787 | 2788 | 2789 | factor1 2790 | 1 2791 | 2792 | 2793 | label2 2794 | 2795 | 2796 | 2797 | unit2 2798 | 2799 | 2800 | 2801 | color2 2802 | ("black", "black") 2803 | 2804 | 2805 | factor2 2806 | 1 2807 | 2808 | 2809 | label3 2810 | 2811 | 2812 | 2813 | unit3 2814 | 2815 | 2816 | 2817 | color3 2818 | ("black", "black") 2819 | 2820 | 2821 | factor3 2822 | 1 2823 | 2824 | 2825 | label4 2826 | 2827 | 2828 | 2829 | unit4 2830 | 2831 | 2832 | 2833 | color4 2834 | ("black", "black") 2835 | 2836 | 2837 | factor4 2838 | 1 2839 | 2840 | 2841 | label5 2842 | 2843 | 2844 | 2845 | unit5 2846 | 2847 | 2848 | 2849 | color5 2850 | ("black", "black") 2851 | 2852 | 2853 | factor5 2854 | 1 2855 | 2856 | 2857 | label6 2858 | 2859 | 2860 | 2861 | unit6 2862 | 2863 | 2864 | 2865 | color6 2866 | ("black", "black") 2867 | 2868 | 2869 | factor6 2870 | 1 2871 | 2872 | 2873 | label7 2874 | 2875 | 2876 | 2877 | unit7 2878 | 2879 | 2880 | 2881 | color7 2882 | ("black", "black") 2883 | 2884 | 2885 | factor7 2886 | 1 2887 | 2888 | 2889 | label8 2890 | 2891 | 2892 | 2893 | unit8 2894 | 2895 | 2896 | 2897 | color8 2898 | ("black", "black") 2899 | 2900 | 2901 | factor8 2902 | 1 2903 | 2904 | 2905 | label9 2906 | 2907 | 2908 | 2909 | unit9 2910 | 2911 | 2912 | 2913 | color9 2914 | ("black", "black") 2915 | 2916 | 2917 | factor9 2918 | 1 2919 | 2920 | 2921 | label10 2922 | 2923 | 2924 | 2925 | unit10 2926 | 2927 | 2928 | 2929 | color10 2930 | ("black", "black") 2931 | 2932 | 2933 | factor10 2934 | 1 2935 | 2936 | 2937 | alias 2938 | 2939 | 2940 | 2941 | affinity 2942 | 2943 | 2944 | 2945 | _coordinate 2946 | (848, 27) 2947 | 2948 | 2949 | _rotation 2950 | 0 2951 | 2952 | 2953 | 2954 | digital_clock_recovery_mm_xx 2955 | 2956 | id 2957 | digital_clock_recovery_mm_xx_0 2958 | 2959 | 2960 | _enabled 2961 | True 2962 | 2963 | 2964 | type 2965 | float 2966 | 2967 | 2968 | omega 2969 | samp_per_sym*(1+0.0) 2970 | 2971 | 2972 | gain_omega 2973 | 0.25*0.175*0.175 2974 | 2975 | 2976 | mu 2977 | 0.5 2978 | 2979 | 2980 | gain_mu 2981 | 0.175 2982 | 2983 | 2984 | omega_relative_limit 2985 | 0.005 2986 | 2987 | 2988 | alias 2989 | 2990 | 2991 | 2992 | affinity 2993 | 2994 | 2995 | 2996 | minoutbuf 2997 | 0 2998 | 2999 | 3000 | maxoutbuf 3001 | 0 3002 | 3003 | 3004 | _coordinate 3005 | (864, 131) 3006 | 3007 | 3008 | _rotation 3009 | 0 3010 | 3011 | 3012 | 3013 | variable_qtgui_chooser 3014 | 3015 | id 3016 | version_chooser 3017 | 3018 | 3019 | _enabled 3020 | True 3021 | 3022 | 3023 | label 3024 | Oregon Scientific Version 3025 | 3026 | 3027 | type 3028 | raw 3029 | 3030 | 3031 | num_opts 3032 | 0 3033 | 3034 | 3035 | value 3036 | data_rate_V2 3037 | 3038 | 3039 | options 3040 | [data_rate_V1, data_rate_V2] 3041 | 3042 | 3043 | labels 3044 | ["V1","V2"] 3045 | 3046 | 3047 | option0 3048 | 0 3049 | 3050 | 3051 | label0 3052 | 3053 | 3054 | 3055 | option1 3056 | 1 3057 | 3058 | 3059 | label1 3060 | 3061 | 3062 | 3063 | option2 3064 | 2 3065 | 3066 | 3067 | label2 3068 | 3069 | 3070 | 3071 | option3 3072 | 3 3073 | 3074 | 3075 | label3 3076 | 3077 | 3078 | 3079 | option4 3080 | 4 3081 | 3082 | 3083 | label4 3084 | 3085 | 3086 | 3087 | widget 3088 | combo_box 3089 | 3090 | 3091 | orient 3092 | Qt.QVBoxLayout 3093 | 3094 | 3095 | gui_hint 3096 | tab@2:0,0 3097 | 3098 | 3099 | alias 3100 | 3101 | 3102 | 3103 | _coordinate 3104 | (1104, 11) 3105 | 3106 | 3107 | _rotation 3108 | 0 3109 | 3110 | 3111 | 3112 | qtgui_tab_widget 3113 | 3114 | id 3115 | tab 3116 | 3117 | 3118 | _enabled 3119 | True 3120 | 3121 | 3122 | num_tabs 3123 | 3 3124 | 3125 | 3126 | label0 3127 | Frequency 3128 | 3129 | 3130 | label1 3131 | Signal 3132 | 3133 | 3134 | label2 3135 | Datarate 3136 | 3137 | 3138 | label3 3139 | Tab 3 3140 | 3141 | 3142 | label4 3143 | Tab 4 3144 | 3145 | 3146 | label5 3147 | Tab 5 3148 | 3149 | 3150 | label6 3151 | Tab 6 3152 | 3153 | 3154 | label7 3155 | Tab 7 3156 | 3157 | 3158 | label8 3159 | Tab 8 3160 | 3161 | 3162 | label9 3163 | Tab 9 3164 | 3165 | 3166 | label10 3167 | Tab 10 3168 | 3169 | 3170 | label11 3171 | Tab 11 3172 | 3173 | 3174 | label12 3175 | Tab 12 3176 | 3177 | 3178 | label13 3179 | Tab 13 3180 | 3181 | 3182 | label14 3183 | Tab 14 3184 | 3185 | 3186 | label15 3187 | Tab 15 3188 | 3189 | 3190 | label16 3191 | Tab 16 3192 | 3193 | 3194 | label17 3195 | Tab 17 3196 | 3197 | 3198 | label18 3199 | Tab 18 3200 | 3201 | 3202 | label19 3203 | Tab 19 3204 | 3205 | 3206 | gui_hint 3207 | 3208 | 3209 | 3210 | alias 3211 | 3212 | 3213 | 3214 | _coordinate 3215 | (8, 75) 3216 | 3217 | 3218 | _rotation 3219 | 0 3220 | 3221 | 3222 | 3223 | variable_qtgui_entry 3224 | 3225 | id 3226 | data_rate 3227 | 3228 | 3229 | _enabled 3230 | True 3231 | 3232 | 3233 | label 3234 | Datarate 3235 | 3236 | 3237 | type 3238 | int 3239 | 3240 | 3241 | value 3242 | version_chooser 3243 | 3244 | 3245 | gui_hint 3246 | tab@2:1,0 3247 | 3248 | 3249 | alias 3250 | 3251 | 3252 | 3253 | _coordinate 3254 | (1112, 323) 3255 | 3256 | 3257 | _rotation 3258 | 0 3259 | 3260 | 3261 | 3262 | variable_qtgui_range 3263 | 3264 | id 3265 | gain 3266 | 3267 | 3268 | _enabled 3269 | True 3270 | 3271 | 3272 | label 3273 | Decoder_Gain 3274 | 3275 | 3276 | value 3277 | 390 3278 | 3279 | 3280 | start 3281 | 0 3282 | 3283 | 3284 | stop 3285 | 1000 3286 | 3287 | 3288 | step 3289 | 1 3290 | 3291 | 3292 | widget 3293 | counter_slider 3294 | 3295 | 3296 | orient 3297 | Qt.Horizontal 3298 | 3299 | 3300 | min_len 3301 | 1000 3302 | 3303 | 3304 | gui_hint 3305 | tab@1 3306 | 3307 | 3308 | alias 3309 | 3310 | 3311 | 3312 | _coordinate 3313 | (648, 235) 3314 | 3315 | 3316 | _rotation 3317 | 0 3318 | 3319 | 3320 | 3321 | blocks_wavfile_sink 3322 | 3323 | id 3324 | blocks_wavfile_sink_0 3325 | 3326 | 3327 | _enabled 3328 | False 3329 | 3330 | 3331 | file 3332 | /home/bjk/gnuradio/OregonScientific/oregonV2.wav 3333 | 3334 | 3335 | nchan 3336 | 1 3337 | 3338 | 3339 | samp_rate 3340 | audio_rate 3341 | 3342 | 3343 | bits_per_sample 3344 | 8 3345 | 3346 | 3347 | alias 3348 | 3349 | 3350 | 3351 | affinity 3352 | 3353 | 3354 | 3355 | _coordinate 3356 | (968, 555) 3357 | 3358 | 3359 | _rotation 3360 | 0 3361 | 3362 | 3363 | 3364 | digital_binary_slicer_fb_1 3365 | blocks_file_sink_0 3366 | 0 3367 | 0 3368 | 3369 | 3370 | band_pass_filter_0 3371 | analog_am_demod_cf_0 3372 | 0 3373 | 0 3374 | 3375 | 3376 | analog_am_demod_cf_0 3377 | blocks_add_const_vxx_0 3378 | 0 3379 | 0 3380 | 3381 | 3382 | digital_clock_recovery_mm_xx_0 3383 | digital_binary_slicer_fb_1 3384 | 0 3385 | 0 3386 | 3387 | 3388 | osmosdr_source_0 3389 | analog_agc2_xx_0 3390 | 0 3391 | 0 3392 | 3393 | 3394 | analog_agc2_xx_0 3395 | freq_xlating_fir_filter_xxx_0 3396 | 0 3397 | 0 3398 | 3399 | 3400 | freq_xlating_fir_filter_xxx_0 3401 | band_pass_filter_0 3402 | 0 3403 | 0 3404 | 3405 | 3406 | blocks_add_const_vxx_0 3407 | digital_clock_recovery_mm_xx_0 3408 | 0 3409 | 0 3410 | 3411 | 3412 | blocks_add_const_vxx_0 3413 | qtgui_number_sink_0 3414 | 0 3415 | 0 3416 | 3417 | 3418 | blocks_add_const_vxx_0 3419 | blocks_wavfile_sink_0 3420 | 0 3421 | 0 3422 | 3423 | 3424 | band_pass_filter_0 3425 | qtgui_sink_x_0 3426 | 0 3427 | 0 3428 | 3429 | 3430 | osmosdr_source_0 3431 | qtgui_freq_sink_x_0 3432 | 0 3433 | 0 3434 | 3435 | 3436 | osmosdr_source_0 3437 | qtgui_waterfall_sink_x_0 3438 | 0 3439 | 0 3440 | 3441 | 3442 | -------------------------------------------------------------------------------- /samples/binaryslicer.grc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Fri Jan 2 19:29:09 2015 5 | 6 | options 7 | 8 | id 9 | top_block 10 | 11 | 12 | _enabled 13 | True 14 | 15 | 16 | title 17 | 18 | 19 | 20 | author 21 | 22 | 23 | 24 | description 25 | 26 | 27 | 28 | window_size 29 | 1280, 1024 30 | 31 | 32 | generate_options 33 | wx_gui 34 | 35 | 36 | category 37 | Custom 38 | 39 | 40 | run_options 41 | prompt 42 | 43 | 44 | run 45 | True 46 | 47 | 48 | max_nouts 49 | 0 50 | 51 | 52 | realtime_scheduling 53 | 54 | 55 | 56 | alias 57 | 58 | 59 | 60 | _coordinate 61 | (10, 10) 62 | 63 | 64 | _rotation 65 | 0 66 | 67 | 68 | 69 | variable 70 | 71 | id 72 | samp_rate 73 | 74 | 75 | _enabled 76 | True 77 | 78 | 79 | value 80 | 48000 81 | 82 | 83 | alias 84 | 85 | 86 | 87 | _coordinate 88 | (10, 170) 89 | 90 | 91 | _rotation 92 | 0 93 | 94 | 95 | 96 | variable 97 | 98 | id 99 | samp_per_sym 100 | 101 | 102 | _enabled 103 | True 104 | 105 | 106 | value 107 | samp_rate/data_rate 108 | 109 | 110 | alias 111 | 112 | 113 | 114 | _coordinate 115 | (280, 51) 116 | 117 | 118 | _rotation 119 | 0 120 | 121 | 122 | 123 | variable 124 | 125 | id 126 | data_rate 127 | 128 | 129 | _enabled 130 | True 131 | 132 | 133 | value 134 | 1020 135 | 136 | 137 | alias 138 | 139 | 140 | 141 | _coordinate 142 | (400, 51) 143 | 144 | 145 | _rotation 146 | 0 147 | 148 | 149 | 150 | blocks_throttle 151 | 152 | id 153 | blocks_throttle_0 154 | 155 | 156 | _enabled 157 | False 158 | 159 | 160 | type 161 | float 162 | 163 | 164 | samples_per_second 165 | samp_rate 166 | 167 | 168 | vlen 169 | 1 170 | 171 | 172 | ignoretag 173 | True 174 | 175 | 176 | alias 177 | 178 | 179 | 180 | affinity 181 | 182 | 183 | 184 | minoutbuf 185 | 0 186 | 187 | 188 | maxoutbuf 189 | 0 190 | 191 | 192 | _coordinate 193 | (192, 179) 194 | 195 | 196 | _rotation 197 | 0 198 | 199 | 200 | 201 | digital_binary_slicer_fb 202 | 203 | id 204 | digital_binary_slicer_fb_1 205 | 206 | 207 | _enabled 208 | True 209 | 210 | 211 | alias 212 | 213 | 214 | 215 | affinity 216 | 217 | 218 | 219 | minoutbuf 220 | 0 221 | 222 | 223 | maxoutbuf 224 | 0 225 | 226 | 227 | _coordinate 228 | (912, 80) 229 | 230 | 231 | _rotation 232 | 0 233 | 234 | 235 | 236 | wxgui_scopesink2 237 | 238 | id 239 | wxgui_scopesink2_0 240 | 241 | 242 | _enabled 243 | True 244 | 245 | 246 | type 247 | float 248 | 249 | 250 | title 251 | Scope Plot 252 | 253 | 254 | samp_rate 255 | samp_rate 256 | 257 | 258 | v_scale 259 | 0.2 260 | 261 | 262 | v_offset 263 | 0 264 | 265 | 266 | t_scale 267 | 0.002 268 | 269 | 270 | ac_couple 271 | False 272 | 273 | 274 | xy_mode 275 | False 276 | 277 | 278 | num_inputs 279 | 1 280 | 281 | 282 | win_size 283 | 284 | 285 | 286 | grid_pos 287 | 288 | 289 | 290 | notebook 291 | 292 | 293 | 294 | trig_mode 295 | wxgui.TRIG_MODE_AUTO 296 | 297 | 298 | y_axis_label 299 | Counts 300 | 301 | 302 | alias 303 | 304 | 305 | 306 | affinity 307 | 308 | 309 | 310 | _coordinate 311 | (1040, 331) 312 | 313 | 314 | _rotation 315 | 0 316 | 317 | 318 | 319 | digital_clock_recovery_mm_xx 320 | 321 | id 322 | digital_clock_recovery_mm_xx_0 323 | 324 | 325 | _enabled 326 | True 327 | 328 | 329 | type 330 | float 331 | 332 | 333 | omega 334 | samp_per_sym*(1+0.0) 335 | 336 | 337 | gain_omega 338 | 0.25*0.175*0.175 339 | 340 | 341 | mu 342 | 0.5 343 | 344 | 345 | gain_mu 346 | 0.175 347 | 348 | 349 | omega_relative_limit 350 | 0.005 351 | 352 | 353 | alias 354 | 355 | 356 | 357 | affinity 358 | 359 | 360 | 361 | minoutbuf 362 | 0 363 | 364 | 365 | maxoutbuf 366 | 0 367 | 368 | 369 | _coordinate 370 | (584, 211) 371 | 372 | 373 | _rotation 374 | 0 375 | 376 | 377 | 378 | blocks_file_source 379 | 380 | id 381 | blocks_file_source_0 382 | 383 | 384 | _enabled 385 | False 386 | 387 | 388 | file 389 | /home/bjk/test.raw 390 | 391 | 392 | type 393 | float 394 | 395 | 396 | repeat 397 | False 398 | 399 | 400 | vlen 401 | 1 402 | 403 | 404 | alias 405 | 406 | 407 | 408 | affinity 409 | 410 | 411 | 412 | minoutbuf 413 | 0 414 | 415 | 416 | maxoutbuf 417 | 0 418 | 419 | 420 | _coordinate 421 | (8, 291) 422 | 423 | 424 | _rotation 425 | 0 426 | 427 | 428 | 429 | blocks_wavfile_source 430 | 431 | id 432 | blocks_wavfile_source_0 433 | 434 | 435 | _enabled 436 | True 437 | 438 | 439 | file 440 | /home/bjk/gnuradio/OregonScientific/oregonV2.wav 441 | 442 | 443 | repeat 444 | False 445 | 446 | 447 | nchan 448 | 1 449 | 450 | 451 | alias 452 | 453 | 454 | 455 | affinity 456 | 457 | 458 | 459 | minoutbuf 460 | 0 461 | 462 | 463 | maxoutbuf 464 | 0 465 | 466 | 467 | _coordinate 468 | (16, 379) 469 | 470 | 471 | _rotation 472 | 0 473 | 474 | 475 | 476 | blocks_file_sink 477 | 478 | id 479 | blocks_file_sink_0 480 | 481 | 482 | _enabled 483 | True 484 | 485 | 486 | file 487 | /home/bjk/gnuradio/OregonScientific/oregonV2 488 | 489 | 490 | type 491 | byte 492 | 493 | 494 | vlen 495 | 1 496 | 497 | 498 | unbuffered 499 | False 500 | 501 | 502 | append 503 | False 504 | 505 | 506 | alias 507 | 508 | 509 | 510 | affinity 511 | 512 | 513 | 514 | _coordinate 515 | (1048, 187) 516 | 517 | 518 | _rotation 519 | 0 520 | 521 | 522 | 523 | digital_binary_slicer_fb_1 524 | blocks_file_sink_0 525 | 0 526 | 0 527 | 528 | 529 | blocks_file_source_0 530 | blocks_throttle_0 531 | 0 532 | 0 533 | 534 | 535 | digital_clock_recovery_mm_xx_0 536 | digital_binary_slicer_fb_1 537 | 0 538 | 0 539 | 540 | 541 | digital_clock_recovery_mm_xx_0 542 | wxgui_scopesink2_0 543 | 0 544 | 0 545 | 546 | 547 | blocks_wavfile_source_0 548 | digital_clock_recovery_mm_xx_0 549 | 0 550 | 0 551 | 552 | 553 | -------------------------------------------------------------------------------- /samples/oregonV1: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /samples/oregonV1.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bkerler/OregonDecoder/b6edc29b9711730b2d665a11a87e688339185477/samples/oregonV1.wav -------------------------------------------------------------------------------- /samples/oregonV2: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /samples/oregonV2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bkerler/OregonDecoder/b6edc29b9711730b2d665a11a87e688339185477/samples/oregonV2.wav -------------------------------------------------------------------------------- /samples/oregonscientific_test.1sc: -------------------------------------------------------------------------------- 1 | //-------------------------------------- 2 | //--- 010 Editor v6.0 Script File 3 | // 4 | // File: 5 | // Author: 6 | // Revision: 7 | // Purpose: 8 | //-------------------------------------- 9 | 10 | int64 opos=GetCursorPos(); 11 | int64 pos=0; 12 | int i=0,m=0; 13 | unsigned int val=0; 14 | unsigned char tmp=0; 15 | Printf("\n"); 16 | int bitcount=0; 17 | 18 | string bitstr=""; 19 | string bytestr=""; 20 | string tmpstr=""; 21 | 22 | for (m=0;m<0x30;m++) 23 | { 24 | val=0; 25 | bitcount=0; 26 | for (i=0;i<8;i+=2) 27 | { 28 | pos=opos+(m*8)+i+1; 29 | tmp=ReadByte(pos); 30 | SPrintf(tmpstr,"%d",tmp); 31 | bitstr=bitstr+tmpstr; 32 | val+=tmp<= StrictVersion("4.5.0")): 448 | Qt.QApplication.setGraphicsSystem(gr.prefs().get_string('qtgui','style','raster')) 449 | qapp = Qt.QApplication(sys.argv) 450 | tb = top_block() 451 | tb.start() 452 | tb.show() 453 | def quitting(): 454 | tb.stop() 455 | tb.wait() 456 | qapp.connect(qapp, Qt.SIGNAL("aboutToQuit()"), quitting) 457 | qapp.exec_() 458 | tb = None #to clean up Qt widgets 459 | --------------------------------------------------------------------------------