Thanks for all advices!

> but, being CBOR based, defined in CDDL, there are no actual fixed fields.
> I question the need for a *new* message-oriented system.
 The "fixed field" refers  to the "MESSAGE_TYPE" and 
"session-id" contained by all GRASP/cGRASP messages. The 
"message-oriented" refers to the fact that cGRASP's reliability mechanism 
operates at the message level, unlike the TCP's packet-level acknowledgements.


> the smallest integer is 1
> byte, and it stores 24 values.  Might as well use them ...
The 1-byte CBOR can indeed be used for integers under 24. All the CBOR related 
issues will be checked and corrected.


 
 
------------------ Original ------------------
From: &nbsp;"Brian&nbsp;E&nbsp;Carpenter"<[email protected]&gt;;
Date: &nbsp;Mon, May 12, 2025 04:02 AM
To: &nbsp;"Michael Richardson"<[email protected]&gt;; "Toerless 
Eckert"<[email protected]&gt;; "anima"<[email protected]&gt;; 

Subject: &nbsp;[Anima] Re: Adoption call for constrained GRASP ( 
draft-zhu-anima-lightweight-grasp )

&nbsp;

A couple more comments:
On 11-May-25 21:45, Michael Richardson wrote:
&gt; 
&gt; I have read draft-zhu-anima-lightweight-grasp-03.
&gt; It's not my first time reading this draft.
&gt; The draft is much improved.
&gt; I do not see a need for this protocol myself, but if there are others who
&gt; would implement it, then I have no objection to adoption.
&gt; 
&gt; There are several classes of IoT deployments.
&gt; These are somewhat related to the RFC7228(bis):
&gt; 
&gt; The class 2/3 devices run Zyphyr,Contiki,RIOT-OS,Ariel, and make use of
&gt; CoAP.&nbsp; These are what the *IETF* considers to be IoT, and it's mostly 
e2e,
&gt; (i.e, device to device).
&gt; It would be lovely if such small devices could self-manage, but I'm 
skeptical.
&gt; 
&gt; Meanwhile, a lot of the IIoT verticales use class 4,10,15 devices.
&gt; Yes, literally RPI sometimes. These are almost all device to cloud.
&gt; Often mains powered, over WiFI, not 802.15.4.
&gt; (and the latest lower power ethernet, obsoletes much of 802.15.4, which is
&gt; now 15 years since standard, and 20 years since conception)
&gt; 
&gt; So, when statements are made about how expensive TCP is in section 1, then
&gt; this needs to be more clearly qualified.
&gt; 
&gt; ***
&gt; It would also be good to understand what your implementation experience is.
&gt; ***
&gt; 
&gt; Section 4 says:
&gt; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp; cGRASP has made modifications to the standard 
GRASP by reducing the
&gt;&nbsp;&nbsp;&nbsp;&nbsp; fixed fields and introducing a message-oriented 
built-in reliability
&gt;&nbsp;&nbsp;&nbsp;&nbsp; mechanism with the acknowledgment and 
retransmission capability based
&gt;&nbsp;&nbsp;&nbsp;&nbsp; on Nonce.
&gt; 
&gt; but, being CBOR based, defined in CDDL, there are no actual fixed fields.
&gt; I question the need for a *new* message-oriented system.
&gt; 
&gt; ....
&gt;&nbsp;&nbsp;&nbsp;&nbsp; the cGRASP Objective option is uniquely identified 
by an 8-bit number
&gt;&nbsp;&nbsp;&nbsp;&nbsp; (i.e., objective-num), with the remaining fields 
keeping consistent
&gt; 
&gt; but CBOR doesn't do 8-bit number fields.&nbsp; It has 1-byte (0-24), 2-byte
&gt; (0-255), etc.&nbsp; Using smaller numbers means smaller fields.&nbsp; 
There is no
&gt; reason to limit things like this.
&gt; 
&gt; }&nbsp;&nbsp; Instead of using the text string with indefinite length 
(i.e.,
&gt; 
&gt; I don't think 8990 says to use an indefinite length string.
&gt; I think it was early in the CBOR space, so we didn't say anything about 
that,
&gt; but if you asked me, I'd say not to do that.

There's no maximum size specified in 8990, intentionally. But since cGRASP
says:
"Each generic cGRASP Objective MUST be assigned a unique objective number and 
be made public to all cGRASP nodes when it's registered."
surely an IANA registry will be needed?

&gt; 
&gt; The bit-packing in 4.2.1 is also inappropriate, the smallest integer is 1
&gt; byte, and it stores 24 values.&nbsp; Might as well use them.

This is just copied from RFC 8990. The idea was that flags could be combined
arbitrarily.

&nbsp;&nbsp;&nbsp; Brian
&nbsp; 
&gt; I see that 5.1 puts all cGRASP messages over CoAP.&nbsp; Good.
&gt; But, given the difficulty of mapping things, maybe ... don't.
&gt; Start over with CoAP thinking.&nbsp; How can it interact with OBSERVE, 
COAPS(DTLS), OSCORE
&gt; and EDHOC?
&gt; 
&gt; 
&gt; 
&gt; 
&gt; 
&gt; --
&gt; Michael Richardson <[email protected]&gt;, Sandelman Software Works
&gt;&nbsp;&nbsp; -= IPv6 IoT consulting 
=-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 *I*LIKE*TRAINS*
&gt; 
&gt; 
&gt; 
&gt; 
&gt; _______________________________________________
&gt; Anima mailing list -- [email protected]
&gt; To unsubscribe send an email to [email protected]

_______________________________________________
Anima mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
Anima mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to