[JIRA IOT-780,782,783] fixed an error logic in sampleApp of Resource-Encapsulation.
authorHeewon Park <h_w.park@samsung.com>
Mon, 5 Oct 2015 14:24:21 +0000 (23:24 +0900)
committerMadan Lanka <lanka.madan@samsung.com>
Tue, 6 Oct 2015 09:33:42 +0000 (09:33 +0000)
commit011ee68461e7624a52dc38e5c1eaa4454df72ed7
tree1ce68d2f1e3740dc0c1875e8099285bf0cd2b687
parenta9100613ba210cd1c6378c60a7311f235dfd13e6
[JIRA IOT-780,782,783] fixed an error logic in sampleApp of Resource-Encapsulation.

-When server is created for Light-Sensor,the server can't response for Get-Request.
-When user inserts invalid input, sample app was not work normally.
-Fixed sampleApp input logics.

Change-Id: I94d1ba4b1293f730ba185af847976b0e9d13d816
Signed-off-by: Heewon Park <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3475
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 358cbad6184d3fd33ac96fc0f34c2ca4992bccfc)
Reviewed-on: https://gerrit.iotivity.org/gerrit/3549
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
service/resource-encapsulation/examples/linux/SampleResourceServer.cpp [changed mode: 0644->0755]