Repository navigation
Stack 6.0.22, SCHED-E-B wire verification, TODO issue tracking (1.0.6) - #17
Merged
Merged
Conversation
…values Application_Software_Version (12) and Firmware_Revision (44) were hardcoded to the literal "1.0.0" regardless of the actual build. Application_Software_Version now reads APP_VERSION directly (one source of truth with --version's own banner). Firmware_Revision is now built at runtime from the CAS BACnet Stack's own BACnetStack_GetAPIMajorVersion()/GetAPIMinorVersion()/ GetAPIPatchVersion()/GetAPIBuildVersion() (the same 4 calls common/CASExampleHelper.cpp's PrintVersion() already uses for the startup banner), populated once right after LoadBACnetFunctions() succeeds. Bump to 1.0.3 and add CHANGELOG entry per this series' rebuild convention. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The prior commit's CHANGELOG entry for the Application_Software_Version / Firmware_Revision fix didn't yet have real verification numbers. Add them: a live ReadProperty via bacpypes3 against the running device confirmed Application_Software_Version = "1.0.3" and Firmware_Revision = "6.0.21.0", matching the running build instead of the old stale "1.0.0" constant. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This repo's own common/ line (2.6.0-2.9.0: RX/TX service/object/ property-naming SummarizeBacnetFrame(), the --xml frame dump, GetLocalLinkSpeedBitsPerSecond(), Local_Date/Local_Time property IDs) had never been re-synced series-wide. Meanwhile BACnetProfileExample-B-SCHUB-CPP separately carried its own, differently-numbered 2.6.0-2.7.0 (the CASExampleLog structured-logging facility, ParseDccPasswordArg(), HandleHelpAndVersionArgs()'s showDccPasswordCliOption parameter, KeyCommand::Metrics), reusing this repo's version numbers for unrelated content. The two lines touch disjoint code and merge without functional conflict; common/ 3.0.0 combines both, so this repo picks up SCHUB's additions while keeping everything it already had. Verified by rebuilding (this repo's own code, the origin of most of this content, needed no other changes) and running --version locally: "Common helper (common/) version: 3.0.0". Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Every example in the series announced the identical Object_Name "Rainbow" for its Device object, so two examples running on the same subnet were indistinguishable by name. Renamed to "Chipkin Example B-BC" (the series' BACnet profile code) so devices are identifiable on the network; sub-object names are unchanged. docs/colour-table.md (series root, not in this repo) updated to match. APP_VERSION bumped 1.0.3 -> 1.0.4. Verified by rebuilding and confirming the new name in the startup log. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
… pass docs/objects.json (the input to tools/gen-objects-properties.py, which generates docs/PICS.md) still had the Device object's after the device-rename commit updated main.cpp/README.md/AGENTS.md/ docs/PICS.md directly but missed this source file. Fixed to "Chipkin Example B-BC", matching what main.cpp now serves. Re-ran tools/gen-objects-properties.py against this repo to confirm docs/PICS.md (already updated by hand in the rename commit) is byte-identical to what the generator now produces from the corrected JSON - no drift. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Moves the stack submodule from issues/runbook @ a8d3b6bf (6.0.21) back to the 6.x branch .gitmodules names, now at release 6.0.22. The fixes the old pin was ahead of 6.x for (#2163/#2164/#2165) have landed on 6.x. No main.cpp change needed beyond the version bump. An existing build tree needs `cmake -B build` re-run first (cas-bacnet-stack#2342). Re-verified TODO.md live on 6.0.22 (bacpypes3): - #2051 Trend Log 1 Record_Count still 0 (Magenta: 32 records) - #2050 AddTrendLogObject flood: gone (0 lines) - #2196 closed upstream but still reproduces -> refiled as #2340 - new item 8: startup SC "UUID has not been set" error -> #2341 - Device_Address_Binding, RPM(Device, ALL), Weekly_Schedule all clean Also commits TUTORIAL.md's "Rainbow" -> "Chipkin Example B-BC" rename, left uncommitted by the 1.0.4 pass. Refs #12, #13, #14, #15, #16 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds tests/sched_e_b_remote_peer.py. It plays peer device 389002 with
a commandable AO 1 on its own UDP port and sends B-BC a unicast I-Am,
so the stack's DAB binds it on a single host without a BBMD. It then
writes Schedule 1's Schedule_Default to force a re-evaluation.
Result on 6.0.22: B-BC sends WriteProperty Analog_Output 1.Present_Value
@ priority 8 to the peer, the peer SimpleACKs and its Priority_Array[8]
reads 42.5 (RESULT: PASS).
Stack gap found along the way: the startup evaluation runs before the
peer is bound, so the write is skipped ("not resolved in DAB") and never
re-sent after the I-Am arrives. Filed as cas-bacnet-stack#2343. TODO.md
item 3, TUTORIAL.md and AGENTS.md updated to match.
Closes #6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Calendar Date_List gap: closed cas-bacnet-stack #963 -> #1758 in main.cpp comments, README.md and docs/objects.json (PICS regenerated). - SCHED-E-B: README, PICS and objects.json no longer say the remote write is "not wire-verified". They link #2343 (dropped startup write). - README known-gaps summary drops the #2050 flood (gone on 6.0.22). - APP_VERSION 1.0.5 -> 1.0.6; CHANGELOG 1.0.4-1.0.6 dated 2026-09-22. Rebuilt and smoke-tested: v1.0.6 / stack 6.0.22.0 banner, device ready, tests/sched_e_b_remote_peer.py PASS. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts resolved in favour of both sides: - #9 showed #2051 was an example bug (window built from local time, stack compares UTC), not a stack defect. Dropped every "Lilac never records" claim this branch had carried forward; TODO.md item 1 stays removed and items are renumbered (tracking-issue list, cross-refs in AGENTS.md, TUTORIAL.md and docs/objects.json updated to match). - Kept this branch's 6.0.22 / SCHED-E-B / #2340-#2343 content. - Moved #9's CHANGELOG entry out of the 1.0.1 section into 1.0.6. - Last #963 references -> #1758; PICS regenerated. Re-verified live on the merged build (v1.0.6, stack 6.0.22): Trend Log 1 Record_Count 20, Trend Log Multiple 1 21, 0 flood lines, RPM(Device, ALL) ok, tests/sched_e_b_remote_peer.py PASS. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings
mainfrom 1.0.2 up to 1.0.6.Stack: 6.0.21 -> 6.0.22
issues/runbook@a8d3b6bfback to6.x@22ac3c98, the branch.gitmodulesnames. #2163, #2164 and #2165 are all on6.xnow.cmake -B buildre-run before building (cas-bacnet-stack#2342).Fixes and verification
tests/sched_e_b_remote_peer.pyplays peer device 389002 on the same machine; B-BC writes its AO 1 at priority 8 and the peer acknowledges. Stack gap found: the startup write is dropped before the peer is bound (cas-bacnet-stack#2343).Record_Countstuck at 0 is resolved by fix: build Trend Log 1's Start_Time/Stop_Time window from UTC, not local time (#2051) #9, which is merged into this branch. It was an example bug (local time vs UTC), not a stack defect. Lilac now records.Date_List(cas-bacnet-stack#1758)Property_List. #2196 was closed but still reproduces, so it's refiled as cas-bacnet-stack#2340.Also included (earlier local commits)
Application_Software_VersionandFirmware_Revisionnow report the real values.common/synced to 3.0.0, which merges the B-BC and B-SCHUB forks.Testing
--versionprints v1.0.6 / 6.0.22.0 / common 3.0.0.tests/sched_e_b_remote_peer.py(PASS).Also merges
main(#9) and resolves its conflicts: TODO items renumbered, and #9's CHANGELOG entry moved into 1.0.6.Closes #6
Closes #12
Closes #13
🤖 Generated with Claude Code