Implement Binary String transit type in C++ stack
authorTodd Malsbary <todd.malsbary@intel.com>
Tue, 26 Apr 2016 20:41:55 +0000 (13:41 -0700)
committerJon A. Cruz <jon@joncruz.org>
Wed, 25 May 2016 06:45:04 +0000 (06:45 +0000)
commit04d50bb11e47b497f4e348cbb1abf134162e6c10
treea7d34045bf30404306a63c91ec3c84bf6e27ddc3
parentddc4143aa25cb5788c3887e2e198291cb606773f
Implement Binary String transit type in C++ stack

The C stack got a Binary String component here:
https://gerrit.iotivity.org/gerrit/#/c/2337/

This patch implements it in the C++ stack, and validates it in the unit
test.

Note that this patch does NOT do binary-string-array, but this patch
should be able to demonstrate the effort involved.

Change-Id: I2fd6341f3d84539c3ad5450279f1d755ba211fd6
Signed-off-by: Erich Keane <erich.keane@intel.com>
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7937
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Tim Kourt <tim.a.kourt@intel.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
android/android_api/base/jni/JniOcRepresentation.cpp
android/android_api/base/jni/JniOcRepresentation.h
android/android_api/base/src/androidTest/java/org/iotivity/base/OcRepresentationTest.java
android/android_api/base/src/main/java/org/iotivity/base/OcRepresentation.java
resource/include/AttributeValue.h
resource/include/OCRepresentation.h
resource/src/OCRepresentation.cpp
resource/unittests/OCRepresentationEncodingTest.cpp