-
Notifications
You must be signed in to change notification settings - Fork 11
/
opcua_binary-activate_session.pac
54 lines (42 loc) · 1.58 KB
/
opcua_binary-activate_session.pac
1
2
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
## opcua_binary-activate_session.pac
##
## OPCUA Binary Protocol Analyzer
##
## Binpac code for processing the activate session service.
##
## Author: Kent Kvarfordt
## Contact: kent.kvarfordt@inl.gov
##
## Copyright (c) 2022 Battelle Energy Alliance, LLC. All rights reserved.
#
# UA Specification Part 4 - Services 1.04.pdf - ActivateSession Service
#
# 5.6.3.2 - Table 17 - ActivateSession Service Parameters
#
type Activate_Session_Req(service: Service) = record {
req_hdr : Request_Header;
client_signature : OpcUA_SignatureData;
client_software_size : int32;
client_software_cert : OpcUA_SignedSoftwareCertificate[$context.flow.bind_length(client_software_size)];
locale_id_size : int32;
locale_id : OpcUA_LocaleId[$context.flow.bind_length(locale_id_size)];
user_identity_token : OpcUA_ExtensionObject;
user_token_signature : OpcUA_SignatureData;
} &let {
deliver: bool = $context.flow.deliver_Svc_ActivateSessionReq(this);
} &byteorder=littleendian;
#
# UA Specification Part 4 - Services 1.04.pdf - ActivateSession Service
#
# 5.6.3.2 - Table 17 - ActivateSession Service Parameters
#
type Activate_Session_Res(service: Service) = record {
res_hdr : Response_Header;
server_nonce : OpcUA_ByteString;
result_size : int32;
results : OpcUA_StatusCode[$context.flow.bind_length(result_size)];
diagnostic_info_size : int32;
diagnostic_info : OpcUA_DiagInfo[$context.flow.bind_length(diagnostic_info_size)];
} &let {
deliver: bool = $context.flow.deliver_Svc_ActivateSessionRes(this);
} &byteorder=littleendian;