Re: zoap architecture question...

Nashif, Anas

Vinicius can say more, but there was an early POC on top of the new stack a few weeks back, the plan is to move to new IP stack for 1.6 and ASAP. covers this.

As for LWM2M, there is no activity on this front yet, but intention and plan are there. See


-----Original Message-----
From: Marcus Shawcroft [mailto:marcus.shawcroft(a)]
Sent: Wednesday, September 21, 2016 3:33 AM
To: Gomes, Vinicius <vinicius.gomes(a)>
Cc: devel(a)
Subject: [devel] Re: zoap architecture question...

Hi Vinicius

On 20 September 2016 at 15:03, Vinicius Costa Gomes <vinicius.gomes(a)> wrote:

Just a little background: when I wrote sol-coap, for the Soletta
project, I took the opposite way, I tried to handle everything inside
sol-coap. In the end, some users were coding around some of the

zoap, for now, will stay out of users way, at the cost of some
repeated code. Later, hhen we have a couple of concrete use cases,
zoap will become more opinionated.

- corrupt packet, header incomplete (no message id)
-> ignore it
- corrupt packet, but header complete (included message id)
-> ignore unrecognized versions
-> respond with con on reset messages.

Lowering this logic into the coap layer encapsulates it in one place,
which should be simpler to verify, and, at least superficially should
simplify the implementation of coap consumers.... are there other
issues involved here that make is desirable to push such logic
There are a couple of points that should be taken into consideration:

- zoap is largely independent of the network stack (by design) and it
doesn't have any buffers of its own;
- zoap doesn't have all the information to handle that correctly, for
example, an application may choose to ignore all invalid packets from
a multicast address, to avoid increasing the noise;
Thanks, I appreciate you taking the time to explain some of the relevant back ground issues.

But as always, if you have ideas (or patches :-) ) so we can reach the
middle ground faster, I am all ears.
Understood ;-)

... just two more questions...
- What are your thoughts / plan for zoap on yaip?
- Are you aware of anyone working on lwm2m over zoap ?



Join to automatically receive all group messages.