On Thu, Aug 9, 2018, 4:04 PM Ondrej Tomcik <ondrej.tom...@kistler.com<mailto:ondrej.tom...@kistler.com>> wrote:
... It's the core requirement to observe everything. According to whom? It's certainly not a core requirement for me. Otherwise you can't provide up-to-date resource shadow, what leads to - forward every GET to the device. And this does not make sense. The ability to choose which resources to observe makes perfect sense to me. Hmm, now I am not sure if both of you didn't read it properly, or it's not explained well. One more time. To optimize number of requests (not act just as a proxy and forward each request to the device) you need to have consistent and up to date representation in the OCF Native Cloud. If the device is onboarded to the cloud it does not explicitly mean that the device can't be contacted by a client over UDP. If the resource is changed - not through the cloud, cloud has to be informed about the change so it can update it's shadow. Otherwise whoever would request this resource shadow - GET to the resource through the cloud, he would receive outdated information. You as a cloud client can specify what YOU (client) want to observe, but your request will not start the observation. It will forward events from already existing observation. IF you are talking about introducing of a new configuration option in a sense: observe only these resources - have the resource shadow only for these 3/8 published resources, this is theoretically possible but I don't see real added value. It does not optimize anything. It just brings inconsistency to the concept and makes things complex Observation is simple operation, not starting a new TCP channel. New design is based on assumption that everything what is published to the cloud is observed. (It's the core requirement to observe everything.) - Probably I formulated it wrongly. It's not the requirement from the specification, it's designed in this way and this observation can't be excluded. If you want to, then the whole design is useless. G -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9851): https://lists.iotivity.org/g/iotivity-dev/message/9851 Mute This Topic: https://lists.iotivity.org/mt/24238274/21656 Group Owner: iotivity-dev+ow...@lists.iotivity.org Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-