At ANSTO we use JSON so do not bypass the formatting
This commit is contained in:
@@ -634,8 +634,11 @@ static hdbCallbackReturn SICSNotifyCallback(pHdb node, void *userData,
|
|||||||
}
|
}
|
||||||
formatNameValue(protocol, pPath, GetCharArray(printedData), result,
|
formatNameValue(protocol, pPath, GetCharArray(printedData), result,
|
||||||
mm->v->dataType);
|
mm->v->dataType);
|
||||||
/* SCWrite(cbInfo->pCon, GetCharArray(result), outCode); */
|
#ifdef SITE_ANSTO
|
||||||
|
SCWrite(cbInfo->pCon, GetCharArray(result), outCode);
|
||||||
|
#else
|
||||||
SCPureSockWrite(cbInfo->pCon, GetCharArray(result), outCode);
|
SCPureSockWrite(cbInfo->pCon, GetCharArray(result), outCode);
|
||||||
|
#endif
|
||||||
DeleteDynString(printedData);
|
DeleteDynString(printedData);
|
||||||
} else {
|
} else {
|
||||||
formatNameValue(protocol, pPath, "!!datachange!!", result, HIPTEXT);
|
formatNameValue(protocol, pPath, "!!datachange!!", result, HIPTEXT);
|
||||||
|
|||||||
Reference in New Issue
Block a user