Commit 38424d45 authored by sanjaysh's avatar sanjaysh Committed by Uze Choi

Spec Compliance Interface name change.

Additional files modified service folder,
for the default interface names

Change-Id: Id21b7868f4eef3250274cd837a6ea35d95cd792f
Signed-off-by: default avatarsanjaysh <sanjay1.sharma@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1013Reviewed-by: default avatarErich Keane <erich.keane@intel.com>
Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: default avatarUze Choi <uzchoi@samsung.com>
parent 5671e879
......@@ -813,7 +813,7 @@ void *presenceNotificationGenerator(void *param)
sleep(1);
res = OCCreateResource(&presenceNotificationHandles[i],
presenceNotificationResources.at(i).c_str(),
"oc.mi.def",
OC_RSRVD_INTERFACE_DEFAULT,
presenceNotificationUris.at(i).c_str(),
OCNOPEntityHandlerCb,
OC_DISCOVERABLE|OC_OBSERVABLE);
......@@ -985,7 +985,7 @@ int createLightResource (char *uri, LightResource *lightResource)
lightResource->power= 0;
OCStackResult res = OCCreateResource(&(lightResource->handle),
"core.light",
"oc.mi.def",
OC_RSRVD_INTERFACE_DEFAULT,
uri,
OCEntityHandlerCb,
OC_DISCOVERABLE|OC_OBSERVABLE);
......
......@@ -242,7 +242,7 @@ void createREFERResource()
OCStackResult res = OCCreateResource(&REFER.m_handle,
"SSManager.Sensor",
"oc.mi.def",
OC_RSRVD_INTERFACE_DEFAULT,
"/Reference_Thing",
OCEntityHandlerCb,
OC_DISCOVERABLE | OC_OBSERVABLE);
......
......@@ -213,7 +213,7 @@ void createResource()
OCStackResult res = OCCreateResource(&m_handle,
"SSManager.Sensor",
"oc.mi.def",
OC_RSRVD_INTERFACE_DEFAULT,
"/Tracker_Thing",
OCEntityHandlerCb,
OC_DISCOVERABLE | OC_OBSERVABLE);
......
......@@ -395,7 +395,7 @@ void createTHResource()
OCStackResult res = OCCreateResource(&TH.m_handle,
"SSManager.Sensor",
"oc.mi.def",
OC_RSRVD_INTERFACE_DEFAULT,
"/Thing_TempHumSensor",
OCEntityHandlerCb,
OC_DISCOVERABLE | OC_OBSERVABLE);
......
......@@ -395,7 +395,7 @@ void createTHResource()
OCStackResult res = OCCreateResource(&TH.m_handle,
"SSManager.Sensor",
"oc.mi.def",
OC_RSRVD_INTERFACE_DEFAULT,
"/Thing_TempHumSensor1",
OCEntityHandlerCb,
OC_DISCOVERABLE | OC_OBSERVABLE);
......
......@@ -395,7 +395,7 @@ void createResource()
OCStackResult res = OCCreateResource(&m_handle,
"SSManager.Sensor",
"oc.mi.def",
OC_RSRVD_INTERFACE_DEFAULT,
"/Tracker_Thing",
OCEntityHandlerCb,
OC_DISCOVERABLE | OC_OBSERVABLE);
......
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