Hi Jaehwan,
The validity of the discovery response(result) has a denpendency on the IP Address of the Resource Server.
That means, you could reuse the discovery response(result) until the communicating Resource Server
does not change its IP address.
In summary,
1. "Resource discovery once then send request any time", until IP adress of the Resource Server not chnaged.
2. "Do Resource discovery", when the Resource Server does not response on my request with previously
discovered IP address.
Thank you.
Jay.
--------- Original Message ---------
Sender : 최우제 <[email protected]> Principal Engineer/IoT Lab(S/W센터)/삼성전자
Date : 2017-07-19 18:20 (GMT+9)
Title : Re: [dev] period of discovery resource?
Whenever we request, server respond and eventually discover callback is to be called on client.
BR, Uze Choi
|
hi all.
i have a small question. lifecycle for result of resource discovery.
when send request to other ocf server, each time doing Resource discovery then send request? or resource discovery once then send request any time? i confused for this problem...
thx for any idea. plz reply this :)
Regards, jaehwan kim
|
_______________________________________________
iotivity-dev mailing list
https://lists.iotivity.org/mailman/listinfo/iotivity-dev
Jung-hyun Oh
SW R&D Center, SAMSUNG ELECTRONICS CO.,LTD
+82-10-9890-6731 | Beyond your imagination, Always
|
|
_______________________________________________ iotivity-dev mailing list [email protected] https://lists.iotivity.org/mailman/listinfo/iotivity-dev
