![FriendlyARM Mini210S Скачать руководство пользователя страница 118](http://html1.mh-extra.com/html/friendlyarm/mini210s/mini210s_user-manual_2333466118.webp)
Address: Room 1705,Block A1, Longyuan Plaza, Longkouxi Road, Guangzhou, China, 510640 Website:
http://www.arm9.net
Sales: +86-20-85201025 Tech Support: +86-13719442657 Fax: +86-20-85261505
Email for Business and Cooperation:
Email for Tech Support: [email protected]
第
- 118 -
页
5.2.12 GPS
FriendlyARM specially developed utilities for serial port based GPS devices in
Android. Theoretically it should support USB based GPS devices as well. If your board
connects to a USB GPS you need to change your GPS device to ttyUSB0 by editing the
init.rc file to add a property “ro.kernel.android.gps” to your GPS device such as “set
prop ro.kernel.android.gps ttyUSB0”. The default device is s3c2410_serial1.
We take a serial GPS device as an example to show how to use GPS:
1)
Connect your GPS device to your board’s CON4.
2)
Add one line in “init.rc” : “setprop ro.kernel.android.gps s3c2410_serial3”
3)
Save and reboot
If you want to use google maps or baidu maps you need to connect your board to the
internet. We used baidu map in the following example. We connected the board to the