37 using namespace OpcUa;
50 const std::vector<char> expectedData =
52 0, 0, 0, 0, (char)0x80, (
char)0x4f, (char)0x32, (
char)0x41,
66 using namespace OpcUa;
69 const std::vector<char> expectedData =
71 0, 0, 0, 0, (char)0x80, (
char)0x4f, (char)0x32, (
char)0x41,
98 using namespace OpcUa;
118 const std::vector<char> expectedData =
120 1, 0, (char)0x13, 0x3,
125 0, 0, 0, 0, (
char)0x80, (char)0x4f, (
char)0x32, (char)0x41,
139 using namespace OpcUa;
142 const std::vector<char> expectedData =
144 1, 0, (char)0x13, 0x3,
149 0, 0, 0, 0, (
char)0x80, (char)0x4f, (
char)0x32, (char)0x41,
183 using namespace OpcUa;
194 const std::vector<char> expectedData =
197 0, 0, 0, 0, (char)0x80, (
char)0x4f, (char)0x32, (
char)0x41,
208 using namespace OpcUa;
211 const std::vector<char> expectedData =
214 0, 0, 0, 0, (char)0x80, (
char)0x4f, (char)0x32, (
char)0x41,
235 using namespace OpcUa;
253 const std::vector<char> expectedData =
255 1, 0, (char)0x16, 0x3,
261 0, 0, 0, 0, (
char)0x80, (char)0x4f, (
char)0x32, (char)0x41,
272 using namespace OpcUa;
275 const std::vector<char> expectedData =
277 1, 0, (char)0x16, 0x3,
283 0, 0, 0, 0, (
char)0x80, (char)0x4f, (
char)0x32, (char)0x41,
312 using namespace OpcUa;
321 const std::vector<char> expectedData =
333 using namespace OpcUa;
336 const std::vector<char> expectedData =
404 using namespace OpcUa;
423 const std::vector<char> expectedData =
425 1, 0, (char)0x3A, 0x3,
442 using namespace OpcUa;
445 const std::vector<char> expectedData =
447 1, 0, (char)0x3A, 0x3,
478 using namespace OpcUa;
488 const std::vector<char> expectedData =
491 2, 0, 0, 0, 0, 0, 0, 0,
505 using namespace OpcUa;
508 const std::vector<char> expectedData =
511 2, 0, 0, 0, 0, 0, 0, 0,
533 using namespace OpcUa;
545 result.
Results.push_back(StatusCode::Good);
557 const std::vector<char> expectedData =
568 2, 0, 0, 0, 0, 0, 0, 0,
589 using namespace OpcUa;
592 const std::vector<char> expectedData =
603 2, 0, 0, 0, 0, 0, 0, 0,
637 using namespace OpcUa;
667 const std::vector<char> expectedData =
669 1, 0, (char)0x3D, 0x3,
683 2, 0, 0, 0, 0, 0, 0, 0,
750 using namespace OpcUa;
753 const std::vector<char> expectedData =
755 1, 0, (char)0x3D, 0x3,
769 2, 0, 0, 0, 0, 0, 0, 0,
804 using namespace OpcUa;
813 const std::vector<char> expectedData =
845 using namespace OpcUa;
848 const std::vector<char> expectedData =
871 using namespace OpcUa;
887 const std::vector<char> expectedData =
889 1, 0, (char)0x1F, 0x3,
906 using namespace OpcUa;
909 const std::vector<char> expectedData =
911 1, 0, (char)0x1F, 0x3,
983 using namespace OpcUa;
986 const std::vector<char> expectedData =
1070 using namespace OpcUa;
1073 const std::vector<char> expectedData =
1075 1, 0, (char)0x22, 0x3,
TEST_F(SubscriptionSerialization, CreateSubscriptionParameters)
std::vector< OpcUa::DiagnosticInfo > DiagnosticInfos
#define TEST_RESPONSE_HEADER_BINARY_DATA
OpcUa::CreateSubscriptionParameters Parameters
std::string PrintData(const std::vector< char > &vec)
Test of opc ua binary handshake. GNU LGPL.
std::vector< OpcUa::NotificationData > NotificationData
OpcUa::PublishingModeParameters Parameters
double RequestedPublishingInterval
uint32_t MaxNotificationsPerPublish
std::vector< OpcUa::StatusCode > Results
uint32_t RevisedLifetimeCount
uint32_t RequestedMaxKeepAliveCount
#define ASSERT_REQUEST_HEADER_EQ(header)
OStream< ChannelType > & flush(OStream< ChannelType > &os)
OpcUa::DateTime PublishTime
double RevisedPublishingInterval
uint32_t RequestedLifetimeCount
OpcUa::ResponseHeader Header
std::shared_ptr< DiagnosticInfo > InnerDiagnostics
std::vector< uint32_t > SubscriptionIds
Opc Ua Binary. Subscription service. GNU LGPL.
#define FILL_TEST_RESPONSE_HEADER(header)
#define TEST_REQUEST_HEADER_BINARY_DATA
#define FILL_TEST_REQUEST_HEADER(header)
DiagnosticInfoMask EncodingMask
struct OpcUa::NodeId::FourByteDataType FourByteData
OPC UA Address space part. GNU LGPL.
uint32_t RevisedMaxKeepAliveCount
OpcUa::PublishResult Parameters
OpcUa::ResponseHeader Header
#define ASSERT_RESPONSE_HEADER_EQ(header)
OpcUa::ResponseHeader Header
std::vector< OpcUa::StatusCode > Results
OpcUa::RequestHeader Header
OpcUa::PublishingModeResult Result
std::vector< OpcUa::DiagnosticInfo > DiagnosticInfos
#define ASSERT_EQ(val1, val2)
OpcUa::SubscriptionData Data
OpcUa::RequestHeader Header
std::vector< uint32_t > AvailableSequenceNumbers
OutputChannel & GetChannel()
BinaryOStream & GetStream()
OpcUa::NotificationMessage NotificationMessage
std::vector< OpcUa::SubscriptionAcknowledgement > SubscriptionAcknowledgements
OpcUa::RequestHeader Header
const char DiagnosticInfo[]
std::size_t RawSize(const T &obj)