Skip to content

Commit 343948b

Browse files
committed
chore(agent): widen hosted control origin identifier type
1 parent f52c7aa commit 343948b

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

‎.github/scripts/agent_p3_control_lifetime_repair.py‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@ def once(old: str, new: str, label: str) -> None:
6565
''',
6666
'context initialization')
6767

68+
# IEC 61850 Origin.orIdent is variable-length octet-string. The live control
69+
# client deliberately supports identifiers up to 64 bytes, so advertise that
70+
# capacity rather than the 8-byte placeholder used by the first adapter draft.
71+
once(
72+
''' origin.children.push_back(field("orIdent", mms::MmsTypeKind::octet_string, 8U));
73+
''',
74+
''' origin.children.push_back(field("orIdent", mms::MmsTypeKind::octet_string, 64U));
75+
''',
76+
'origin identifier capacity')
77+
6878
# Add explicit enhanced-SBO selection evidence.
6979
once(
7080
''' if (ctx->service == HostControlObjectContext::Service::sbow) {
@@ -86,4 +96,4 @@ def once(old: str, new: str, label: str) -> None:
8696
'enhanced select evidence')
8797

8898
p.write_text(s, encoding='utf-8')
89-
print('P3 lifetime repair applied')
99+
print('P3 lifetime/type-contract repair applied')

0 commit comments

Comments
 (0)