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, being able tout read/write from/to the legacy device through the 
> Serial port doesn't mean that the système recognizes  the device, instead 
> you need to add the support handling to the GPS service, un order, for the 
> system to recognizes the device and notifies through the framework 
> messages as part of the GPS service.
>
> 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
>
> --- 
> 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.
>

-- 
-- 
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.

Reply via email to