subscribePresence API
******************
-This API allows a client to subscribe to a device's presence notifications. Notifications include
-new addition of resource on the device, deletion of a resource on the device, change in properties
-of a resource.
+This API allows a client to subscribe to a device's presence notifications. Notifications include new addition of resource on the device, deletion of a resource on the device, change in properties of a resource.
NOTE: This applies to client side functionality only.
-NOTE: In this release, when client uses subscribePresence API, it gets notified only for new
-addition of resource on the device (server).
+NOTE: In this release, when client uses subscribePresence API, it gets notified only for new addition of resource on the device (server).
*******************
unsubscribePresence API
Security model is still open.
APIs have OCStackResult as return type. This is will indicate success or failure for the API operation.
-Implementation for presence code is under 'WITH_PRESENCE' preprocessor macro in both C (base) and C++ (SDK).
+Implementation for presence code is in both C (base) and C++ (SDK). In C (base) stack, presence code is defined with 'WITH_PRESENCE' preprocessor macro.
Maximum length of URI supported is 64 bytes (sent from the client)
Maximum length of query supported is 64 bytes (sent from the client)