Skip to content

Commit

Permalink
fix(opcua): disable enum code generation for now
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Aug 28, 2023
1 parent 03a9174 commit 7361a10
Show file tree
Hide file tree
Showing 22 changed files with 17 additions and 194,105 deletions.
4 changes: 2 additions & 2 deletions plc4go/internal/opcua/SecureChannel.go
Expand Up @@ -1585,7 +1585,7 @@ func (s *SecureChannel) getIdentityToken(tokenType readWriteModel.UserTokenType,
false, //Namespace Uri Specified
false, //Server Index Specified
readWriteModel.NewNodeIdFourByte(
0, uint16(readWriteModel.OpcuaNodeIdServices_AnonymousIdentityToken_Encoding_DefaultBinary)),
0, 321 /* TODO: disabled till we have greater segmentation: uint16(readWriteModel.OpcuaNodeIdServices_AnonymousIdentityToken_Encoding_DefaultBinary)*/),
nil,
nil,
)
Expand Down Expand Up @@ -1622,7 +1622,7 @@ func (s *SecureChannel) getIdentityToken(tokenType readWriteModel.UserTokenType,
extExpandedNodeId := readWriteModel.NewExpandedNodeId(
false, //Namespace Uri Specified
false, //Server Index Specified
readWriteModel.NewNodeIdFourByte(0, uint16(readWriteModel.OpcuaNodeIdServices_UserNameIdentityToken_Encoding_DefaultBinary)),
readWriteModel.NewNodeIdFourByte(0, 324 /*TODO: disabled till we have greater segmentation: uint16(readWriteModel.OpcuaNodeIdServices_UserNameIdentityToken_Encoding_DefaultBinary)*/),
nil,
nil)
return readWriteModel.NewExtensionObject(
Expand Down
224 changes: 10 additions & 214 deletions plc4go/protocols/opcua/readwrite/model/Node.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7361a10

Please sign in to comment.