netutils/er-coap: add to support TCP/TLS as per the RFC
authorJin-Seong Kim <jseong82.kim@samsung.com>
Mon, 20 Mar 2017 06:26:39 +0000 (15:26 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:03 +0000 (12:02 +0900)
commit1fcee7646abe5caba5db02e4710b8e16e57b3595
tree0f5e20eeede3578b462d0d8b612ea1a2f90c7fee
parentd98469c8f23f263aab6f59922a33c5b2e2f83330
netutils/er-coap: add to support TCP/TLS as per the RFC

RFC reference : https://tools.ietf.org/html/draft-ietf-core-coap-tcp-tls-02
 - patch is available from https://github.com/artikcloud/artikcloud-lwm2m-c
 - Author: Gregory Lemercier <g.lemercier@samsung.com>

Implementation required the following modifications:
 - Passing the token as an argument to the registration frame
 - Implementation of the "nibble" variable length header in CoAP
   for TCP as detailed in the current draft of the specification.
   Note that this might change later as the RFC undergoes changes

Change-Id: Ie94defbc30272c6a1e88c09dc246ebfd09d3bb48
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
apps/include/netutils/er-coap/er-coap-13.h
apps/include/netutils/er-coap/er-coap-conf.h
apps/netutils/er-coap/er-coap-13.c