GNSS Driver Library for Android - Application note
UBX-13000136 - R04 Production Information Contents
Page 2 of 22
Document Information
Title
Android GNSS driver library
Subtitle
u-blox GNSS receiver integration
Document type
Application note
Revision and date
R04
07-Aug-2014
Document number
UBX-13000136
Document status
Production Information
Document status explanation
Objective Specification
Document contains target values. Revised and supplementary data will be published later.
Advance Information
Document contains data based on early testing. Revised and supplementary data will be published later.
Early Production Information
Document contains data from product verification. Revised and supplementary data may be published later.
Production Information
Document contains the final product specification.
This document applies to the following products:
Name
u-blox Android GNSS driver
u-blox reserves all rights to this document and the information contained herein. Products, names, logos and designs described herein may in
whole or in part be subject to intellectual property rights. Reproduction, use, modification or disclosure to third parties of this document or
any part thereof without the express permission of u-blox is strictly prohibited.
The information contained herein is provided “as is” and u-blox assumes no liability for the use of the information. No warranty, either
express or implied, is given, including but not limited, with respect to the accuracy, correctness, reliability and fitness for a particular purpose
of the information. This document may be revised by u-blox at any time. For most recent documents, please visit www.u-blox.com.
Copyright © 2014, u-blox AG
u-blox
®
is a registered trademark of u-blox Holding AG in the EU and other countries. ARM
®
is the registered trademark of ARM Limited in
the EU and other countries.
GNSS Driver Library for Android - Application note
UBX-13000136 Production Information Contents
Page 3 of 22
Contents
Contents ..................................................................................................................... 3
1 Introduction ....................................................................................................... 5
1.1 Scope ............................................................................................................................................. 5
1.1.1 Demonstration platform ............................................................................................................ 5
2 Android .............................................................................................................. 6
2.1 Overview ........................................................................................................................................ 6
2.2 Android Versions ............................................................................................................................ 7
3 u-blox GNSS Driver Library ............................................................................... 8
3.1 Overview ........................................................................................................................................ 8
3.2 GNSS Driver Source Files ................................................................................................................. 9
3.3 GNSS Driver Interface ..................................................................................................................... 9
3.4 Control ......................................................................................................................................... 10
3.5 Parser / Database .......................................................................................................................... 10
3.6 SUPL Client ................................................................................................................................... 10
3.7 A-GNSS (AssistNow Online) .......................................................................................................... 10
4 Evaluation software ........................................................................................ 11
4.1 u-center for Android .................................................................................................................... 11
4.2 Internet Services ........................................................................................................................... 11
4.2.1 u-blox AssistNow Online .......................................................................................................... 11
4.2.2 u-blox AssistNow Offline .......................................................................................................... 11
4.3 UDP Server with u-center (PC) ...................................................................................................... 11
5 GNSS Integration Steps................................................................................... 12
5.1 Preparation of the environment .................................................................................................... 12
5.2 Building and Running the GNSS Driver ......................................................................................... 12
5.2.1 General .................................................................................................................................... 12
5.2.2 Android.mk Build Options ........................................................................................................ 13
5.2.3 Important u-blox.conf Options ................................................................................................. 13
5.3 Android System properties ........................................................................................................... 14
5.4 Configuration files ........................................................................................................................ 14
5.4.1 General .................................................................................................................................... 14
5.4.2 gps.conf .................................................................................................................................. 14
5.4.3 u-blox.conf .............................................................................................................................. 15
5.5 GNSS Receiver Power ................................................................................................................... 19
5.6 Hardware information .................................................................................................................. 20
5.6.1 u-blox Receiver Series .............................................................................................................. 20
5.6.2 Further Information ................................................................................................................. 20
GNSS Driver Library for Android - Application note
UBX-13000136 Production Information Contents
Page 4 of 22
Related documents .................................................................................................. 21
Revision history ....................................................................................................... 21
Contact ..................................................................................................................... 22
GNSS Driver Library for Android - Application note
UBX-13000136 Production Information Introduction
Page 5 of 22
1 Introduction
1.1 Scope
This application note provides a comprehensive reference for customers integrating a u-blox GNSS receiver into
an Android-based device. To speed up GNSS integration into customer’s portable devices, u-blox has developed
a specific GNSS driver that can be placed into the Android software stack.
A possible GNSS receiver integration solution is presented, in order to support customers during the prototyping
phase and thus reduce time to market.
1.1.1 Demonstration platform
For demonstration purposes, a Pandaboard development board has been chosen as a reference board. This
board (shown in Figure 1) is based on a TI OMAP processor. More information can be found at
http://pandaboard.org.
Figure 1: Pandaboard Development Board
评论2