Hello,

I have tried to use RD using the instructions here : https://wiki.iotivity.org/resource_directory_-_programming_guide

I build using command scons resource/csdk/resource-directory/ RD_MODE=all and then

I start the RD server:

./rd_server

and I get in the console:

OCResourceDirectory is starting...
RD created successfully...

which is normal. The I start the publish client

./rd_publishingClient

and press 1 and enter, but all I get is again the instructions. My operating system is Ubuntu 16.04 and I ve tried both with Iotivity 1.3.1 and Iotivity at master.
Should I follow different instructions?
Thank you.

Best Regards,
KM

p.s what is the difference between resource directory and resource hosting (in service folder)?
On 16-Apr-18 4:50 PM, Khaled Elsayed wrote:
An architectural correction: the local OCF servers typically discover RD and register with it not the other way around.



On Mon, Apr 16, 2018 at 3:37 PM, Khaled Elsayed <khaledi...@gmail.com <mailto:khaledi...@gmail.com>> wrote:

    If the devices have public IP addresses (not recommended), they
    can be accessed with the help of a resource directory RD server.
    The RD should perform local discovery of the devices and can share
    this information with external end points.

    If devices have non-routable addresses, then proxy+RD is the way
    to go.


    On Sat, Apr 14, 2018 at 3:51 PM, Maria Koutli <mkou...@iti.gr
    <mailto:mkou...@iti.gr>> wrote:

        Hello all,

        Is there a way to access an IoTivity server outside of its
        local network (find resources, send get, post requests etc)
        without using the IoTivity Cloud architecture? If yes, could
        you point me to some documentation/example code?

        Thank you.

        Best Regards,

        Koutli Maria

        _______________________________________________
        iotivity-dev mailing list
        iotivity-dev@lists.iotivity.org
        <mailto:iotivity-dev@lists.iotivity.org>
        https://lists.iotivity.org/mailman/listinfo/iotivity-dev
        <https://lists.iotivity.org/mailman/listinfo/iotivity-dev>




_______________________________________________
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to