37 using namespace OpcUa;
45 item.
Class = NodeClass::Variable;
57 attr.
AccessLevel = VariableAccessLevel::CurrentRead;
66 const std::vector<char> expectedData =
68 2 , 0 , 0 , (char)0x55 , 0 , 0 , 0 ,
69 2 , 0 , 0 , (
char)0x2f , 0 , 0 , 0 ,
70 2 , 3 , 0 , (char)0x63 , 0 , 0 , 0 ,
71 2 , 0 , 4 , 0 , 0 , 0 , (
char)0x74 , (char)0x69 , (
char)0x74 , (char)0x69 ,
74 1 , 0 , (
char)0x65 , 1 ,
77 (char)0x3d , 0 , 0 , 0 ,
78 (
char)0x73 , (char)0x12 , (
char)0x3d , 0 ,
79 2 , 4 , 0 , 0 , 0 , (char)0x74 , (
char)0x69 , (char)0x74 , (
char)0x69 ,
80 2 , 4 , 0 , 0 , 0, (char)0x74 , (
char)0x69 , (char)0x74 , (
char)0x69 ,
86 2, 0 , 0 , 7 , 0 , 0, 0,
88 (char)0xff , (
char)0xff , (char)0xff , (
char)0xff ,
91 0 , 0 , 0 , 0 , 0, 0, (char)0xf0, (
char)0x3f,
93 2, 0, 0, (char)0x3e, 0 , 0, 0
TEST_F(AddNodesSerialization, AddNodesItem)
const char LocalizedText[]
std::string PrintData(const std::vector< char > &vec)
Test of opc ua binary handshake. GNU LGPL.
TypeWithSize< 4 >::UInt UInt32
LocalizedText Description
Opc Ua Binary. Subscription service. GNU LGPL.
NodeId RequestedNewNodeId
OStream< ChannelType > & flush(OStream< ChannelType > &os)
VariableAccessLevel UserAccessLevel
Duration MinimumSamplingInterval
LocalizedText DisplayName
OPC UA Address space part. GNU LGPL.
const char HasComponent[]
#define ASSERT_EQ(val1, val2)
VariableAccessLevel AccessLevel
OutputChannel & GetChannel()
BinaryOStream & GetStream()
NodeAttributes Attributes
const char AddNodesItem[]
const char BaseVariableType[]
std::size_t RawSize(const T &obj)