msharee9 edited a comment on issue #674: Minificpp 1007 - ECU C2 integration.
URL: https://github.com/apache/nifi-minifi-cpp/pull/674#issuecomment-558744961
 
 
   > @msharee9 Just started the review, I am releasing what I have so far, but 
I have fundamental questions before continuing the C2 part of the review.
   > What's the purpose of using CBOR for C2 payload serialization? Is this 
minifi's C2 CoAP reimplemented? If so, I don't believe that uses CBOR, but a 
custom binary format, so I don't believe it is compatible. Is this purposely a 
new serialization format? How does it relate to 
https://cwiki.apache.org/confluence/display/MINIFI/C2+Design ?
   
   We are using CBOR for serde of C2 protocol in nanofi. CBOR has an out of the 
box api for decoding and encoding information without having to have a schema. 
It is tedious to write but it is smart enough to pack object types concisely.
   As we discussed in the last meeting we will eventually march towards having 
a single CoAP/C2 implementation in C and use it for both NanoFi and MiniFI. 
This is not reimplementation of minifi heartbeat. The information sent in 
nanofi heartbeat is different from minifi. Especially the agent manifest.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to