*/
OCStackResult OCRegisterPersistentStorageHandler(OCPersistentStorage* persistentStorageHandler);
-#ifdef WITH_PRESENCE
/**
* When operating in OCServer or OCClientServer mode,
* this API will start sending out presence notifications to clients via multicast.
*/
OCStackResult OCStopPresence();
-#endif // WITH_PRESENCE
-
/**
* This function sets default device entity handler.
*/
OCStackResult OCSetOtmEventHandler(void *ctx, OCOtmEventHandler cb);
+ /**
+ * Gets the bool state of "isOp" property on the pstat resource
+ * @param isOp a pointer to be assigned to isop property
+ * @return Returns ::OC_STACK_OK.
+ */
+
+OCStackResult OCGetDeviceOperationalState(bool* isOp);
+
#ifdef __cplusplus
}
#endif // __cplusplus