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
