Koushik, I wrote what I believed would work on Tizen, but I was unable to verify it because I have no Tizen build environment and no Tizen build environment. Apparently there is a bug in my Network Information code for Tizen. I sincerely apologize for that. It was certainly not my intention. I'm sure there is a relatively simple fix for the Tizen code I provided. I hope you see that reintroducing all the complexity of the old NetworkMonitor (extra thread, polling loop, multiple mutexes, many mutex calls, etc.) is not necessary. I will be glad to work with you to find an acceptable solution. John Light Intel OTC OIC Development
From: Koushik Girijala [mailto:[email protected]] Sent: Monday, July 20, 2015 7:38 AM To: Light, John J; iotivity-dev at lists.iotivity.org Cc: hyuna jo Subject: Re: [dev] CAGetNetworkInformation() function does not work Hi John, I verified CA SAMPLE on Tizen, found that CAIPGetInterfaceInformation is blocking the flow. It seems like getifaddrs() api is not working for Tizen. As suggested by Abhishek Sharma, would have used network monitor for Tizen. Regards, Koushik ------- Original Message ------- Sender : hyuna jo<hyuna0213.jo at samsung.com> S3/Assistant Engineer/IoT Solution Lab./Samsung Electronics Date : Jul 20, 2015 16:22 (GMT+05:30) Title : [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 [Image removed by sender.] [cid:image001.gif at 01D0C2CA.9AB0BA40] [Image removed by sender.] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150720/f5a025ab/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD000.jpg Type: image/jpeg Size: 823 bytes Desc: ~WRD000.jpg URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150720/f5a025ab/attachment.jpg> -------------- 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/f5a025ab/attachment.gif>
