Commit e2bc4742 authored by Ivan Tyagov's avatar Ivan Tyagov

Cleanup.

parent cd0df529
...@@ -236,7 +236,7 @@ int main(int argc, char **argv) ...@@ -236,7 +236,7 @@ int main(int argc, char **argv)
.name = "heart_beat", .name = "heart_beat",
.description = "Heart beat", .description = "Heart beat",
.pdefaultValue = &defaultInt64, .pdefaultValue = &defaultInt64,
.type = UA_TYPES[UA_TYPES_INT64], .type = UA_TYPES[UA_TYPES_INT64]
} }
}; };
...@@ -247,7 +247,6 @@ int main(int argc, char **argv) ...@@ -247,7 +247,6 @@ int main(int argc, char **argv)
UA_ServerConfig_addPubSubTransportLayer(config, UA_PubSubTransportLayerUDPMP()); UA_ServerConfig_addPubSubTransportLayer(config, UA_PubSubTransportLayerUDPMP());
addPubSubConnection(server, &transportProfile, &networkAddressUrl); addPubSubConnection(server, &transportProfile, &networkAddressUrl);
addPublishedDataSet(server); addPublishedDataSet(server);
//addDataSetField(server);
for(i = 0; i < countof(publishedVariableArray); i++) { for(i = 0; i < countof(publishedVariableArray); i++) {
addPubSubVariable(server, publishedVariableArray[i]); addPubSubVariable(server, publishedVariableArray[i]);
addPubSubDataSetField(server, publishedVariableArray[i]); addPubSubDataSetField(server, publishedVariableArray[i]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment