Skip to content

fix!: correct BacnetRejectReason typo RECOGNIZED_SERVICE -> UNRECOGNIZED_SERVICE#196

Merged
gralin merged 2 commits into
masterfrom
fix-reject-reason-typo
Jul 3, 2026
Merged

fix!: correct BacnetRejectReason typo RECOGNIZED_SERVICE -> UNRECOGNIZED_SERVICE#196
gralin merged 2 commits into
masterfrom
fix-reject-reason-typo

Conversation

@gralin

@gralin gralin commented Jul 3, 2026

Copy link
Copy Markdown
Member

BacnetRejectReason value 9 was spelled RECOGNIZED_SERVICE — the "UN" was dropped during the port. Verified in spect:

  • ASHRAE 135BACnetRejectReason ::= ENUMERATED { … unrecognized-service (9) … }

The enumeration value (9) is unchanged, so this is wire-compatible; only the public member name is corrected.

Closes #104.

gralin added 2 commits July 3, 2026 13:26
…ZED_SERVICE

Reject reason 9 is "unrecognized-service" per ASHRAE 135 (BACnetRejectReason ::= ENUMERATED,
value 9) and YABE (REJECT_REASON_UNRECOGNIZED_SERVICE = 9); the port dropped the "UN". The
value (9) is unchanged, so it is wire-compatible - only the public enum member name changes.
Also drop the two "should be unrecognized" workaround comments at the call sites.

BREAKING CHANGE: BacnetRejectReason.RECOGNIZED_SERVICE renamed to UNRECOGNIZED_SERVICE.
@gralin gralin merged commit 575d6b4 into master Jul 3, 2026
4 checks passed
@gralin gralin deleted the fix-reject-reason-typo branch July 3, 2026 11:55
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.

Wrong text for reject code 9

1 participant