opcua 0.21 → 0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cert/cert.h +52 -52
- data/cert/cert_key.h +101 -101
- data/example/server_values_callback.rb +36 -0
- data/ext/opcua/server/server.c +80 -17
- data/opcua.gemspec +2 -2
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb55f4990d49244515c5e88b523c75f0dc5c623e39141ef643a643a8c1dbc81a
|
4
|
+
data.tar.gz: 28fff25fa88401d909166a4849925a61989bf94d1b8e8e7902179445e5bff485
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 567c3aba429205e5300e882cff79db5d9b16150b4480eafabcce9e11d1d4399f97ea5334794590be578f5141d97e94b2def62f08a686fbeb3ad5a4d770ef7ecb
|
7
|
+
data.tar.gz: 346e625516161b7566c94aac0fafe8e659f901fac4a826b5b3d2b374138bfc4394b927cd5074773d0cd5a3cfe41db0f82e23da74a2b284372b7cc065b72e3065
|
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, 0x03, 0xe0, 0x16, 0xe5, 0x39, 0x98, 0x1c, 0x2d, 0x5b,
|
4
|
+
0x5c, 0x16, 0xa8, 0x17, 0xae, 0xe2, 0xff, 0xb7, 0x3f, 0x00, 0xc2, 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, 0x32,
|
9
|
-
|
10
|
-
|
8
|
+
0x61, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x31, 0x30, 0x31, 0x32, 0x33, 0x32,
|
9
|
+
0x33, 0x30, 0x30, 0x31, 0x32, 0x5a, 0x17, 0x0d, 0x32, 0x32, 0x30, 0x31,
|
10
|
+
0x31, 0x33, 0x32, 0x33, 0x30, 0x30, 0x31, 0x32, 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
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
15
|
+
0x02, 0x82, 0x01, 0x01, 0x00, 0x9a, 0x1b, 0x4c, 0x3a, 0xa9, 0x97, 0x95,
|
16
|
+
0xa0, 0xda, 0xd0, 0x87, 0x63, 0xae, 0x1a, 0xad, 0xb8, 0xa0, 0x1c, 0xf6,
|
17
|
+
0xbc, 0xd0, 0xeb, 0x82, 0x18,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x63, 0x8e, 0xbf, 0x19, 0x97, 0xde, 0xe5, 0xb8, 0xaf, 0x63, 0x7f,
|
32
|
+
0x64, 0xe6, 0xa7, 0x2d, 0xbe, 0xa6, 0xbe, 0xe5, 0xa3, 0x19, 0xc1, 0x48,
|
33
|
+
0x3e, 0xcc, 0x15, 0x0c, 0xeb, 0x76, 0x90, 0xd1, 0x5c, 0xea, 0x44, 0x87,
|
34
|
+
0xd1, 0xac, 0x98, 0x58, 0x82, 0x59, 0x7a, 0x47, 0xa9, 0x80, 0x43, 0x2e,
|
35
|
+
0x67, 0x02, 0xca, 0xc7, 0xf7, 0xba, 0xa3, 0x1f, 0xde, 0x0e, 0xed, 0xc6,
|
36
|
+
0x61, 0xf8, 0xa5, 0x60, 0xc6, 0xfd, 0x49, 0x9e, 0x6f, 0x02, 0x03, 0x01,
|
37
37
|
0x00, 0x01, 0xa3, 0x60, 0x30, 0x5e, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d,
|
38
|
-
0x0e, 0x04, 0x16, 0x04, 0x14,
|
39
|
-
|
40
|
-
|
38
|
+
0x0e, 0x04, 0x16, 0x04, 0x14, 0xb8, 0x83, 0xec, 0xd8, 0x90, 0xf4, 0x00,
|
39
|
+
0xab, 0xdc, 0x1d, 0x0e, 0xca, 0xe2, 0x92, 0x48, 0xfd, 0xec, 0x06, 0x1d,
|
40
|
+
0xee, 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
|
+
0x91, 0x40, 0xc9, 0x19, 0x2e, 0xe5, 0x2a, 0x79, 0xd8, 0x36, 0x10, 0xd9,
|
48
|
+
0xbe, 0x13, 0x07, 0x06, 0x69, 0x34, 0x0b, 0x07, 0xdc, 0x4d, 0x5a, 0xf1,
|
49
|
+
0xcd, 0xb0, 0x71, 0x41, 0xe1, 0xfb, 0xc3, 0x54, 0xa5, 0x80, 0xd8, 0xd3,
|
50
|
+
0xab, 0x43, 0x9d, 0xf1, 0xdf, 0x66, 0xd8, 0x89, 0xf7, 0x97, 0xc6, 0x41,
|
51
|
+
0x68, 0xd0, 0x5e, 0xa7, 0xd3, 0x7e, 0x2f, 0x5a, 0x28, 0xa3, 0xf0, 0x05,
|
52
|
+
0x6f, 0xda, 0x26, 0x75, 0x8c, 0xca, 0x23, 0x1f, 0x9f, 0xda, 0x37, 0x5a,
|
53
|
+
0xa6, 0x3c, 0xdc, 0x92, 0xb9, 0xfa, 0xc3, 0x65, 0xbb, 0x53, 0xe6, 0x37,
|
54
|
+
0x40, 0x87, 0x48, 0x1f, 0xbc, 0x27, 0x72, 0x6f, 0x7c, 0xb7, 0x68, 0x2e,
|
55
|
+
0x71, 0xa4, 0xc8, 0x82, 0x08, 0x3f, 0x10, 0xa6, 0x4c, 0x31, 0xaf, 0xb6,
|
56
|
+
0x63, 0xb0, 0x25, 0xd8, 0xb3, 0x6d, 0xb7, 0xe6, 0xf0, 0x80, 0x77, 0x17,
|
57
|
+
0x10, 0x68, 0x47, 0xe8, 0x08, 0x3d, 0xa8, 0x9c, 0xb7, 0x95, 0x73, 0xb6,
|
58
|
+
0xe1, 0xa3, 0xb0, 0xbc, 0x86, 0x68, 0x50, 0x18, 0x4e, 0x02, 0xc0, 0x22,
|
59
|
+
0x11, 0x63, 0x2c, 0xdf, 0x2e, 0x45, 0xb8, 0x93, 0xe8, 0x70, 0x6d, 0x8f,
|
60
|
+
0x0a, 0x84, 0x6f, 0x62, 0x5e, 0x4e, 0x01, 0x23, 0x01, 0xe1, 0x42, 0x1f,
|
61
|
+
0xeb, 0x24, 0xbe, 0xe9, 0x64, 0x9a, 0xff, 0x28, 0xb2, 0x48, 0xad, 0xbe,
|
62
|
+
0xff, 0x28, 0x19, 0xac, 0x83, 0xb1, 0x9f, 0xdf, 0xb2, 0xb9, 0x94, 0xe9,
|
63
|
+
0x9d, 0x6b, 0x97, 0x1c, 0x0b, 0x4a, 0x79, 0x82, 0x50, 0xd4, 0xa1, 0xaf,
|
64
|
+
0x3d, 0x30, 0xf9, 0xf0, 0xdb, 0x89, 0x57, 0xb2, 0x66, 0x0c, 0xd6, 0x45,
|
65
|
+
0xc3, 0xb6, 0x97, 0x46, 0x37, 0x92, 0x49, 0x1f, 0x39, 0x81, 0x3d, 0xa6,
|
66
|
+
0xd6, 0x2a, 0x62, 0x46, 0x31, 0xeb, 0x10, 0x80, 0xba, 0x2b, 0x00, 0x92,
|
67
|
+
0x75, 0x9f, 0xc7, 0xd0, 0xfd, 0x4a, 0x56, 0xf6, 0xbc, 0xc3, 0x3f, 0x9a,
|
68
|
+
0xf2, 0x94, 0x46, 0xa2
|
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
|
-
0x01, 0x00,
|
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
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
2
|
+
0x30, 0x82, 0x04, 0xa4, 0x02, 0x01, 0x00, 0x02, 0x82, 0x01, 0x01, 0x00,
|
3
|
+
0x9a, 0x1b, 0x4c, 0x3a, 0xa9, 0x97, 0x95, 0xa0, 0xda, 0xd0, 0x87, 0x63,
|
4
|
+
0xae, 0x1a, 0xad, 0xb8, 0xa0, 0x1c, 0xf6, 0xbc, 0xd0, 0xeb, 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
|
+
0x51, 0x68, 0xe5, 0x42
|
102
102
|
};
|
103
|
-
unsigned int cert_key_der_len =
|
103
|
+
unsigned int cert_key_der_len = 1192;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
require_relative '../lib/opcua/server'
|
3
|
+
#require 'opcua/server'
|
4
|
+
|
5
|
+
Daemonite.new do
|
6
|
+
on startup do |opts|
|
7
|
+
opts['server'] = OPCUA::Server.new
|
8
|
+
opts['server'].add_namespace "https://centurio.work/kelch"
|
9
|
+
|
10
|
+
t = opts['server'].types.add_object_type(:Test).tap{ |t|
|
11
|
+
t.add_variable :Wert do |e|
|
12
|
+
p e.id
|
13
|
+
p e.value
|
14
|
+
end
|
15
|
+
}
|
16
|
+
|
17
|
+
v = opts['server'].objects.manifest(:Tester, t)
|
18
|
+
|
19
|
+
opts['value'] = v.find :Wert
|
20
|
+
rescue => e
|
21
|
+
puts e.message
|
22
|
+
end
|
23
|
+
|
24
|
+
run do |opts|
|
25
|
+
opts['server'].run
|
26
|
+
opts['value'].value = rand
|
27
|
+
sleep 0.01
|
28
|
+
rescue => e
|
29
|
+
puts e.message
|
30
|
+
end
|
31
|
+
|
32
|
+
on exit do
|
33
|
+
# we could disconnect here, but OPCUA::Server does not have an explicit disconnect
|
34
|
+
puts 'bye.'
|
35
|
+
end
|
36
|
+
end.loop!
|
data/ext/opcua/server/server.c
CHANGED
@@ -335,11 +335,39 @@ static VALUE node_add_method(int argc, VALUE* argv, VALUE self) { //{{{
|
|
335
335
|
return node_wrap(CLASS_OF(self),node_alloc(parent->master,node_add_method_ua_simple(nstr,parent,opts,blk)));
|
336
336
|
} //}}}
|
337
337
|
|
338
|
-
static
|
338
|
+
static void node_add_variable_callback( //{{{
|
339
|
+
UA_Server *server,
|
340
|
+
const UA_NodeId *sessionId, void *sessionContext,
|
341
|
+
const UA_NodeId *nodeId, void *nodeContext,
|
342
|
+
const UA_NumericRange *range, const UA_DataValue *data
|
343
|
+
) {
|
344
|
+
node_struct *me = (node_struct *)nodeContext;
|
345
|
+
|
346
|
+
// printf(
|
347
|
+
// "NodeId %d, %-16.*s\n",
|
348
|
+
// me->id.namespaceIndex,
|
349
|
+
// (int)me->id.identifier.string.length,
|
350
|
+
// me->id.identifier.string.data
|
351
|
+
// );
|
352
|
+
|
353
|
+
VALUE args = rb_ary_new();
|
354
|
+
rb_ary_push(args, Data_Wrap_Struct(cVarNode,NULL,NULL,me));
|
355
|
+
VALUE para = extract_value(data->value);
|
356
|
+
rb_ary_push(args,rb_ary_entry(para,0));
|
357
|
+
if (me->method != Qnil) {
|
358
|
+
rb_proc_call(me->method,args);
|
359
|
+
}
|
360
|
+
} //}}}
|
361
|
+
static UA_NodeId node_add_variable_ua(UA_Int32 type, UA_NodeId n, UA_LocalizedText dn, UA_QualifiedName qn, node_struct *parent, UA_Byte accesslevelmask, VALUE blk) { //{{{
|
339
362
|
UA_VariableAttributes vAttr = UA_VariableAttributes_default;
|
340
363
|
vAttr.displayName = dn;
|
341
364
|
vAttr.accessLevel = accesslevelmask;
|
342
365
|
|
366
|
+
node_struct *me = node_alloc(parent->master,n);
|
367
|
+
me->method = blk;
|
368
|
+
rb_gc_register_address(&blk);
|
369
|
+
rb_gc_register_address(&me->method);
|
370
|
+
|
343
371
|
UA_Server_addVariableNode(parent->master->master,
|
344
372
|
n,
|
345
373
|
parent->id,
|
@@ -347,9 +375,13 @@ static UA_NodeId node_add_variable_ua(UA_Int32 type, UA_NodeId n, UA_LocalizedTe
|
|
347
375
|
qn,
|
348
376
|
UA_NODEID_NUMERIC(0, type),
|
349
377
|
vAttr,
|
350
|
-
|
378
|
+
(void *)me,
|
351
379
|
NULL);
|
352
380
|
|
381
|
+
UA_ValueCallback callback ;
|
382
|
+
callback.onWrite = node_add_variable_callback;
|
383
|
+
UA_Server_setVariableNode_valueCallback(parent->master->master, n, callback);
|
384
|
+
|
353
385
|
UA_Server_addReference(parent->master->master,
|
354
386
|
n,
|
355
387
|
UA_NODEID_NUMERIC(0, UA_NS0ID_HASMODELLINGRULE),
|
@@ -357,15 +389,28 @@ static UA_NodeId node_add_variable_ua(UA_Int32 type, UA_NodeId n, UA_LocalizedTe
|
|
357
389
|
true);
|
358
390
|
|
359
391
|
return n;
|
360
|
-
}
|
361
|
-
static UA_NodeId node_add_variable_ua_simple(UA_Int32 type,
|
392
|
+
} //}}}
|
393
|
+
static UA_NodeId node_add_variable_ua_simple(UA_Int32 type, VALUE str, node_struct *parent, UA_Byte accesslevelmask, bool numeric, VALUE blk) { //{{{
|
394
|
+
int nodeid = nodecounter++;
|
395
|
+
char *nstr = (char *)StringValuePtr(str);
|
396
|
+
|
397
|
+
UA_NodeId n;
|
398
|
+
if (numeric) {
|
399
|
+
n = UA_NODEID_NUMERIC(parent->master->default_ns,nodeid);
|
400
|
+
rb_hash_aset(parent->master->methods,INT2NUM(nodeid),blk);
|
401
|
+
} else {
|
402
|
+
n = UA_NODEID_STRING(parent->master->default_ns,nstr);
|
403
|
+
rb_hash_aset(parent->master->methods,str,blk);
|
404
|
+
}
|
405
|
+
rb_gc_register_address(&blk);
|
362
406
|
return node_add_variable_ua(
|
363
407
|
type,
|
364
|
-
|
408
|
+
n,
|
365
409
|
UA_LOCALIZEDTEXT("en-US", nstr),
|
366
410
|
UA_QUALIFIEDNAME(parent->master->default_ns, nstr),
|
367
411
|
parent,
|
368
|
-
accesslevelmask
|
412
|
+
accesslevelmask,
|
413
|
+
blk
|
369
414
|
);
|
370
415
|
} //}}}
|
371
416
|
static VALUE node_add_variable_wrap(int argc, VALUE* argv, VALUE self, UA_Byte accesslevelmask, bool numeric) { //{{{
|
@@ -375,22 +420,28 @@ static VALUE node_add_variable_wrap(int argc, VALUE* argv, VALUE self, UA_Byte a
|
|
375
420
|
rb_raise(rb_eArgError, "wrong number of arguments");
|
376
421
|
}
|
377
422
|
|
423
|
+
Data_Get_Struct(self, node_struct, parent);
|
424
|
+
if (!parent->exists) rb_raise(rb_eRuntimeError, "Node does not exist anymore.");
|
425
|
+
|
426
|
+
VALUE name;
|
427
|
+
VALUE ttype;
|
428
|
+
VALUE blk;
|
429
|
+
rb_gc_register_address(&blk);
|
430
|
+
|
431
|
+
rb_scan_args(argc, argv, "11&", &name, &ttype, &blk);
|
432
|
+
|
378
433
|
UA_UInt32 type;
|
379
|
-
if (
|
380
|
-
type = NUM2INT(argv[1]);
|
381
|
-
} else {
|
434
|
+
if (NIL_P(ttype)) {
|
382
435
|
type = UA_NS0ID_BASEDATAVARIABLETYPE;
|
436
|
+
} else {
|
437
|
+
type = NUM2INT(ttype);
|
383
438
|
}
|
384
439
|
|
385
|
-
|
386
|
-
if (!parent->exists) rb_raise(rb_eRuntimeError, "Node does not exist anymore.");
|
387
|
-
|
388
|
-
VALUE str = rb_obj_as_string(argv[0]);
|
440
|
+
VALUE str = rb_obj_as_string(name);
|
389
441
|
if (NIL_P(str) || TYPE(str) != T_STRING)
|
390
442
|
rb_raise(rb_eTypeError, "cannot convert obj to string");
|
391
|
-
char *nstr = (char *)StringValuePtr(str);
|
392
443
|
|
393
|
-
return node_wrap(cVarNode,node_alloc(parent->master,node_add_variable_ua_simple(type,
|
444
|
+
return node_wrap(cVarNode,node_alloc(parent->master,node_add_variable_ua_simple(type,str,parent,accesslevelmask,numeric,blk)));
|
394
445
|
} //}}}
|
395
446
|
static VALUE node_add_variable(int argc, VALUE* argv, VALUE self) { //{{{
|
396
447
|
return node_add_variable_wrap(argc,argv,self,UA_ACCESSLEVELMASK_READ,true);
|
@@ -564,10 +615,22 @@ static UA_StatusCode node_manifest_iter(UA_NodeId child_id, UA_Boolean is_invers
|
|
564
615
|
UA_BrowsePathResult property = node_browse_path(parent->master->master, child_id, UA_NODEID_NUMERIC(0, UA_NS0ID_HASTYPEDEFINITION), pqn, false);
|
565
616
|
UA_QualifiedName_clear(&pqn);
|
566
617
|
|
618
|
+
VALUE blk;
|
619
|
+
if (child_id.identifierType == UA_NODEIDTYPE_NUMERIC) {
|
620
|
+
blk = rb_hash_aref(parent->master->methods,INT2NUM(child_id.identifier.numeric));
|
621
|
+
} else if (child_id.identifierType == UA_NODEIDTYPE_STRING) {
|
622
|
+
blk = rb_hash_aref(parent->master->methods,rb_str_new((const char *)child_id.identifier.string.data,child_id.identifier.string.length));
|
623
|
+
} else if (child_id.identifierType == UA_NODEIDTYPE_BYTESTRING) {
|
624
|
+
blk = rb_hash_aref(parent->master->methods,rb_str_new((const char *)child_id.identifier.byteString.data,child_id.identifier.byteString.length));
|
625
|
+
} else {
|
626
|
+
blk = Qnil;
|
627
|
+
}
|
628
|
+
|
629
|
+
|
567
630
|
if (property.statusCode == UA_STATUSCODE_GOOD) {
|
568
|
-
node_add_variable_ua(UA_NS0ID_PROPERTYTYPE,UA_NODEID_STRING(parent->master->default_ns,buffer),dn,qn,newnode,al);
|
631
|
+
node_add_variable_ua(UA_NS0ID_PROPERTYTYPE,UA_NODEID_STRING(parent->master->default_ns,buffer),dn,qn,newnode,al,blk);
|
569
632
|
} else {
|
570
|
-
node_add_variable_ua(UA_NS0ID_BASEDATAVARIABLETYPE,UA_NODEID_STRING(parent->master->default_ns,buffer),dn,qn,newnode,al);
|
633
|
+
node_add_variable_ua(UA_NS0ID_BASEDATAVARIABLETYPE,UA_NODEID_STRING(parent->master->default_ns,buffer),dn,qn,newnode,al,blk);
|
571
634
|
}
|
572
635
|
|
573
636
|
UA_BrowsePathResult_clear(&property);
|
data/opcua.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "opcua"
|
3
|
-
s.version = "0.
|
3
|
+
s.version = "0.22"
|
4
4
|
s.platform = Gem::Platform::RUBY
|
5
5
|
s.license = "LGPL-3.0"
|
6
6
|
s.summary = "Preliminary release of opcua (open62541) ruby bindings. C performance, Ruby elegance, simplicity, and productivity."
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
|
16
16
|
s.required_ruby_version = '>=2.5.0'
|
17
17
|
|
18
|
-
s.authors = ['Juergen eTM Mangler','Florian Pauker']
|
18
|
+
s.authors = ['Juergen eTM Mangler','Florian Pauker','Matthias Ehrendorfer']
|
19
19
|
|
20
20
|
s.email = 'juergen.mangler@gmail.com'
|
21
21
|
s.homepage = 'https://github.com/etm/opcua-smart'
|
metadata
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opcua
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.22'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
8
8
|
- Florian Pauker
|
9
|
-
|
9
|
+
- Matthias Ehrendorfer
|
10
|
+
autorequire:
|
10
11
|
bindir: tools
|
11
12
|
cert_chain: []
|
12
|
-
date:
|
13
|
+
date: 2021-01-23 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: daemonite
|
@@ -84,6 +85,7 @@ files:
|
|
84
85
|
- example/server.rb
|
85
86
|
- example/server_deep.rb
|
86
87
|
- example/server_values.rb
|
88
|
+
- example/server_values_callback.rb
|
87
89
|
- example/server_xml.rb
|
88
90
|
- example/test.rb
|
89
91
|
- ext/opcua/client/client.c
|
@@ -123,7 +125,7 @@ homepage: https://github.com/etm/opcua-smart
|
|
123
125
|
licenses:
|
124
126
|
- LGPL-3.0
|
125
127
|
metadata: {}
|
126
|
-
post_install_message:
|
128
|
+
post_install_message:
|
127
129
|
rdoc_options: []
|
128
130
|
require_paths:
|
129
131
|
- lib
|
@@ -138,8 +140,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
140
|
- !ruby/object:Gem::Version
|
139
141
|
version: '0'
|
140
142
|
requirements: []
|
141
|
-
rubygems_version: 3.1.
|
142
|
-
signing_key:
|
143
|
+
rubygems_version: 3.1.4
|
144
|
+
signing_key:
|
143
145
|
specification_version: 4
|
144
146
|
summary: Preliminary release of opcua (open62541) ruby bindings. C performance, Ruby
|
145
147
|
elegance, simplicity, and productivity.
|