Commit 1b41b88f authored by Ivan Tyagov's avatar Ivan Tyagov

Remove Id from subscribed fields.

parent 3e5375e7
......@@ -7,7 +7,7 @@ static unsigned int HEART_BEATS = 0;
// handling coupler's state
static unsigned int CURRENT_STATE;
const int STATE_UP =1;
const int STATE_UP = 1;
const int STATE_DOWN = 0;
const int STATE_NO_INITIAL_HEART_BEAT = 2;
......
......@@ -269,12 +269,12 @@ static void fillTestDataSetMetaData(UA_DataSetMetaDataType *pMetaData) {
pMetaData->fields[0].valueRank = -1; /* scalar */
// ID
UA_FieldMetaData_init (&pMetaData->fields[1]);
UA_NodeId_copy (&UA_TYPES[UA_TYPES_UINT32].typeId,
&pMetaData->fields[1].dataType);
pMetaData->fields[1].builtInType = UA_NS0ID_UINT32;
pMetaData->fields[1].name = UA_STRING ("ID (subscribed)");
pMetaData->fields[1].valueRank = -1; /* scalar */
//UA_FieldMetaData_init (&pMetaData->fields[1]);
//UA_NodeId_copy (&UA_TYPES[UA_TYPES_UINT32].typeId,
// &pMetaData->fields[1].dataType);
//pMetaData->fields[1].builtInType = UA_NS0ID_UINT32;
//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