Module: PWN::SDR::Decoder::Pager
- Defined in:
- lib/pwn/sdr/decoder/pager.rb
Overview
Pure-Ruby combined pager decoder for the mixed-protocol pager_all
band plan. Feeds every incoming 48 kHz audio chunk to BOTH the
native POCSAG and FLEX demodulators concurrently; whichever locks
emits messages. No multimon-ng, no sox.
Defined Under Namespace
Classes: Demod
Class Method Summary collapse
-
.authors ⇒ Object
- Author(s)
0day Inc.
-
.decode(opts = {}) ⇒ Object
- Supported Method Parameters
PWN::SDR::Decoder::Pager.decode( freq_obj: 'required - freq_obj returned from PWN::SDR::GQRX.init_freq' ).
-
.help ⇒ Object
Display Usage for this Module.
Class Method Details
.authors ⇒ Object
- Author(s)
0day Inc. support@0dayinc.com
40 41 42 |
# File 'lib/pwn/sdr/decoder/pager.rb', line 40 public_class_method def self. "AUTHOR(S):\n 0day Inc. <support@0dayinc.com>\n" end |
.decode(opts = {}) ⇒ Object
- Supported Method Parameters
PWN::SDR::Decoder::Pager.decode( freq_obj: 'required - freq_obj returned from PWN::SDR::GQRX.init_freq' )
29 30 31 32 33 34 35 36 |
# File 'lib/pwn/sdr/decoder/pager.rb', line 29 public_class_method def self.decode(opts = {}) freq_obj = opts[:freq_obj] PWN::SDR::Decoder::Base.run_native( freq_obj: freq_obj, protocol: 'PAGER', demod: Demod.new ) end |
.help ⇒ Object
Display Usage for this Module
46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/pwn/sdr/decoder/pager.rb', line 46 public_class_method def self.help puts "USAGE (ruby-native, no external binaries): #{self}.decode( freq_obj: 'required - freq_obj returned from PWN::SDR::GQRX.init_freq' ) NOTE: Runs the native POCSAG (512/1200/2400) and FLEX (1600) demodulators in parallel on the same GQRX NBFM audio tap. #{self}.authors " end |