[JIRA IOT-738] fixed to calculate message length for option
authorjihwan.seo <jihwan.seo@samsung.com>
Wed, 23 Sep 2015 07:59:36 +0000 (16:59 +0900)
committerPatrick Lankswert <patrick.lankswert@intel.com>
Thu, 24 Sep 2015 15:10:54 +0000 (15:10 +0000)
commitc77eae61f8232159e9d1e0e23b46f6cfb2ea4b5e
tree36f3ed6c2154eb53a04206ec188458498f806421
parentc9f56d7146b8c9e9fb69b9b0e4fa59cd3fbbb85d
[JIRA IOT-738] fixed to calculate message length for option

message length in Header is wrong
for long option number and value for CoAP over TCP

Change-Id: I72452c07e2b5ffe43749cae5c3a4bae6d7c2f3f2
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2985
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Patrick Lankswert <patrick.lankswert@intel.com>
resource/csdk/connectivity/inc/caprotocolmessage.h
resource/csdk/connectivity/lib/libcoap-4.1.1/pdu.c
resource/csdk/connectivity/lib/libcoap-4.1.1/pdu.h
resource/csdk/connectivity/src/caprotocolmessage.c