Coap架构图

../../../_images/protocol_coap_architecture.png

coap与mqtt对比:

Rest  =   Message
one_to_one    =   many_to_many
req/resp      =   pub/sub