Commit 45837c22 authored by coderhyme's avatar coderhyme Committed by Uze Choi

[IOT-1208] fix for jira issue

It works as expected, server sample set sensor interface as its default interface. And the sensor interface does not support set request by the core spec.

I feel server and client sample should work as pair, which means sample server needs to support set request. So sample server is modified.

Change-Id: Ib2ff696c18ba5449300dff833d2dfdc7e2d7c8bb
Signed-off-by: default avatarcoderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6209Reviewed-by: default avatarUze Choi <uzchoi@samsung.com>
Tested-by: default avatarUze Choi <uzchoi@samsung.com>
parent 53b84166
......@@ -124,7 +124,7 @@ void initServer(const std::string& resourceUri, const std::string& resourceType,
g_resource = RCSResourceObject::Builder(resourceUri, resourceType, ACTUATOR_INTERFACE)
.addInterface(CUSTOM_INTERFACE)
.addInterface(SENSOR_INTERFACE)
.setDefaultInterface(SENSOR_INTERFACE)
.setDefaultInterface(BASELINE_INTERFACE)
.setDiscoverable(true)
.setObservable(true)
.build();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment