Revert "[CONPRO-1337] Disabled Presence Feature"
[platform/upstream/iotivity.git] / resource / csdk / stack / include / octypes.h
index df6df44..6afdb95 100644 (file)
@@ -39,6 +39,9 @@
 extern "C" {
 #endif // __cplusplus
 
+/** For the feature presence.*/
+#define WITH_PRESENCE
+
 #include "ocpresence.h"
 
 // TODO : need for secure psi
@@ -84,11 +87,12 @@ extern "C" {
 
 /** Presence URI through which the OIC devices advertise their presence.*/
 #define OC_RSRVD_PRESENCE_URI                 "/oic/ad"
-#endif // WITH_PRESENCE
 
 /** Presence URI through which the OIC devices advertise their device presence.*/
 #define OC_RSRVD_DEVICE_PRESENCE_URI         "/oic/prs"
 
+#endif // WITH_PRESENCE
+
 /** For multicast Discovery mechanism.*/
 #define OC_MULTICAST_DISCOVERY_URI            "/oic/res"