Claude,

Short Answer
A resource server (called a device in OIC) on IP is represented by a IP address 
and port number. So, 192.168.1.13:45000 could be a resource server.

Long Answer
Let me apologize in advance if you have already done this, but it is best to 
start by reviewing REST 
(https://en.wikipedia.org/wiki/Representational_state_transfer) to understand 
roles and responsibilities and URI 
(https://en.wikipedia.org/wiki/Uniform_resource_identifier) to understand 
addressing. Once you are grounded in these two topics, the is easy to say that 
the classic resource server (called device in OIC speak) is represented by the 
authority of the URI.

NOTE: The Fielding has pointed out the REST description on Wikipedia is not 
exactly correct, but it is sufficient to developing a basic understanding.

Pat

From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of ???
Sent: Friday, September 04, 2015 3:05 AM
To: dev at lists.iotivity.org
Subject: [dev] Hi. I am graduation student studying Iotivity


Hi. I am Claude, graduation student studying Iotivity.

I tried to understand the archtiecture of iotivity but I have got in trouble 
understanding some parts.

Please, answer below questions



what is server?

As i understand the document, all of devices ,smart bulb, door lock and so on, 
could be server.

However, if all of devices are server, there is a problem to register resource.

Each resource should have unique URI but it's impossible to do...



So i think that server is just one specific computer.

However, when client try finding 
resources(https://www.iotivity.org/documentation/linux/programmers-guide/finding-resource),
 there is 3 responses.

I thought 192.168.1.13 is the server, because the response of this host having 
2 resources in payload.

However, there are two other responses from 192.168.1.11,192.168.1.12 and these 
looks like resource server



Please, explain me what is the server








[http://mail.naver.com/readReceipt/notify/?img=meb9KqFZD6cZM6p0hAnXK6pvaA2rK4J0F4KZpzE%2FMrUmMotXK43SM6uXKEIo%2BrkSKAM5W4d5W4C5bX0q%2BzkR74FTWx%2FspzkrtzwGbX3q740T%2Bz0r1B3l74eZpm%3D%3D.gif]


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150904/a272ae42/attachment.html>

Reply via email to