Commit 5ae38787 authored by Ivan Tyagov's avatar Ivan Tyagov

UUID -> ID (WIP).

parent 1510d153
......@@ -237,10 +237,10 @@ int main(int argc, char **argv)
.pdefaultValue = &defaultInt64,
.type = UA_TYPES[UA_TYPES_INT64]
},
// represnting the UUID of the coupler
// representing the ID of the coupler
{
.name = "uuid",
.description = "UUID",
.name = "id",
.description = "ID",
.pdefaultValue = &defaultInt64,
.type = UA_TYPES[UA_TYPES_INT64]
}
......
......@@ -210,12 +210,12 @@ static void fillTestDataSetMetaData(UA_DataSetMetaDataType *pMetaData) {
pMetaData->fields[0].name = UA_STRING ("Heartbeat (subscribed)");
pMetaData->fields[0].valueRank = -1; /* scalar */
// UUID
// ID
UA_FieldMetaData_init (&pMetaData->fields[1]);
UA_NodeId_copy (&UA_TYPES[UA_TYPES_INT64].typeId,
&pMetaData->fields[1].dataType);
pMetaData->fields[1].builtInType = UA_NS0ID_INT64;
pMetaData->fields[1].name = UA_STRING ("UUID (subscribed)");
pMetaData->fields[1].name = UA_STRING ("ID (subscribed)");
pMetaData->fields[1].valueRank = -1; /* scalar */
}
......
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