Hi All,
Let me ask the base layer API from our Scene Manager Implementation. Scene Manager have the logic to create the resource by client request as follows. When the remote client request to create the resource, server will create it and respond with created uri. However, there is no API to look up the address of IoTivity Server itself as of now. Previously there is API to support it below, but it has been removed. I believe this will be helpful to support the similar use case. /** * This method is used to retrieve the port number from OCDev address * data structure. * * @param ipAddr OCDevAddr address. * @param port Port number. * @return ::OC_STACK_OK on success, some other value upon failure. */ int32_t OCDevAddrToPort(OCDevAddr *ipAddr, uint16_t *port); Not Only C API but Also C++ API we need. Any comment or alternative API will be welcome. BR, Uze Choi -------------- next part -------------- HTML ?????? ??????????????... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160212/2651b793/attachment.html>
