Hyuna Jo, The only API?s I?m familiar with are the IoTivity C API and the IoTivity C++ API. The Connectivity Abstraction is an implementation detail of the C stack. Since CAGetNetworkInformation doesn?t currently support any features at the C or C++ API level, it is low priority. I intended for it to continue working, as it may be useful in the future, but it is possible that it may not work as it did before. Currently, the only anticipated use for CAGetNetworkInformation is to allow application selection of interfaces for multicasting. For that use, only the information provided is necessary. If you feel more information is needed for some other purpose, please describe the intended use case. I know the original CAGetNetworkInformation provided more information, but that information wasn?t used anywhere except in unit tests of the function. The simplified IP adapter doesn?t need the extra information, so it is not currently provided. When you justify the additional information with a valid use case, additional information can be provided. In the meantime, let?s work at making IoTivity smaller and easier to maintain. John Light Intel OTC OIC Development
From: ??? [mailto:[email protected]] Sent: Monday, July 20, 2015 3:52 AM To: iotivity-dev at lists.iotivity.org; Light, John J Subject: [dev] CAGetNetworkInformation() function does not work Hi, John Light I have taken the latest master code but I have some problems runnings the CA sample. I'm trying to use CAGetNetworkInformation() function to get local network information. but it looks like that it does not work well. I cannot get the ip address and port information from CAGetNetworkInformation function. currently, CAGetNetworkInformation function returns network interface name only. why did you change the code to return interface name instead of address and fixed the port number with 0? Without the ip address and port number information, ca sample can not be executed well on Linux/Tizen/Android/Arduino platform. Please help me to resolve this issues. Regards, Hyuna Jo [http://mail.naver.com/readReceipt/notify/?img=Lr%2B%2FBX0mWrKXMrtXMomsKApoFAUqpzpvpAi4K6tdK6UZKApvpoJgMX%2B0Mog%2F74lR74lcWNFlbX30WLloWrdQar0T%2Bz0r1B3l7630%2BvIn1BFdbZlGWX3G%2B40dDLlTb4b%3D.gif] [cid:image001.gif at 01D0C2C9.50C9C580] [http://ext.samsung.net/mailcheck/SeenTimeChecker?do=0fa18573320d62118001458ebc9ad01e3207ae141f15421664a12c9b4c260b88738ed17e7639ce1f641b1a8c451b073656239170f5eb4b5c326bbdfb2ea96a2fcf878f9a26ce15a0] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150720/b109d9ce/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 13168 bytes Desc: image001.gif URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150720/b109d9ce/attachment.gif>
