X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=service%2Fsoft-sensor-manager%2FSSMCore%2Fsrc%2FSensorProcessor%2FResourceFinder.h;h=8aa7fc074ed89a56a150361edde7e93040412a9e;hb=8c01dff2c5bc5496f7dc1632c498943ec6ecb015;hp=d9ea15fec10ad85cf67c22900e7e55685a05ba11;hpb=935fdb9b67b6c10d007e652e9e2e028fd6ccfe09;p=platform%2Fupstream%2Fiotivity.git diff --git a/service/soft-sensor-manager/SSMCore/src/SensorProcessor/ResourceFinder.h b/service/soft-sensor-manager/SSMCore/src/SensorProcessor/ResourceFinder.h index d9ea15f..8aa7fc0 100644 --- a/service/soft-sensor-manager/SSMCore/src/SensorProcessor/ResourceFinder.h +++ b/service/soft-sensor-manager/SSMCore/src/SensorProcessor/ResourceFinder.h @@ -146,7 +146,7 @@ CLEANUP: return res; } void onGetResourceProfile(const OC::HeaderOptions &headerOptions, - const OC::OCRepresentation &representation, const int &eCode) + const OC::OCRepresentation &representation, const int eCode) { //unpack attributeMap @@ -156,6 +156,7 @@ CLEANUP: return res; m_SSMResource.name = m_pResource->host() + m_pResource->uri(); m_SSMResource.type = m_pResource->uri().substr(1); m_SSMResource.ip = m_pResource->host(); + m_SSMResource.connectivityType = m_pResource->connectivityType(); //bind default properties outputProperty["name"] = "lifetime";