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/CONTRIBUTING.md at main · openDECTcell/opendectcell

Expand file tree

/

CONTRIBUTING.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
143 lines (108 loc) · 7.43 KB
/

CONTRIBUTING.md

Copy path

File metadata and controls

143 lines (108 loc) · 7.43 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Contributing to openDECTcell

Thank you for helping. The most useful contributions right now are reports from real hardware: which handsets and boxes work, and which don't.

Reporting a handset or a box

Open an issue with:

  • the box (model, OpenWrt version) and the openDECTcell version;
  • the handset (maker, model, firmware version if the handset shows it);
  • what you tried: registering, calls in and out, HD voice, caller ID, calls between handsets;
  • what happened, and the log of that moment: Status > DECT, tab Log (or logread -e dect on the box).

Before you post a log, remove your personal data: phone numbers, SIP user names and server addresses, and the handset's IPEI if you prefer to keep it private.

A handset that needs special treatment can get a profile file; see docs/handset-profiles.md. A tested profile is a welcome pull request.

Never attach firmware images, configuration backups or captures that contain real identities (IPEI, IPUI, keys, PINs, phone numbers, SIP credentials) to an issue; mask them, or describe what you saw.

Reporting a bug

The same information as above, plus the steps that lead to the problem. For the web interface, the browser's console output helps.

Working on an issue: claim, progress, hand-over

Several people and AI agents work on openDECTcell. Who works on what is settled in the GitHub issues, so that nobody does the same work twice and anybody can pick up where someone else stopped. The same rules apply to people and agents.

  1. One issue per piece of work. Search the open issues first; if there is none, open one that says what and why.
  2. Claim it before you start, with a comment: Claiming this: <one line on what you will do>. An AI agent writes Claiming this as an AI agent working for @<person>: .... A maintainer then assigns the issue and sets the label in progress (or you do, if you can).
  3. Respect a claim. If an issue is claimed and the claimant posted in the last 14 days, do not start on it; ask in the issue. A claim without an update for 14 days lapses: say so in a comment and claim it yourself.
  4. The hand-over is in the issue. At the end of every working session post a comment: what was done (commits), what was tested and how (on the PC, or on which box with which result), what is still open, and what the next person should do first. Nothing another contributor needs may live only in a private note or a chat.
  5. Finish with a pull request that says Fixes #N, one issue per pull request. If you stop without finishing, release the claim in a comment that gives the state.
  6. Ask first for big or risky work. A change to shared code (libopendectcell, dect-stubd, the init script, packaging; AGENTS.md §1b), to the cell protocol, or anything that makes the radio transmit waits for a maintainer's OK in the issue before work starts.

Working on the code

Layout

ARCHITECTURE.md explains how the pieces fit together, docs/developing.md is the working guide, and each directory below has a README that says what each of its files does.

Path What is there
src/libopendectcell/ The DECT protocol library: framing, link layer, registration and authentication, call control, G.722, diagnostics, profiles (README)
src/stubd/ dect-stubd, the daemon that runs the base (README)
src/cell/ dect-cell, the box's link to a controller (README)
src/fwload/ dect-fwload, the chip firmware loader (README)
src/baresip/ The baresip module that connects calls to SIP (README)
src/tools/ Development tools for captures (dect-pcmcap, dect-maildump, …)
kernel/ The kernel drivers, one per SoC family (GPL-2.0-only) (README)
openwrt/ The OpenWrt feed, laid out as upstream: net/opendectcell (packages, init script, configuration), applications/luci-app-opendectcell; see openwrt/README.md
boards/ Board profiles, one per FRITZ!Box model (README)
profiles/ Handset profiles (README)
tests/ Unit tests, run on the PC (README)
tools/ PC tools: firmware extraction, release build, analysis helpers (tools/README.md)
docs/ Documentation (docs/README.md); dated logs of bench sessions and investigations are in docs/journals/

Build and test on the PC

make check     # build and run every unit test (needs a C compiler and Python 3)
make           # also build the programs for the PC

The unit tests need no hardware. They must pass before every commit.

Build for the box

With the OpenWrt SDK for the target unpacked somewhere:

make cross SDK=/path/to/openwrt-sdk-25.12.6-ipq40xx-generic_…

This puts ARM builds of dect-stubd, dect-fwload and the capture tools in build/*.arm (7520/7530 only). Or build the packages as the release does:

tools/release/build.sh ipq40xx/generic out

Packages built without the project's signing key install only with apk add --allow-untrusted.

Style

  • C11 for userspace, Linux kernel style for kernel/. The code must build without warnings (-Werror) for little-endian ARM, big-endian MIPS and x86-64.
  • Write code that reads like the code around it.
  • New files carry an SPDX header: GPL-2.0-or-later, except under kernel/ (GPL-2.0-only).
  • One logical change per commit, with a message that says why.

Licence, sign-off and AI assistance

  • Licence. By contributing you license your change under the licence of the file you change: GPL-2.0-or-later for the programs, libraries and tools, GPL-2.0-only for kernel/ (LICENSES/). Every new source file starts with an SPDX-License-Identifier line.
  • Sign-off. Every commit carries a Signed-off-by: Your Name <[email protected]> line (git commit -s): your statement that you wrote the change or have the right to submit it under that licence (the Developer Certificate of Origin).
  • AI assistance. This project is largely written with AI coding agents under the rules in AGENTS.md. If you used an AI tool for a contribution, say so in the pull request, and check the output yourself: you remain responsible for it, including for any text it may have copied from elsewhere.

The clean-room rules

openDECTcell must stay free of AVM's code. These rules are not negotiable:

  • Never contribute AVM code, analysed or analysed code, AVM firmware, or anything copied from AVM files. That includes listings in issues and pull requests.
  • Facts in your own words, with their source: register values, message layouts, timing. Say how you know (seen on hardware, read in a standard, …).
  • Anything on the air comes from the ETSI standards, which are free (docs/specs/README.md).

The full rules, which also bind the AI agents working on the project, are in AGENTS.md, section 2.

Safety on the air

A DECT base transmits. Switch the radio off (stop the service: /etc/init.d/opendectcell stop) when you are not testing, and never leave an experimental build transmitting unattended.

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.