Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
kzangeli committed Apr 15, 2024
1 parent 85343d6 commit 296e0c9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/lib/orionld/dds/NgsildSubscriber.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,13 @@ class NgsildSubscriber
{
samples_++;
KT_T(StDds, "Entity Id: %s with type: %s RECEIVED.", ngsildEntity_.id().c_str(), ngsildEntity_.type().c_str());

// accumulate

//
// Accumulate notifications
//
KjNode* dump = kjObject(NULL, "item"); // No name as part of array
KjNode* idP = kjString(NULL, "id", ngsildEntity_.id().c_str());
KjNode* typeP = kjString(NULL, "type", ngsildEntity_.type().c_str());
KjNode* typeP = kjString(NULL, "type", ngsildEntity_.type().c_str());

kjChildAdd(dump, idP);
kjChildAdd(dump, typeP);
Expand Down

0 comments on commit 296e0c9

Please sign in to comment.