# Pwn Sdr Decoder Pocsag

> Drive PWN::SDR::Decoder::POCSAG from pwn_eval.

- Skill: `0dayinc/pwn-sdr-decoder-pocsag` (Agent Skill)
- Install (CLI): `npx get-skill add 0dayinc/pwn-sdr-decoder-pocsag`
- Raw SKILL.md: https://api.skillmd.com/api/skills/0dayinc/pwn-sdr-decoder-pocsag/raw
- Safety review: pending (external: skill-scanner PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: 0dayInc (https://skillmd.com/u/0dayinc)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/0dayinc/pwn-sdr-decoder-pocsag

---


# PWN::SDR::Decoder::POCSAG

Pure-Ruby POCSAG (CCIR Radiopaging Code No. 1) decoder. GQRX supplies NBFM-discriminator audio on its 48 kHz UDP tap; for a 2-FSK pager channel that is already an NRZ baseband whose sign encodes the bit. This module NRZ-slices at 512/1200/2400 baud, locks onto the 32-bit Frame Sync Codeword (0x7CD215D8), then walks each 8-frame batch of BCH(31,21)+parity codewords, extracting address (RIC/capcode + function bits) and message codewords (numeric BCD or 7-bit ASCII). No `multimon-ng`, no `sox`.

## When to use

Call `PWN::SDR::Decoder::POCSAG` from `pwn_eval` when the task needs this module.
Do not reimplement it in shell.

## Methodologies

Generated from `pwn/sdr/decoder/pocsag.rb`. Prefer the public class methods below.
Class methods take `(opts = {})` and read `opts`.

## How to call

```ruby
PWN::SDR::Decoder::POCSAG.help
PWN::SDR::Decoder::POCSAG.correct_word(opts)
```

## Public methods

- `correct_word`
- `valid_word`
- `decode_bits`
- `assemble`
- `numeric_decode`
- `alpha_decode`
- `detect`
- `decode`
- `authors`
- `help`
- `valid_word?`

## Source

`pwn/sdr/decoder/pocsag.rb`

## Verification

`PWN::SDR::Decoder::POCSAG.respond_to?(:correct_word)` after the
module is loaded. Read the source for parameter names.

