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.




 



 





_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to