[ANDROID MODIFICATION] GPS Update rate + baud rate - General Questions and Answers

Hi everyone!
Let's consider that we are talking about rooted devices (with Android).
Where can we find the settings that states the baud rate and the refresh rate/update rate/frequency (in Hz) for the GPS module?
For example, here is a project where we can change the max_rate using:
ro.kernel.android.gps.max_rate=5​(I want 5(5Hz) fixes/second, instead of 1Hz (1 pos/sec)). This project is for a serial GPS device (configuring an USB receiver, let's say).
But there can we find the same settings for the built-in GPS module (MTK chip/Qualcomm, doesn't matter)? I don't think I need a custom ROM for this small modification. Could it be /system/etc/gps.conf ?
Thanks!

Related

Can we make a definitive reference for Bluetooth COM ports?!

Many people seem to be having problems using a Bluetooth GPS with nav software on a Pocket PC. I have had a few issues and trawled the net looking for answers and there seems to be a lack of reference information on this. This forum is probably the best hope of getting a definitive reference document compiled.
My XDA Pro (Universal) did not have the GPS Settings control panel installed in Settings/Connections until I edited the registry to make it visible. Why was it not enabled originally? Does it not work?
What does GPS Settings actually do? (My premise is that it virtualises the GPS Com port is that right?)
I have set up my BT GPS to be on COM8 by adding a new Outgoing Port. Using GPS Settings-
in the Programs Tab set "Program Port:" to be COM1:
in the Hardware tab set "Hardware portP" to be COM8: (why no 38400 baud rate setting??)
Is it safe to assume that any program that wants to use the GPS should connect to the virtual port COM1: or the actual port COM8:?
From a software perspective when trying to configure a program to connect to a GPS invariably the software will offer a list of COM ports to use e.g......
VisualGPSce (a free GPS monitoring tool from www.visualgps.net) offers a set of COM ports and SER01-SER32. If I connect this to SER08: it works fine but when I look at the settings again it has changed them to COM1: - Drivers\BuiltIn\Serial_dbg. (I assume this is the affect of using the GPS Settings above). Interestingly if I choose an invalid port then choose COM1: it fails to connect until I select SER08: again!!
Fugawi offers COM1: - COM8: but only works when I select COM8: Is this 'not playing the game' because it is talking to the real port and not the 'virtual one'?
A friend has Pocket Nav (Memory Map) which only offers a set of COM ports COM1,2,3,6,7,9 (all of which are named with the kind of device except 7) and none of them work. Is this software only offering COM ports that it believes to be active? It also seems to be not playing the virtual port game (If my premise above is correct). Why doesn't it see the GPS on COM8:?
Sorry for the long posts - lots of questions, a few suppositions and not many answers from me. I just hope the gurus who frequent this forum can provide some good technical answers which will benefit many frustrated (both by things not working but also through lack of techincal reference documentation) people.
Thanks
Clive
hi i'm experiencing the same problem, did you solve it ?
I can't find a useful COM port to connect to my java application using a Qtek 9000 with WM 5 and Creme JVM.
thank you.
I will surely spend a lot of time on this question in my forthcoming Bluetooth Bible (still don't know when to publish).
are you serious ..
or it was sarcastic ?
Yes, maybe i was not so clear writing my question, but i didn't want to write the same words clive_j wrote ...
I'm running a java application on a Qtek 9000 running Windows Mobile 5.1.1700 (build 14354.0.1.1) and using a Java Virtual Machine "Creme 4.12 for PocketPC".
While, via bluetooth manager, I'm able to connect my BTGPS (i.e. bluetooth GPS) only on COM0, or COM4, or COM8, my application can open only COM1, or COM2, or COM3, or COM6, or COM7, or COM9.
I configured GPS Settings on WM 5 just like clive_j did, and still i can't receive any data from the GPS, while VisualGPS can connect and receive data from SER08.
Did you have any idea ?
I found how to solve the problem.
don't know if menneisyys is interested.

Omnia & Route66

Hi folks,
I'm new to this forum but from what I've seen so far it is very informative. Well this is my first post and I would like to start with a "how do I" question.
I have been using Route66 navigation software on my Omnia i900 with no problems communicating with the phone's internal gps. However, in order to improve satellite reception I would like to use an external bluetooth receiver (Holux M1200). My other gps applications work fine after setting up the baud rate and ports but there are no such settings in the Route66 application.
This what Route66 support said:
I kindly inform you that the ROUTE 66 Navigation software does not offer any options regarding the configuration of an external GPS Bluetooth receiver.
However, all Bluetooth GPS receivers that meet the following requirements can be used with ROUTE 66 navigation software:
- Protocol (minimum): NMEA-0183 v2.0 (RMC)
- Protocol (recommended): NMEA-0183 v2.0 or higher (RMC, GSA, GSV)
- Map datum: WGS84
In order to use the GPS option in the ROUTE 66 navigation software, the GPS device must meet the following requirements:
- The protocol used by the GPS device must be fully NMEA-0183 2.0 (or higher) compatible.
- The minimum protocol requirements are that the RMC and GSA sentences have to be sent.
- The MAP DATUM used in the ROUTE 66 program is WGS-84.
- The baud rate is 4800 - 38400 bps.
I just don't understand where to go from here
Welcome to the forum
As this is an HTC devices only forum you won´t get too much atention.
However there is a thread in off topic section regarding samsung (not sure if your model) but there you´ll have more chances to get help.
Good luck,

[Q] GPS position update frequency on WP7 - anything faster than 1Hz?

My Samsung Focus only gets GPS position updates once per second (1Hz). At 100kmph (~62mph), you've already moved ~28meters or 91 feet. Thats pretty inaccurate.
Are there any WP7 phones with built-in GPS that update more frequently than 1Hz?
$40 external Bluetooth GPS units update at 10Hz and some wired usb units update even faster than that. But Microsoft isn't supporting the SPP Bluetooth profile even with Mango update and I see no way to communicate with a generic USB device through the micro-usb port cause you don't get native access to write a driver. So no luck getting external GPS working with the current framework
I'd like to build a list of the GPS update frequency of the various phones out there. Hopefully they are not all using the same crappy GPS chip...
10 Hz GPS update will drain your battery much faster... Also, GPS software have some interpolation algorithms. From my own experience with Navigon 3.0: I very like WP7's default GPS accuracy.
Thanks.
I don't care about battery life though; my scenario has power cable available (non-hand-held scenario).
The compass and accelerometer sensors are available on my device but unfortunately the Samsung Focus does not have a gyroscope.
Accelerometer and compass samples at 50Hz, but they are fairly noisy. The new Mango/7.1 Motion API should help filter some of that noise and maybe I could get a reasonably accurate equivalent of a 2Hz GPS with some tricky math.
Double the accuracy is double the accuracy!
BTW, for what kind of tasks you need this accuracy? As I said before, Navigon 3.0 (see corresponding forum) works very fine and precisely, as a standalone Garmin, for example (what is internally also WinCe device ).
I'm not doing GPS maps. Everybody's done that Mine is more of a real-time motion analysis and visualization. I don't want to give away too many details cause I don't want someone to beat me to the punch. I do know that nobody has an app that does what I want on the marketplace yet.
OK, it's up to you. Take a look to my advice : http://forum.xda-developers.com/showpost.php?p=15982827&postcount=574
Sent from my SCH-I800 using XDA Premium App
Oh cool. I wonder if mine is set to 1000 impliying 1Hz updates. 500 would be 2Hz updates.
But I reckon when submitting an app to the marketplace you're not allowed to edit the registry

[Q] Android API for GPS location

Hi,
I have Hero H7000 GSM phone with Android 2.2.1. Some application which using GPS data show speed approx. 1,9x higher then real speed. First my idea was about some mistake in sw - behaviour looks like as twice conversion from knots (nm/h) to km/h because (km/h = 1,852x nm/h)... But problem is generic for all applications using GPS data. I was use U-Blox app. for NMEA logging, and in RAW NMEA log zero speed is correctly received. But Android API provide 1,29m/s for applications. Do you have some idea where problem is locate? And idea about how to fix it?
Thanks
SDG
ACTUALIZATION: I made NMEA log (approx. 30km by car). In raw NMEA sentences captured by "u-center" is correct speed. Maximum is around 90km/h. But all applications using Android API show twice more. Please, do you have some idea about repair of this bug?
SDG

[Q] Bluetooth 4.0 support?

Hi,
I recently bought a Bluetooth heart rate monitor to use with my Verizon Galaxy S3. It uses Bluetooth 4.0, and I found out later that apparently almost no Android phones (including the S3) include support Bluetooth 4.0 (at least as far as I understand this). I've been trying to search for info on this and haven't really found anything except it's not currently supported.
Does anyone here have any idea of how close support is? I've seen some suggestions that it might be in Jelly Bean, but I haven't been able to verify that yet. Also, I guess just having BT4.0 support isn't enough, it would also need some sort of heart rate monitor profile, so if you know anything about when this might be included I would be very grateful!
Thanks,
Jon
Wow I am shocked at my results of findings on this. I was also under the impression 4.0 works. I wanted a smart watch.........
Samsung does know about this issue, here http://goo.gl/TgAFA (very very long link)
There are 9 pages of reports.
tonu42 said:
Wow I am shocked at my results of findings on this. I was also under the impression 4.0 works. I wanted a smart watch.........
Samsung does know about this issue, here [removed to allow post] (very very long link)
There are 9 pages of reports.
Click to expand...
Click to collapse
I hadn't found that before, but it doesn't surprise me. What I haven't been able to find out is if this is something the developers who create custom ROM's can add this themselves, or they will have have to wait for Samsung (or Google?) to add it?
Interesting, and Bluetooth 4.0 is what Apple is touting to use as a replacement for NFC - it would probably behoove Samsung to get this working properly (sounds like they are responding positively in their developer forum).
From the manual:
Bluetooth
Your phone supports Bluetooth® 4.0.
Bluetooth profiles
Bluetooth profiles are specifications for services supported
by individual devices. Profiles improve the ability of different
devices to work together. Your phone supports these
Bluetooth profiles:
• Headset: HSP v1.2 profile supports use of compatible Bluetooth
headsets for mono voice.
• Handsfree: HFP v1.5 profile supports Bluetooth headsets, and
may also support other compatible Bluetooth devices with
speakerphone capabilities.
• Stereo: A2DP v1.2, AVRCP v1.0, GAVDP 1.2, AVCTP 1.3 and
AVDTP 1.2 profiles support delivery of stereo audio to compatible
Bluetooth devices.
• Object Exchange: OPP v1.0 profile allows sending and receiving
of contact name cards (vCard 2.1) and calendar events
(vCalendar) between devices. PBAP v1.2 supports exchange of
Phone Book Objects.
• Human Interface Devices: HID v1.0 profile supports certain
interface devices.
• Personal Area Networking: PAN 1.0 supports exchange of data
with other devices.
• Message Access Profile: MAP 1.0 allows exchange of text
messages between devices, such as with an automotive handsfree
device.
• Health Device Profile: HDP allows communication with medical
devices.
Click to expand...
Click to collapse
- ooofest
Is there a way to enable the "PAN" profile on The HTC One X running ICS?
Under the settings of the specific paired device, there is no PAN profile available to select.
Someone suggested to edit the build.prop file.
Any suggestions if this would work?
Sent from my HTC One X using xda app-developers app

Categories

Resources