GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — opendectcell/tools/README.md at main · openDECTcell/opendectcell

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
71 lines (55 loc) · 4.66 KB
/

README.md

Copy path

File metadata and controls

71 lines (55 loc) · 4.66 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Tools

Programs that run on a PC, except gpio-activity.c, which runs on the box (see the end). Python tools need only Python 3's standard library; run them with python3 -I.

For users

Tool What it does
dect-fw-extract.py Takes the DECT chip firmware out of an official FRITZ!OS image, checks it against the builds openDECTcell knows, and prints the commands that copy it to the box. See docs/install.md, step 3
sqfs_be.py SquashFS reader used by dect-fw-extract.py

For releases

Tool What it does
release/build.sh Builds the OpenWrt packages for one target with the official SDK, as the GitHub workflow does
release/feed-hash.sh After a release tag is pushed: writes the tag's source archive hash into the feed's PKG_HASH (openwrt/README.md)
release/notes.md The standard text of a release; a release can have its own notes-<version>.md
github/seed_issues.py Creates GitHub milestones and issues from ROADMAP.md

For the cell mode

Tool What it does
cell-testpeer.py A stand-in controller for testing a cell (dect-cell, dect-stubd -K): its own CA, enrolment, mutual TLS 1.3, HELLO and heartbeats, optional harmless MAIL_DOWNs. Needs the cryptography package (the only tool here that is not standard library only)
carddav-testserver.py A small CardDAV server for testing opendectcell-carddav: two address books in memory, discovery (well-known, principal, home set), REPORT multiget (--no-report refuses it), HTTPS with its own CA (made with openssl), Basic auth, PROPFIND/GET/PUT/DELETE with ETags, seed cards with the awkward cases; GET /_dump shows what the box wrote; --no-chunked reads a chunked request body as empty, as WSGI servers do

For development and analysis

These helped bring up the chip and the calls. They read captures and logs that dect-stubd writes during experiments (-w FILE, -a memdump, …).

-a memdump=ADDR[:LEN] reads chip peripheral space too (0xff....), not only RAM, on the 08.25 STUB (measured 2026-11-07 on a 7520: the reply echoes the address and live registers change between reads). A zero is no evidence: addresses that are certainly unused also read 0000, so check a read against a register that changes before you trust a zero.

Tool What it does
voice-decode.py Works out how a captured voice slot is encoded
dect_g722_extract.py Extracts a call's G.722 stream from a capture
g722-crosscheck.sh Checks our G.722 codec against ffmpeg's
make-lane-g722.py, make-lane-probe.py, make-lane-matrix.py Build test audio for dect-stubd -a playraw=
decode-beacon.py, dect_qh7.py Decode the base's broadcast capabilities from a memory dump
dect_memdump.py, dect_memcmp.py Reassemble and compare chip memory snapshots
avm_nand_sqfs.py Reads the NAND filesystem image of older FRITZ!Boxes (7362 SL, 7412); dect-fw-extract.py uses it for those images
elfrel.py Lists pointer tables in relocatable ELF files

More development tools are in src/tools/: dect-pcmcap (PCM bring-up and capture; make cross builds it for the box, make for reading captures on the PC with -S FILE) and dect-maildump (on the PC: the mails in a dect-stubd -w capture; make).

Two on-box tools from the chip bring-up have no build rule; build them with the SDK's compiler if you need them:

Tool What it does
gpio-activity.c Checks through sysfs GPIO whether a fast signal (such as the PCM clock) is toggling
src/tools/dect-sla.c One-shot capture of the PCM pins through the kernel module (DECT_IOC_CAPTURE)

For the bench

Tool What it does
syslog-sink.py Collects a box's remote syslog (UDP) into a file named by the start time, flushed per line, so the log outlives a hang
bench-stop-race.sh Starts the service on a box, stops it after N seconds and checks the box still answers (journals/bench-later.md, U8f)
hang-campaign/ Long start/stop campaigns on a 7412 that survive a hang by power-cycling the box (7412-stop-hang.md)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.