Indeed, The properties (ro.kernel.android.gps and
ro.kernel.android.gps.baud) allow you to set easily the I/O of the device.
Even though, you still need the HAL native part, in order, to notify the
GPS service via its JNI implementation on the GPS activities.
Le 27/10/2014 16:24, ApriOri a écrit :
Thank you.
It seems that some level of support for serial GPS device is already
included in the AOSP code since android already provides
ro.kernel.android.gps and ro.kernel.android.gps.baud.
What is the meaning of these parameters?
Does it means that I still have to write the HAL part of the GPS ?
even that it's a standard Serial port communication?
On Monday, October 27, 2014 3:45:42 PM UTC+2, ckkeo wrote:
Well, beingable toutread/writefrom/to thelegacydevice
throughtheSerialportdoesn'tmeanthatthesystèmerecognizesthedevice,
insteadyouneedtoadd thesupport handlingtotheGPSservice, unorder,
forthesystemtorecognizesthedeviceandnotifiesthroughtheframeworkmessagesaspartoftheGPSservice.
Send on my android mobile.
____________________
De : ApriOri
Date : 26 octobre 2014 21h19
À : [email protected] <javascript:>
Cc :
Objet : [android-porting] Serial NMEA GPS support in
libhardware_leagcy
Hello.
I have a standard GPS device that I connect to my hardware using a
serial port.
I'm able to read NMEA data from /dev/ttyXX but it seems that
Android does not pick up the data from the serial port,
I configure it with setprop ro.kernel.android.gps=/dev/ttyXX and
gps.baud=38400
Still it seems that android ignore the gps data ( no gps icon in
the notification drawer, it is enabled in the location settings)
My build has no libgps.so and I was wondering if any special build
steps are required in AOSP to enable GPS support.
Regards.
--
--
unsubscribe: [email protected] <javascript:>
website: http://groups.google.com/group/android-porting
<http://groups.google.com/group/android-porting>
---
You received this message because you are subscribed to the Google
Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected] <javascript:>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce
que la protection avast! Antivirus est active.
http://www.avast.com
--
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.