diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 588a03d..f3bbbcb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,5 @@ # Build the B-ASC example and publish a GitHub Release (binaries + metrics.json) when a -# vX.Y.Z tag is pushed. PRs and pushes to main run the same build + smoke test without +# vX.Y.Z tag is pushed. PRs run the same build + smoke test without # publishing. The build is exactly what README.md tells a customer to run: plain CMake in # the adapter's default SOURCE mode, which compiles the stack into the executable. # @@ -10,7 +10,6 @@ name: build-and-release on: pull_request: push: - branches: [main] tags: ["v*.*.*"] workflow_dispatch: diff --git a/CHANGELOG.md b/CHANGELOG.md index cd75fd4..6198bd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -176,8 +176,8 @@ password with `password-failure`. v1.3.0 against a v1.5.0 tree — in a project whose own docs teach "the printed versions are how you detect drift"); the BIBB `-A`/`-B` suffix convention, `Protocol_Revision`, BACnet/SC and "BACnet internetwork" are now defined at - first use; the Verify section names free clients (YABE, Wireshark) alongside - the commercial one; and two new sections cover what in `common/` is demo-only + first use; the Verify section is clearer about what to check; and two new + sections cover what in `common/` is demo-only versus production-worthy, and the `BACnetStack_Tick()` cadence and single-threading contract. - **Stack pin moved to `6.x-TestTool` @ `b681f58d` (2026-07-31).** 38 commits diff --git a/README.md b/README.md index 79ceeb2..bd49d85 100644 --- a/README.md +++ b/README.md @@ -302,109 +302,95 @@ Use a BACnet client such as the For a property-by-property review against the conformance statement, see [TUTORIAL.md](TUTORIAL.md). -## Footprint - -Release-build sizes and start-up timing from release -[v1.2.0](https://github.com/chipkin/BACnetProfileExample-B-ASC-CPP/releases/tag/v1.2.0) -(`metrics-windows.json` / `metrics-linux.json`): - - -| Platform | Binary | Size | Start-up to `ready` | Stack commit | -|---|---|---|---|---| -| Windows x64 (windows-2022) | `BACnetExampleBASC.exe` | 3,250,176 bytes (~3.1 MiB) | 190 ms | `abd4cee1` | -| Linux x64 (ubuntu-latest) | `BACnetExampleBASC` | 44,168 bytes (~43 KiB) | 110 ms | `abd4cee1` | - -v1.2.0 was published from a prebuilt STATIC-linked binary; the next release -refreshes these numbers from the SOURCE-mode build documented above. ## The BACnet profile example series -The CAS BACnet Stack supports every standardized device profile in ASHRAE 135-2024 Annex L, and there is one example repository per profile. Pick the profile your device claims, then the language you build in. +The CAS BACnet Stack supports every standardized device profile in ASHRAE 135-2024 Annex L, and there is one example repository per profile. Pick the profile your device claims, then the language you build in. "Ask" means the example hasn't been built yet for that language - [contact Chipkin](https://www.chipkin.com/contact/) if you need one. ### Controllers (Annex L.4) -| Profile | C++ | Node.js | -|---|---|---| -| **B-SS** Smart Sensor | [B-SS-CPP](https://github.com/chipkin/BACnetProfileExample-B-SS-CPP) | — | -| **B-SA** Smart Actuator | [B-SA-CPP](https://github.com/chipkin/BACnetProfileExample-B-SA-CPP) | — | -| **B-ASC** Application Specific Controller | [B-ASC-CPP](https://github.com/chipkin/BACnetProfileExample-B-ASC-CPP) | [B-ASC-Node](https://github.com/chipkin/BACnetProfileExample-B-ASC-Node) | -| **B-AAC** Advanced Application Controller | [B-AAC-CPP](https://github.com/chipkin/BACnetProfileExample-B-AAC-CPP) | — | -| **B-BC** Building Controller | [B-BC-CPP](https://github.com/chipkin/BACnetProfileExample-B-BC-CPP) | — | +| Profile | C++ | Node.js | C# | Rust | Python | +|---|---|---|---|---|---| +| **B-SS** Smart Sensor | [B-SS-CPP](https://github.com/chipkin/BACnetProfileExample-B-SS-CPP) | Ask | Ask | Ask | Ask | +| **B-SA** Smart Actuator | [B-SA-CPP](https://github.com/chipkin/BACnetProfileExample-B-SA-CPP) | Ask | Ask | Ask | Ask | +| **B-ASC** Application Specific Controller | [B-ASC-CPP](https://github.com/chipkin/BACnetProfileExample-B-ASC-CPP) | [B-ASC-Node](https://github.com/chipkin/BACnetProfileExample-B-ASC-Node) | Ask | Ask | Ask | +| **B-AAC** Advanced Application Controller | [B-AAC-CPP](https://github.com/chipkin/BACnetProfileExample-B-AAC-CPP) | Ask | Ask | Ask | Ask | +| **B-BC** Building Controller | [B-BC-CPP](https://github.com/chipkin/BACnetProfileExample-B-BC-CPP) | Ask | Ask | Ask | Ask | ### Life safety controllers (Annex L.5) -| Profile | C++ | Node.js | -|---|---|---| -| **B-LSC** Life Safety Controller | [B-LSC-CPP](https://github.com/chipkin/BACnetProfileExample-B-LSC-CPP) 🚧 | — | -| **B-ALSC** Advanced Life Safety Controller | [B-ALSC-CPP](https://github.com/chipkin/BACnetProfileExample-B-ALSC-CPP) | — | +| Profile | C++ | Node.js | C# | Rust | Python | +|---|---|---|---|---|---| +| **B-LSC** Life Safety Controller | [B-LSC-CPP](https://github.com/chipkin/BACnetProfileExample-B-LSC-CPP) 🚧 | Ask | Ask | Ask | Ask | +| **B-ALSC** Advanced Life Safety Controller | [B-ALSC-CPP](https://github.com/chipkin/BACnetProfileExample-B-ALSC-CPP) | Ask | Ask | Ask | Ask | ### Access control controllers (Annex L.6) -| Profile | C++ | Node.js | -|---|---|---| -| **B-ACC** Access Control Controller | [B-ACC-CPP](https://github.com/chipkin/BACnetProfileExample-B-ACC-CPP) | — | -| **B-AACC** Advanced Access Control Controller | [B-AACC-CPP](https://github.com/chipkin/BACnetProfileExample-B-AACC-CPP) | — | +| Profile | C++ | Node.js | C# | Rust | Python | +|---|---|---|---|---|---| +| **B-ACC** Access Control Controller | [B-ACC-CPP](https://github.com/chipkin/BACnetProfileExample-B-ACC-CPP) | Ask | Ask | Ask | Ask | +| **B-AACC** Advanced Access Control Controller | [B-AACC-CPP](https://github.com/chipkin/BACnetProfileExample-B-AACC-CPP) | Ask | Ask | Ask | Ask | ### Lighting controllers (Annex L.11) -| Profile | C++ | Node.js | -|---|---|---| -| **B-LD** Lighting Device | [B-LD-CPP](https://github.com/chipkin/BACnetProfileExample-B-LD-CPP) | — | -| **B-LS** Lighting Supervisor | [B-LS-CPP](https://github.com/chipkin/BACnetProfileExample-B-LS-CPP) | — | +| Profile | C++ | Node.js | C# | Rust | Python | +|---|---|---|---|---|---| +| **B-LD** Lighting Device | [B-LD-CPP](https://github.com/chipkin/BACnetProfileExample-B-LD-CPP) | Ask | Ask | Ask | Ask | +| **B-LS** Lighting Supervisor | [B-LS-CPP](https://github.com/chipkin/BACnetProfileExample-B-LS-CPP) | Ask | Ask | Ask | Ask | ### Elevator controllers (Annex L.13) -| Profile | C++ | Node.js | -|---|---|---| -| **B-EM** Elevator Monitor | [B-EM-CPP](https://github.com/chipkin/BACnetProfileExample-B-EM-CPP) | — | -| **B-EC** Elevator Controller | [B-EC-CPP](https://github.com/chipkin/BACnetProfileExample-B-EC-CPP) | — | -| **B-AEC** Advanced Elevator Controller | [B-AEC-CPP](https://github.com/chipkin/BACnetProfileExample-B-AEC-CPP) | — | +| Profile | C++ | Node.js | C# | Rust | Python | +|---|---|---|---|---|---| +| **B-EM** Elevator Monitor | [B-EM-CPP](https://github.com/chipkin/BACnetProfileExample-B-EM-CPP) | Ask | Ask | Ask | Ask | +| **B-EC** Elevator Controller | [B-EC-CPP](https://github.com/chipkin/BACnetProfileExample-B-EC-CPP) | Ask | Ask | Ask | Ask | +| **B-AEC** Advanced Elevator Controller | [B-AEC-CPP](https://github.com/chipkin/BACnetProfileExample-B-AEC-CPP) | Ask | Ask | Ask | Ask | ### Authentication and authorization (Annex L.14) -| Profile | C++ | Node.js | -|---|---|---| -| **B-AS** Authorization Server | [B-AS-CPP](https://github.com/chipkin/BACnetProfileExample-B-AS-CPP) | — | +| Profile | C++ | Node.js | C# | Rust | Python | +|---|---|---|---|---|---| +| **B-AS** Authorization Server | [B-AS-CPP](https://github.com/chipkin/BACnetProfileExample-B-AS-CPP) | Ask | Ask | Ask | Ask | ### Miscellaneous (Annex L.7, combinable with any one family) -| Profile | C++ | Node.js | -|---|---|---| -| **B-BBMD** Broadcast Management Device | [B-BBMD-CPP](https://github.com/chipkin/BACnetProfileExample-B-BBMD-CPP) | — | -| **B-ACDC** Access Control Door Controller | [B-ACDC-CPP](https://github.com/chipkin/BACnetProfileExample-B-ACDC-CPP) | — | -| **B-ACCR** Access Control Credential Reader | [B-ACCR-CPP](https://github.com/chipkin/BACnetProfileExample-B-ACCR-CPP) | — | -| **B-RTR** Router | [B-RTR-CPP](https://github.com/chipkin/BACnetProfileExample-B-RTR-CPP) | — | -| **B-GW** Gateway | [B-GW-CPP](https://github.com/chipkin/BACnetProfileExample-B-GW-CPP) | — | -| **B-DAP** Device Address Proxy | [B-DAP-CPP](https://github.com/chipkin/BACnetProfileExample-B-DAP-CPP) | — | -| **B-SCHUB** BACnet/SC Hub | [B-SCHUB-CPP](https://github.com/chipkin/BACnetProfileExample-B-SCHUB-CPP) | — | -| **B-GENERAL** General device (Annex L.8) | *(satisfied by every example above)* | — | +| Profile | C++ | Node.js | C# | Rust | Python | +|---|---|---|---|---|---| +| **B-BBMD** Broadcast Management Device | [B-BBMD-CPP](https://github.com/chipkin/BACnetProfileExample-B-BBMD-CPP) | Ask | Ask | Ask | Ask | +| **B-ACDC** Access Control Door Controller | [B-ACDC-CPP](https://github.com/chipkin/BACnetProfileExample-B-ACDC-CPP) | Ask | Ask | Ask | Ask | +| **B-ACCR** Access Control Credential Reader | [B-ACCR-CPP](https://github.com/chipkin/BACnetProfileExample-B-ACCR-CPP) | Ask | Ask | Ask | Ask | +| **B-RTR** Router | [B-RTR-CPP](https://github.com/chipkin/BACnetProfileExample-B-RTR-CPP) | Ask | Ask | Ask | Ask | +| **B-GW** Gateway | [B-GW-CPP](https://github.com/chipkin/BACnetProfileExample-B-GW-CPP) | Ask | Ask | Ask | Ask | +| **B-DAP** Device Address Proxy | [B-DAP-CPP](https://github.com/chipkin/BACnetProfileExample-B-DAP-CPP) | Ask | Ask | Ask | Ask | +| **B-SCHUB** BACnet/SC Hub | [B-SCHUB-CPP](https://github.com/chipkin/BACnetProfileExample-B-SCHUB-CPP) | Ask | Ask | Ask | Ask | +| **B-GENERAL** General device (Annex L.8) | *(satisfied by every example above)* | — | — | — | — | ### Operator interfaces and workstations (Annex L.1–L.3, L.9–L.10, L.12) Client-side profiles. -| Profile | C++ | Node.js | -|---|---|---| -| **B-OD** Operator Display | [B-OD-CPP](https://github.com/chipkin/BACnetProfileExample-B-OD-CPP) | — | -| **B-OWS** Operator Workstation | planned | — | -| **B-AWS** Advanced Operator Workstation | planned | — | -| **B-XAWS** Extended Advanced Operator Workstation | planned | — | -| **B-LSAP** Life Safety Annunciator Panel | planned | — | -| **B-LSWS** Life Safety Workstation | planned | — | -| **B-ALSWS** Advanced Life Safety Workstation | planned | — | -| **B-ACSD** Access Control Security Display | planned | — | -| **B-ACWS** Access Control Workstation | planned | — | -| **B-AACWS** Advanced Access Control Workstation | planned | — | -| **B-LOD** Lighting Operator Display | planned | — | -| **B-ALWS** Advanced Lighting Workstation | planned | — | -| **B-LCS** Lighting Control Station | planned | — | -| **B-ALCS** Advanced Lighting Control Station | planned | — | -| **B-ED** Elevator Display | planned | — | -| **B-EWS** Elevator Workstation | planned | — | -| **B-AEWS** Advanced Elevator Workstation | planned | — | - -🚧 = in progress. Profile definitions: ANSI/ASHRAE 135-2024 Annex L. BIBB definitions: Annex K. Get the stack: . +| Profile | C++ | Node.js | C# | Rust | Python | +|---|---|---|---|---|---| +| **B-OD** Operator Display | [B-OD-CPP](https://github.com/chipkin/BACnetProfileExample-B-OD-CPP) | Ask | Ask | Ask | Ask | +| **B-OWS** Operator Workstation | planned | — | — | — | — | +| **B-AWS** Advanced Operator Workstation | planned | — | — | — | — | +| **B-XAWS** Extended Advanced Operator Workstation | planned | — | — | — | — | +| **B-LSAP** Life Safety Annunciator Panel | planned | — | — | — | — | +| **B-LSWS** Life Safety Workstation | planned | — | — | — | — | +| **B-ALSWS** Advanced Life Safety Workstation | planned | — | — | — | — | +| **B-ACSD** Access Control Security Display | planned | — | — | — | — | +| **B-ACWS** Access Control Workstation | planned | — | — | — | — | +| **B-AACWS** Advanced Access Control Workstation | planned | — | — | — | — | +| **B-LOD** Lighting Operator Display | planned | — | — | — | — | +| **B-ALWS** Advanced Lighting Workstation | planned | — | — | — | — | +| **B-LCS** Lighting Control Station | planned | — | — | — | — | +| **B-ALCS** Advanced Lighting Control Station | planned | — | — | — | — | +| **B-ED** Elevator Display | planned | — | — | — | — | +| **B-EWS** Elevator Workstation | planned | — | — | — | — | +| **B-AEWS** Advanced Elevator Workstation | planned | — | — | — | — | + +🚧 = in progress. "Ask" = not yet built for that language; contact Chipkin if you need it. Profile definitions: ANSI/ASHRAE 135-2024 Annex L. BIBB definitions: Annex K. Get the stack: . ## References