Hi,
I underatand that nwmonitor is the only difference. Then, my question is, why
is nwmonitor implemented differently for each OS, not using the linux-based
nwmonitor together for android and tizen?
(For clear explanation, I think nwmonitor for linux can also be used for
android ans tizen. Why do we need extra implementation of nwmonitor for tizen
and android?)
yes, theoretically you are right. But in practical, some of the
APIs did not work in Andorid and Tizen during the initial stages of development
. And these platforms( Android/Tizen) provided additional benefit of giving
callbacks
during the interface changes than a thread monitoring all the time.
If you can merge, test and update a patch in IoTivity, we can review and merge
changes in IoTivity. Its open for developers contributions ..
Regards,
Ashok
From: 신승목 [mailto:[email protected]]
Sent: Wednesday, January 03, 2018 8:13 AM
To: Ashok Babu Channa
Cc: [email protected]
Subject: Re: [dev] Question about IP adapter variation according to TARGET OS
Dear Ashok,
It would be great if you could check my following question.
only nwmonitor in each OS folder. Could you give more info ?
>>>> I underatand that nwmonitor is the only difference. Then, my question is,
>>>> why is nwmonitor implemented differently for each OS, not using the
>>>> linux-based nwmonitor together for android and tizen?
(For clear explanation, I think nwmonitor for linux can also be used for
android ans tizen. Why do we need extra implementation of nwmonitor for tizen
and android?)
Thank you.
-----Original Message-----
From: "신승목"<[email protected]>
To: "Ashok Babu Channa"<[email protected]>;
Cc: <[email protected]>;
Sent: 2018-01-02 (화) 17:45:17
Subject: Re: [dev] Question about IP adapter variation according to TARGET OS
First of all, I appreciate for your quick reply.
Here is feedback for your comment.
Except "caipnwmonitor.c" , there are no other files in each OS folder.
>>>> I see. Network monitor is the only difference of ip adapter across
>>>> existing OS.
Latest IoTivity(master,1.3-rel), already having one adapter for all platforms.
Which version you are looking at ?
>>>> I'm looking the master branch.
only nwmonitor in each OS folder. Could you give more info ?
>>>> I underatand that nwmonitor is the only difference. Then, my question is,
>>>> why is nwmonitor implemented differently for each OS, not using the
>>>> linux-based nwmonitor together for android and tizen?
(For clear explanation, I think nwmonitor for linux can also be used for
android ans tizen. Why do we need extra implementation of nwmonitor for tizen
and android?)
Thank you.
-----Original Message-----
From: "Ashok Babu Channa"<[email protected]>
To: "신승목"<[email protected]>;
Cc: <[email protected]>;
Sent: 2018-01-02 (화) 16:24:21
Subject: RE: [dev] Question about IP adapter variation according to TARGET OS
Except "caipnwmonitor.c" , there are no other files in each OS folder.
Here is my feedback for your questions
1. Can IP adapter for linux be re-used for android and tizen as well?
>>>>> Latest IoTivity(master,1.3-rel), already having one adapter for all
>>>>> platforms. Which version you are looking at ?
2. As far as I understand, both android and tizen can use the same IP adapter
that linux implements since they are also linux-based. Why is IP adapter
overriden for android and tizen individually?
>>>>> only nwmonitor in each OS folder. Could you give more info ?
Regards,
Ashok
From: [email protected]
[mailto:[email protected]] On Behalf Of ???
Sent: Tuesday, January 02, 2018 10:00 AM
To: [email protected]
Subject: [dev] Question about IP adapter variation according to TARGET OS
Hi,
I just checked myself in iotivity.
I have a question about connectivity abstraction layer. Hope there would be
someone who can answer this.
Under resource/csdk/connectivity/src/ip_adapter, there exists each folder for
individual TARGET OS such as android, tizen, linux.
Checking one common file "caipnwmonitor.c" which exists in all three TARGET OS
folder, each OS implements the same function (i.e. CAIPStartNetworkMonitor)
using their OS specific way. (Android: jni interface, Tizen: seems like it
calls tizen's own network api for network monitoring) I understand that each os
provides its own way for monitoring the network. But i wonder why it is
necessaray to have additional IP adapter for each os while linux based IP
adapter exists. Besides, at iotivity api user perspective, it is not different
at all.
My questions are as follows,
1. Can IP adapter for linux be re-used for android and tizen as well?
2. As far as I understand, both android and tizen can use the same IP adapter
that linux implements since they are also linux-based. Why is IP adapter
overriden for android and tizen individually?
Thanks in advance.
<http://ext.samsung.net/mail/ext/v1/external/status/update?userid=ashok.channa&do=bWFpbElEPTIwMTgwMTAyMDcyNDIzZXBjYXM1cDMxMDlhODdjYWQyNTM1OTQzNDExMTM3MTE3OGRmNzVjMSZyZWNpcGllbnRBZGRyZXNzPWNhYmluMTVAbmF2ZXIuY29t>
<https://mail.naver.com/readReceipt/notify/?img=5fYwW40SM6K9Fo2lhAn9FxEXMqtqMrkoKx2wpouqpzuZMxulpzU9KxpgMr9TM40npB%2B0MogZ74lR74lcWNFlbX30WLloWrdQarJq1zeO74FcM6l5MEIqM69q%2B6lN74FTWt%3D%3D.gif>
_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev