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
À :
android...@googlegroups.comCc :
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:
android-porti...@googlegroups.com 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
android-porti...@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.