Custom.Opc.Ua.Transport.bsd 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <opc:TypeDictionary
  2. xmlns:opc="http://opcfoundation.org/BinarySchema/"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xmlns:ua="http://opcfoundation.org/UA/"
  5. xmlns:tns="http://opcfoundation.org/UA/"
  6. DefaultByteOrder="LittleEndian"
  7. TargetNamespace="http://opcfoundation.org/UA/"
  8. >
  9. <opc:Import Namespace="http://opcfoundation.org/BinarySchema/" />
  10. <!-- Transport types begin -->
  11. <opc:EnumeratedType Name="MessageTypeAndFinal" LengthInBits="32">
  12. <opc:Documentation>Message Type and whether the message contains the final chunk</opc:Documentation>
  13. <opc:EnumeratedValue Name="ACKF" Value="1179337537" />
  14. <opc:EnumeratedValue Name="CLOF" Value="1179601987" />
  15. <opc:EnumeratedValue Name="HELF" Value="1179403592" />
  16. <opc:EnumeratedValue Name="MSGF" Value="1179079501" />
  17. <opc:EnumeratedValue Name="OPNF" Value="1179537487" />
  18. </opc:EnumeratedType>
  19. <opc:StructuredType Name="TcpMessageHeader">
  20. <opc:Documentation>TCP Header</opc:Documentation>
  21. <opc:Field Name="MessageTypeAndFinal" TypeName="opc:UInt32" />
  22. <opc:Field Name="MessageSize" TypeName="opc:UInt32" />
  23. </opc:StructuredType>
  24. <opc:StructuredType Name="TcpHelloMessage">
  25. <opc:Documentation>Hello Message</opc:Documentation>
  26. <opc:Field Name="ProtocolVersion" TypeName="opc:UInt32" />
  27. <opc:Field Name="ReceiveBufferSize" TypeName="opc:UInt32" />
  28. <opc:Field Name="SendBufferSize" TypeName="opc:UInt32" />
  29. <opc:Field Name="MaxMessageSize" TypeName="opc:UInt32" />
  30. <opc:Field Name="MaxChunkCount" TypeName="opc:UInt32" />
  31. <opc:Field Name="EndpointUrl" TypeName="opc:String" />
  32. </opc:StructuredType>
  33. <opc:StructuredType Name="TcpAcknowledgeMessage">
  34. <opc:Documentation>Acknowledge Message</opc:Documentation>
  35. <opc:Field Name="ProtocolVersion" TypeName="opc:UInt32" />
  36. <opc:Field Name="ReceiveBufferSize" TypeName="opc:UInt32" />
  37. <opc:Field Name="SendBufferSize" TypeName="opc:UInt32" />
  38. <opc:Field Name="MaxMessageSize" TypeName="opc:UInt32" />
  39. <opc:Field Name="MaxChunkCount" TypeName="opc:UInt32" />
  40. </opc:StructuredType>
  41. <opc:StructuredType Name="SecureConversationMessageHeader">
  42. <opc:Documentation>Secure Layer Sequence Header</opc:Documentation>
  43. <opc:Field Name="MessageHeader" TypeName="opc:TcpMessageHeader" />
  44. <opc:Field Name="SecureChannelId" TypeName="opc:UInt32" />
  45. </opc:StructuredType>
  46. <opc:StructuredType Name="AsymmetricAlgorithmSecurityHeader">
  47. <opc:Documentation>Security Header</opc:Documentation>
  48. <opc:Field Name="SecurityPolicyUri" TypeName="opc:ByteString" />
  49. <opc:Field Name="SenderCertificate" TypeName="opc:ByteString" />
  50. <opc:Field Name="ReceiverCertificateThumbprint" TypeName="opc:ByteString" />
  51. </opc:StructuredType>
  52. <opc:StructuredType Name="SymmetricAlgorithmSecurityHeader">
  53. <opc:Documentation>Secure Layer Symmetric Algorithm Header</opc:Documentation>
  54. <opc:Field Name="TokenId" TypeName="opc:UInt32" />
  55. </opc:StructuredType>
  56. <opc:StructuredType Name="SequenceHeader">
  57. <opc:Documentation>Secure Layer Sequence Header</opc:Documentation>
  58. <opc:Field Name="SequenceNumber" TypeName="opc:UInt32" />
  59. <opc:Field Name="RequestId" TypeName="opc:UInt32"/>
  60. </opc:StructuredType>
  61. <opc:StructuredType Name="SecureConversationMessageFooter">
  62. <opc:Documentation>Secure Conversation Message Footer</opc:Documentation>
  63. <opc:Field Name="PaddingSize" TypeName="opc:Byte" />
  64. <opc:Field Name="Padding" TypeName="opc:Byte" LengthField="PaddingSize" />
  65. <opc:Field Name="Signature" TypeName="opc:Byte"/>
  66. </opc:StructuredType>
  67. <opc:StructuredType Name="SecureConversationMessageAbortBody">
  68. <opc:Documentation>Secure Conversation Message Abort Body</opc:Documentation>
  69. <opc:Field Name="Error" TypeName="opc:UInt32" />
  70. <opc:Field Name="Reason" TypeName="opc:String" />
  71. </opc:StructuredType>
  72. <!-- Transport types end -->
  73. </opc:TypeDictionary>