From 3bc14f90ecafe7a5ebfae2f25015d5be11e38ff9 Mon Sep 17 00:00:00 2001 From: Heewon Park Date: Mon, 12 Oct 2015 19:47:02 +0900 Subject: [PATCH] fixed Resource-encapsulation sampleApplication bug. - when called 'getCachedAttribute' function, client can't get cached attribute because of mismatching key of 'attribute'. Change-Id: I6248d2ff34d422fae4b8daf4df8b50804f4745b7 Signed-off-by: Heewon Park Reviewed-on: https://gerrit.iotivity.org/gerrit/3803 Tested-by: jenkins-iotivity Reviewed-by: Uze Choi --- service/resource-encapsulation/examples/linux/SampleResourceClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/resource-encapsulation/examples/linux/SampleResourceClient.cpp b/service/resource-encapsulation/examples/linux/SampleResourceClient.cpp index 68c6f66..98d7076 100755 --- a/service/resource-encapsulation/examples/linux/SampleResourceClient.cpp +++ b/service/resource-encapsulation/examples/linux/SampleResourceClient.cpp @@ -393,7 +393,7 @@ bool selectResourceType(std::string& resourceType) return true; case REQUEST_LIGHT: resourceType = LIGHT; - defaultKey = "Light"; + defaultKey = "Brightness"; return true; default : std::cout << "Invalid input, please try again" << std::endl; -- 2.7.4