Skip to content

docs: restructure README into README + TUTORIAL.md + docs/PICS.md - #5

Merged
sws-chipkin merged 1 commit into
mainfrom
docs/readme-tutorial-pics-restructure
Sep 16, 2026
Merged

sws-chipkin merged 1 commit into
mainfrom
docs/readme-tutorial-pics-restructure

Conversation

@sws-chipkin

Copy link
Copy Markdown
Collaborator

Restructures this repo's documentation to match the shared series shape (established in BACnetProfileExample-B-SS-CPP): README.md cut down to what this example is and how to build/run/verify it, a new TUTORIAL.md for extending and reviewing the device, and a new docs/PICS.md (ANSI/ASHRAE 135 Annex A conformance statement) generated from docs/objects.json. The build now documents the adapter's default SOURCE mode (a single cmake -B build -S . + cmake --build build --config Release, no prebuilt library, no series-root script) so a customer who downloads only this repository can build it.

Verified with a real build-and-run cycle; the README's expected-output block reflects actual captured output.

🤖 Generated with Claude Code

…to SOURCE mode

Cut README.md down to this example only (removed series-framing, the generic
profile explanation, "What the profile requires" prose, "Before you ship",
"Get the code", "Link mode", "Troubleshooting", "Extending the example",
"Objects and properties", and the CC0 paragraph); added TUTORIAL.md (extending
the example, what each object type needs served, who serves what, reviewing
your device, and troubleshooting - including DeviceCommunicationControl and
the AA-AS-B gap); added docs/PICS.md (ANSI/ASHRAE 135 Annex A shape), adding a
Device object to docs/objects.json as the generator's first entry, with zero
warning rows.

Switched the documented build from a prebuilt STATIC library
(tools/build-stack-static.sh) to the adapter's default SOURCE mode, matching
every other repository in the series: CMakeLists.txt's header comment,
AGENTS.md, and .github/workflows/release.yml (link-mode assertion, metrics
JSON, matrix lib: entries, packaged artifact list) updated to match. Verified
with a real cmake -B build-verify -S . / cmake --build build-verify --config
Release --parallel build (CAS_BACNET_STACK_LINK:STRING=SOURCE confirmed) and a
run on --port 47822 reaching "ready" with output matching README's Expected
output block.

Absorbed the README's "Before you ship" table into main.cpp comments next to
the CHANGE ALL OF THIS BEFORE YOU SHIP block, including the DEVICE_NAME
uniqueness warning and the DCC_PASSWORD note.

Re-synced the series profile table (tools/sync-profile-table.sh
BACnetProfileExample-B-AS-CPP).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@sws-chipkin
sws-chipkin merged commit 2c62ffb into main Sep 16, 2026
3 checks passed
@sws-chipkin
sws-chipkin deleted the docs/readme-tutorial-pics-restructure branch September 16, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant