opcua 0.12 → 0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +71 -4
- data/cert/cert.h +52 -52
- data/cert/cert_key.h +101 -101
- data/example/array/Makefile +3 -0
- data/example/array/clienttest.c +168 -0
- data/example/array/open62541.h +27464 -0
- data/example/array/servertest.c +142 -0
- data/example/bug5.rb +22 -0
- data/example/client_method.rb +7 -3
- data/example/server.rb +3 -3
- data/ext/opcua/client/client.c +38 -13
- data/ext/opcua/client/client.h +2 -1
- data/ext/opcua/client/finders.c +1 -0
- data/ext/opcua/client/finders.h +1 -0
- data/ext/opcua/client/log_none.c +1 -0
- data/ext/opcua/client/log_none.h +1 -0
- data/ext/opcua/client/strnautocat.c +1 -0
- data/ext/opcua/client/strnautocat.h +1 -0
- data/ext/opcua/client/values.c +1 -0
- data/ext/opcua/client/values.h +1 -0
- data/ext/opcua/helpers/finders.c +142 -0
- data/ext/opcua/helpers/finders.h +13 -0
- data/ext/opcua/{log_none.h → helpers/log_none.c} +2 -0
- data/ext/opcua/helpers/log_none.h +12 -0
- data/ext/opcua/{strnautocat.h → helpers/strnautocat.c} +2 -0
- data/ext/opcua/helpers/strnautocat.h +8 -0
- data/ext/opcua/{values.h → helpers/values.c} +64 -25
- data/ext/opcua/helpers/values.h +12 -0
- data/ext/opcua/server/finders.c +1 -0
- data/ext/opcua/server/finders.h +1 -0
- data/ext/opcua/server/log_none.c +1 -0
- data/ext/opcua/server/log_none.h +1 -0
- data/ext/opcua/server/server.c +70 -57
- data/ext/opcua/server/server.h +4 -2
- data/ext/opcua/server/strnautocat.c +1 -0
- data/ext/opcua/server/strnautocat.h +1 -0
- data/ext/opcua/server/values.c +1 -0
- data/ext/opcua/server/values.h +1 -0
- data/opcua.gemspec +1 -1
- metadata +32 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e345f9c4d554639361dd575506d330b5ae391e2cce03b6fa6be5c0033748f8e3
|
4
|
+
data.tar.gz: 9011b057a063114638c4697659e241392999ecc6e4706da33048adfcc048012d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8f488d4c7b451b9a135aef850e4351892879dcf00d971cfd14eddcb936a6b105712c38c15296d23bf7d85aa16a09e4c7983bcc227e7f665e4027bcf4bef9ad0
|
7
|
+
data.tar.gz: e0b99731b5bf47c216a5a76c5591e39531999a506b39313e3feadf895a1660b585658bbea20fe36f0d0971abcf757aaa798abd39e7aae1bb80bad9aa015055ef
|
data/README.md
CHANGED
@@ -10,6 +10,9 @@ The development of OPC UA applications takes currently a lot of effort. This is
|
|
10
10
|
1. [Server](#Server)
|
11
11
|
1. [Create Server and Namespace](#Create-Server-and-Namespace)
|
12
12
|
2. [Create ObjectTypes](#Create-ObjectTypes)
|
13
|
+
1.[Add Variable](#add-variable)
|
14
|
+
2.[Add Object](#add-object)
|
15
|
+
3.[Add Method](#add-method)
|
13
16
|
3. [Manifest Objects](#Manifest-Objects)
|
14
17
|
4. [Find Nodes in the Addressspace](#Find-Nodes-in-the-Addressspace)
|
15
18
|
5. [Loop for getting Real Life Data](#Loop-for-getting-Real-Life-Data)
|
@@ -56,13 +59,32 @@ sudo ldconfig -p | grep libopen62541 # check if its there
|
|
56
59
|
|
57
60
|
### Server
|
58
61
|
|
59
|
-
The server has following
|
62
|
+
The server has following functions:
|
60
63
|
* Create the server and add_namespace
|
61
64
|
* Create ObjectTypes
|
62
65
|
* Manifest ObjectTypes
|
66
|
+
* Delete Objects
|
63
67
|
* Find nodes in the adress space
|
64
68
|
* Loop for getting real life data
|
65
69
|
|
70
|
+
Every server application uses the Demonite gem, which allows to run the server as service.
|
71
|
+
```ruby
|
72
|
+
Daemonite.new do
|
73
|
+
on startup do |opts|
|
74
|
+
...
|
75
|
+
end
|
76
|
+
run do |opts|
|
77
|
+
...
|
78
|
+
end
|
79
|
+
on exit do
|
80
|
+
...
|
81
|
+
end
|
82
|
+
end.loop!
|
83
|
+
```
|
84
|
+
Each server has 3 sections the __startup__, __run__, and __exit__.
|
85
|
+
In the __startup__ we create the server and the namespace, define all nodes and typically manifest the adress space. The __run__ section loops and therefore updates the values of the nodes in the server.
|
86
|
+
On __exit__ we can d additionally things e.g. close the connection to another interface.
|
87
|
+
|
66
88
|
#### Create Server and Namespace
|
67
89
|
|
68
90
|
```ruby
|
@@ -88,10 +110,25 @@ to = server.types.add_object_type(:TestObjectType).tap{ |t|
|
|
88
110
|
```
|
89
111
|
In this example the _TestObjectType_ is defined. It consits of _TestVariable_ of the _BaseVariableType_ an _TestObject_ of the _FolderType_ and a _TestMethod_.
|
90
112
|
|
113
|
+
##### Add Variable
|
114
|
+
|
91
115
|
The ``` .add_variable :TestVariable ``` command adds a variable with the name _TestVariable_.
|
116
|
+
Multible variables can be defined at once with the ```.add_variables``` command.
|
117
|
+
```ruby
|
118
|
+
t.add_variables :TestVar1, :TestVar2
|
119
|
+
```
|
120
|
+
By default variables are read-only.
|
121
|
+
If you want to add a variable with read/write support you must use the ```.add_Varable_rw``` method.
|
122
|
+
```ruby
|
123
|
+
t.add_variable_rw :TestVar1
|
124
|
+
```
|
125
|
+
|
126
|
+
##### Add Object
|
92
127
|
|
93
128
|
With ```.add_object(:TestObject)``` a new object named _TestObject_ is added. The second parameter is optional and definies of which type the new object is. Default the object is from _BaseObjectType_. In this example the created object is from _FolderType_. All child nodes of the object can be definded in the ```tap{}``` area.
|
94
129
|
|
130
|
+
##### Add Method
|
131
|
+
|
95
132
|
Methods are added with the ```.add_method(:TestMethod)``` function. Per default the method has no input and output arguments. By adding additional arguments you can define input arguments. The code for defining a method with input arguments looks like
|
96
133
|
```ruby
|
97
134
|
t.add_method :TestMethod, inputarg1: OPCUA::TYPES::STRING, inputarg2: OPCUA::TYPES::DATETIME do |node, inputarg1, inputarg2|
|
@@ -106,17 +143,47 @@ in the ```do...end```section you write the code which should be executed by call
|
|
106
143
|
ObjectTypes can be instiantiated with the ```.manifest``` method.
|
107
144
|
|
108
145
|
```ruby
|
109
|
-
|
146
|
+
testobject =server.objects.manifest(:TestObjectType, to)
|
147
|
+
```
|
148
|
+
|
149
|
+
#### Delete Objects
|
150
|
+
Objects can be deleted witch the ```.delete!``` function.
|
151
|
+
|
152
|
+
```ruby
|
153
|
+
testobject =server.objects.manifest(:TestObjectType, to)
|
154
|
+
testobject.delete!
|
110
155
|
```
|
111
156
|
|
112
157
|
#### Find Nodes in the Addressspace
|
113
158
|
|
114
|
-
To get a specific node
|
159
|
+
To get a specific node you should use the ```.find``` method.
|
115
160
|
```ruby
|
116
|
-
tv = to.find
|
161
|
+
tv = to.find :TestVariable
|
117
162
|
```
|
118
163
|
_tv_ is now the _TestVariable_ node.
|
119
164
|
|
165
|
+
You can also find several nodes at the same time.
|
166
|
+
```ruby
|
167
|
+
tva = to.find :TestVariable1, :TestVariable2
|
168
|
+
```
|
169
|
+
_tva_ is now a array containing the requested nodes.
|
170
|
+
|
171
|
+
```ruby
|
172
|
+
tv1, tv2 = to.find :TestVariable1, :TestVariable2
|
173
|
+
```
|
174
|
+
You can also request several nodes with one _find_ statement.
|
175
|
+
|
176
|
+
#### Access the value of a node
|
177
|
+
|
178
|
+
To get the value of a specific node use the ```.value``` method.
|
179
|
+
```ruby
|
180
|
+
tv.value = 10
|
181
|
+
tv.value = 'ten'
|
182
|
+
puts tv.value
|
183
|
+
```
|
184
|
+
|
185
|
+
You can assign vlaues without definig a datatype. The correct _DataType_ will be used. Default we use _UA::STRING, UA::DOUBLE and _UA::INT_. Additional Datatypes can be added by request.
|
186
|
+
|
120
187
|
#### Loop for getting Real Life Data
|
121
188
|
The server loop looks like follows:
|
122
189
|
```ruby
|
data/cert/cert.h
CHANGED
@@ -1,70 +1,70 @@
|
|
1
1
|
unsigned char cert_der[] = {
|
2
2
|
0x30, 0x82, 0x03, 0x18, 0x30, 0x82, 0x02, 0x00, 0xa0, 0x03, 0x02, 0x01,
|
3
|
-
0x02, 0x02, 0x14,
|
4
|
-
|
3
|
+
0x02, 0x02, 0x14, 0x73, 0x68, 0xed, 0xf8, 0xee, 0x4a, 0x9b, 0xba, 0xd8,
|
4
|
+
0x6b, 0x1f, 0xd4, 0x30, 0xe4, 0x7e, 0x68, 0x4d, 0x24, 0x6b, 0xbc, 0x30,
|
5
5
|
0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b,
|
6
6
|
0x05, 0x00, 0x30, 0x15, 0x31, 0x13, 0x30, 0x11, 0x06, 0x03, 0x55, 0x04,
|
7
7
|
0x03, 0x0c, 0x0a, 0x72, 0x75, 0x62, 0x79, 0x2d, 0x6f, 0x70, 0x63, 0x75,
|
8
|
-
0x61, 0x30, 0x1e, 0x17, 0x0d, 0x31, 0x39, 0x30,
|
9
|
-
|
10
|
-
|
8
|
+
0x61, 0x30, 0x1e, 0x17, 0x0d, 0x31, 0x39, 0x30, 0x37, 0x31, 0x31, 0x30,
|
9
|
+
0x38, 0x34, 0x34, 0x34, 0x36, 0x5a, 0x17, 0x0d, 0x32, 0x30, 0x30, 0x36,
|
10
|
+
0x33, 0x30, 0x30, 0x38, 0x34, 0x34, 0x34, 0x36, 0x5a, 0x30, 0x15, 0x31,
|
11
11
|
0x13, 0x30, 0x11, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x0a, 0x72, 0x75,
|
12
12
|
0x62, 0x79, 0x2d, 0x6f, 0x70, 0x63, 0x75, 0x61, 0x30, 0x82, 0x01, 0x22,
|
13
13
|
0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01,
|
14
14
|
0x01, 0x05, 0x00, 0x03, 0x82, 0x01, 0x0f, 0x00, 0x30, 0x82, 0x01, 0x0a,
|
15
|
-
0x02, 0x82, 0x01, 0x01, 0x00,
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-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
0x16, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04,
|
41
41
|
0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x1c, 0x06, 0x03, 0x55, 0x1d,
|
42
42
|
0x11, 0x04, 0x15, 0x30, 0x13, 0x86, 0x11, 0x72, 0x75, 0x62, 0x79, 0x2d,
|
43
43
|
0x6f, 0x70, 0x63, 0x75, 0x61, 0x3a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
|
44
44
|
0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04,
|
45
45
|
0x03, 0x02, 0x05, 0xa0, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86,
|
46
46
|
0xf7, 0x0d, 0x01, 0x01, 0x0b, 0x05, 0x00, 0x03, 0x82, 0x01, 0x01, 0x00,
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
47
|
+
0x50, 0x04, 0x7d, 0x62, 0xb7, 0xd3, 0x1c, 0xf9, 0xbe, 0xe7, 0xbb, 0x30,
|
48
|
+
0x83, 0xf5, 0xa6, 0x49, 0xbd, 0xef, 0x26, 0x12, 0x47, 0xf5, 0xb9, 0x5e,
|
49
|
+
0xda, 0x4c, 0xb2, 0xb8, 0x3d, 0x87, 0xe7, 0xc2, 0xfc, 0x33, 0x6e, 0x01,
|
50
|
+
0x10, 0x35, 0xf6, 0xba, 0xc6, 0x22, 0x14, 0x64, 0x73, 0xcb, 0x4b, 0xb4,
|
51
|
+
0x85, 0x1b, 0xf9, 0xbf, 0x53, 0x46, 0x83, 0x28, 0xee, 0x2f, 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0x22, 0xbb, 0x80, 0x62, 0xb1, 0xaa,
|
66
|
+
0xe3, 0xeb, 0x81, 0x12, 0x3a, 0x61, 0x68, 0x74, 0x10, 0x46, 0x51, 0x37,
|
67
|
+
0xfd, 0x6c, 0x95, 0xa7, 0x0b, 0xd4, 0x87, 0xc0, 0x36, 0x62, 0x94, 0x87,
|
68
|
+
0x3b, 0xfc, 0x03, 0xb0
|
69
69
|
};
|
70
70
|
unsigned int cert_der_len = 796;
|
data/cert/cert_key.h
CHANGED
@@ -1,103 +1,103 @@
|
|
1
1
|
unsigned char cert_key_der[] = {
|
2
|
-
0x30, 0x82, 0x04,
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
0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e, 0x25, 0x0b, 0x25, 0xd6, 0x9a, 0xd3, 0xfe, 0x27, 0x3c, 0xe1,
|
98
|
+
0xb7, 0xd8, 0xc2, 0xfc, 0x28, 0x34, 0xb8, 0xdd, 0x9f, 0x8d, 0x6f, 0x2c,
|
99
|
+
0x87, 0x12, 0x5f, 0x0b, 0xbc, 0x9d, 0xd4, 0xfe, 0x9a, 0xaf, 0xa2, 0x06,
|
100
|
+
0x9f, 0x2b, 0xf2, 0x91, 0xd5, 0xac, 0x2c, 0x63, 0xcf, 0x6f, 0x65, 0xe2,
|
101
|
+
0x22, 0xfb, 0x9c
|
102
102
|
};
|
103
|
-
unsigned int cert_key_der_len =
|
103
|
+
unsigned int cert_key_der_len = 1191;
|