i.MX6Q android BSP API for multiple network.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.MX6Q android BSP API for multiple network.

跳至解决方案
1,287 次查看
satoshishimoda
Senior Contributor I

Hi community,

I want to confirm my understanding about i.MX6Q android BSP.

I understand android can use wired LAN and wireless LAN simultaneously.

However, user (or a application) cannot select which network use for a specific process because android API does not support it.

(e.g. wired LAN for process A, and wireless LAN for process B)

And I think freescale does not customize about this API, so if user want to select the network to use for specific process, user should customize the android API by themselves.

Is this correct?

Best Regards,

Satoshi Shimoda

标签 (3)
标记 (2)
0 项奖励
回复
1 解答
1,150 次查看
art
NXP Employee
NXP Employee

No, it's not exactly so. First, the Android OS itself has many various APIs to manage network connections, please refer to the following Android Developer site links:

http://developer.android.com/reference/java/net/package-summary.html

http://developer.android.com/reference/android/net/package-summary.html

Second, in the Android BSP by Freescale, you can access the system console through the following API:

http://developer.android.com/reference/java/io/Console.html

Then, on the console, you can use regular Linux network management utilities, such as 'ifconfig'.


Have a great day,
Artur

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,151 次查看
art
NXP Employee
NXP Employee

No, it's not exactly so. First, the Android OS itself has many various APIs to manage network connections, please refer to the following Android Developer site links:

http://developer.android.com/reference/java/net/package-summary.html

http://developer.android.com/reference/android/net/package-summary.html

Second, in the Android BSP by Freescale, you can access the system console through the following API:

http://developer.android.com/reference/java/io/Console.html

Then, on the console, you can use regular Linux network management utilities, such as 'ifconfig'.


Have a great day,
Artur

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复