Uze, Thanks for that explanation. I will be reviewing the code shortly. Pat
From: ???(Uze Choi) [mailto:[email protected]] Sent: Tuesday, September 01, 2015 8:41 PM To: Lankswert, Patrick; h.marappa at samsung.com; P RADHABHAVANIGOWD Cc: iotivity-dev at lists.iotivity.org Subject: RE: Adding address and port information for ObservationInfo structure. Hi Pat, This detail information query for observer list could be done from C API already, If the Application using C API is capable of it and at the same time Application using C++ API cannot, there will be in consistency from the capability point of view between C and C++ API. As far as I know, the purpose of the C++ API is not restriction of function but easy to us with C++ wrapping. Please understand this is not the additional feature but already supported feature from the base layer. If you believe this kind of access should be restricted from the C++ API user even though the my explanation, let us think about it #IF DEF way for simulator exclusive iotivity library build. BR, Uze Choi From: Lankswert, Patrick [mailto:[email protected]] Sent: Wednesday, September 02, 2015 12:09 AM To: h.marappa at samsung.com<mailto:h.marappa at samsung.com> Cc: uzchoi at samsung.com<mailto:uzchoi at samsung.com>; iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org> Subject: RE: Adding address and port information for ObservationInfo structure. Harish, I appreciate your point of view, but actually having the application take over control of the notification is a bad idea. The behavior of observation is very clear and not negotiable. Leaving this behavior to the application opens the door for violation of software/network standard contract and should be discouraged. If you want a behavior that is like observe, but not exactly observe, you should design an alternate notification mechanism. That said, I will look at your changes. If they do not break the observe contract, I will accept them. Pat From: Harish Kumara Marappa [mailto:[email protected]] Sent: Tuesday, September 01, 2015 5:56 AM To: Lankswert, Patrick Cc: uzchoi at samsung.com<mailto:uzchoi at samsung.com>; iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org> Subject: Adding address and port information for ObservationInfo structure. Hi Mr. Patrick, We have requirement in simulator module of providing more information about observer rather than just giving the observation id.
