Observation without caching.
Added support to receive all observe notifications.
Background:-
RE ignores the observe notification if there is no change in the representation.
This patch introduces a default argument in"RCSRemoteResourceObject::startCaching" to let users
decide whether all notifications need to be reported or not.
API Usage:
startCaching(std::move(cb), CacheMode::OBSERVE_ONLY, CacheReport::REPORT_ALL);
Note: Existing functionalities/usages are not affected.
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/378/commits/
8be52525d302ef933fda2ca4032fbd716b40582b
(cherry-picked from
8be52525d302ef933fda2ca4032fbd716b40582b)
Change-Id: Ib96e91da07edcdeb9bcedd4cf733f7966bd83e50
Signed-off-by: Senthil Kumar G S <senthil.gs@samsung.com>
Signed-off-by: Sudipto <sudipto.bal@samsung.com>