Content deleted Content added
→Features: Adding link to IETF document describing "Best practices for HTTP-CoAP mapping implementation". |
m typos, ful reference, removal of non-existing reference |
||
Line 2:
{{context|date=August 2011}}
'''Constrained Application Protocol''' (CoAP)
The Internet Engineering Task Force ([[IETF]]) Constrained [[RESTful]] environments ([[CoRE]]) Working Group has done the major standardization work for this protocol. In order to make the protocol suitable to IoT and M2M applications, various new functionalities have been added <ref>[https://datatracker.ietf.org/wg/core/ The CORE WG's IETF Area]</ref>. This protocol is still under development.
Line 21:
==Message Formats==
CoAP makes use of two message types, requests and responses, using a simple binary base header format. The base header may be followed by options in ICMP-style Type-Length-Value format. CoAP is by default bound to UDP and optionally to TCP
Any bytes after the headers in the packet are considered the message body if any. The length of the message body is implied by the datagram length. When bound to UDP the entire message MUST fit within a single datagram. When used with [[6LoWPAN]] as defined in [http://tools.ietf.org/html/rfc4944 RFC 4944], messages SHOULD fit into a single IEEE 802.15.4 frame to minimize fragmentation.
== References ==
|