Skip to content

Commit

Permalink
FOGL-8135 Deal with reserved characters in linked data mechanism (#1179)
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Riddoch <[email protected]>
  • Loading branch information
MarkRiddoch authored Oct 4, 2023
1 parent c0bd7d1 commit ebd9450
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions C/plugins/north/OMF/linkdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ string OMFLinkedData::processReading(const Reading& reading, const string& AFHi

Logger::getLogger()->debug("Processing %s (%s) using Linked Types", assetName.c_str(), DataPointNamesAsString(reading).c_str());

assetName = OMF::ApplyPIServerNamingRulesObj(assetName, NULL);

bool needDelim = false;
if (m_assetSent->count(assetName) == 0)
{
Expand Down Expand Up @@ -136,6 +138,7 @@ string OMFLinkedData::processReading(const Reading& reading, const string& AFHi
// Don't send the OMF Hint to the PI Server
continue;
}
dpName = OMF::ApplyPIServerNamingRulesObj(dpName, NULL);
if (!isTypeSupported(dp->getData()))
{
skippedDatapoints.push_back(dpName);
Expand Down

0 comments on commit ebd9450

Please sign in to comment.