Modify CAGeneratePDUImpl to take the payload size as a parameter
authorThiago Macieira <thiago.macieira@intel.com>
Tue, 12 May 2015 07:23:14 +0000 (16:23 +0900)
committerErich Keane <erich.keane@intel.com>
Tue, 12 May 2015 16:54:34 +0000 (16:54 +0000)
commit380683ce8aa822c42c8fd68e9f2b19f965ab27cf
treeca14b97d8cde81f5fdf1bde4b8ec7d34892159db
parentdae51bf478fc985769ab50aba0c848a75977d4a9
Modify CAGeneratePDUImpl to take the payload size as a parameter

This is required to send binary payloads, like CBOR is. It's also a good
idea so we don't have to do strlen all the time.

Change-Id: I66a35ce5f88941f29aa6ffff13dd68b7b06f7fe2
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/966
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/connectivity/inc/caprotocolmessage.h
resource/csdk/connectivity/src/caprotocolmessage.c