Difference between revisions of "Template:RK3399-Android-4G-EC20"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
 
(updated by API)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===Android下使用4G模块EC20===
+
===Using 4G Module EC20 on Android===
 
+
====Hardware Setup====
连接时,需要通过miniPCIe转USB的转接板转接,然后连接到主板的USB Host端口,如下图所示:
+
Connect an EC20 module to a USB to miniPCIe board and connect the board to an ARM board's USB Host. Here is a hardware setup:<br /> 
 
{{#switch: {{{1}}}
 
{{#switch: {{{1}}}
 
  | NanoPC-T4 =
 
  | NanoPC-T4 =
[[File:T4-4g-ec20.jpg|frameless|500px]]<br>
+
[[File:T4-4g-ec20.jpg|frameless|400px]]<br>
 
  | NanoPi-M4 =
 
  | NanoPi-M4 =
[[File: M4-4g-ec20.jpg|frameless|500px]]<br>
+
[[File: M4-4g-ec20.jpg|frameless|400px]]<br>
 +
| NanoPi-M4V2 =
 +
[[File: M4-4g-ec20.jpg|frameless|400px]]<br>
 +
| NanoPi-M4B =
 +
[[File: M4-4g-ec20.jpg|frameless|400px]]<br>
 
  | NanoPi-NEO4 =  
 
  | NanoPi-NEO4 =  
[[File:Neo4-4g-ec20.jpg|frameless|500px]]<br>
+
[[File:Neo4-4g-ec20.jpg|frameless|400px]]<br>
 
  | #default =
 
  | #default =
 
}}
 
}}
连接后无需额外的配置,启动Android后就可以使用4G上网了,跟Android手机类拟。
+
Power on the board and you will be able to surf the internet with the 4G module like using an Android phone.<br />
 +
 
 +
====Activate EC20's GPS Functions====
 +
By default GPS functions are disabled in Android. If GPS functions are enabled in Android but no GPS module is detected Android will continuously output log messages. After an EC20 module is connected you can enable GPS functions.<br />
 +
To enable the GPS functions open the "vendor/quectel/ec20/BoardConfigPartial.mk" file and change the following line:
 +
<syntaxhighlight lang="bash">
 +
BOARD_HAS_GPS := false
 +
</syntaxhighlight>
 +
to
 +
<syntaxhighlight lang="bash">
 +
BOARD_HAS_GPS := true
 +
</syntaxhighlight>
 +
and recompile Android。

Latest revision as of 06:35, 27 November 2019

1 Using 4G Module EC20 on Android

1.1 Hardware Setup

Connect an EC20 module to a USB to miniPCIe board and connect the board to an ARM board's USB Host. Here is a hardware setup:

Power on the board and you will be able to surf the internet with the 4G module like using an Android phone.

1.2 Activate EC20's GPS Functions

By default GPS functions are disabled in Android. If GPS functions are enabled in Android but no GPS module is detected Android will continuously output log messages. After an EC20 module is connected you can enable GPS functions.
To enable the GPS functions open the "vendor/quectel/ec20/BoardConfigPartial.mk" file and change the following line:

BOARD_HAS_GPS := false

to

BOARD_HAS_GPS := true

and recompile Android。