Need a support for integarting the EC20 GPS module in android automotive OS

If it is EC200U you can leave the gps_cfg.inf with the rild-nmea as GPS NMEA uart.
Please do not set it to ttyUSB1 for the EC200U.

Hi @Bean.Wang-Q

Ok i leave the gps_cfg.inf as default.

#you can modify this config file to adapt your demand.
#the line start with ';' means not support
#the line start with '#' means use default config
#if use gps only module via uart MODULE_TYPE must be configured
;MODULE_TYPE=
;NMEA_PORT_PATH=rild-nmea
;RMC_HZ=1
;NMEA_PORT_PATH=/dev/ttyUSB1
;BAUD_RATE=115200

what about ql_ril.conf am i need to command the following line

At_Cmds_For_Customer_Initialize=AT+QGPS=1

Thanks,
subash

There is ; here. It should be
NMEA_PORT_PATH=rild-nmea

1 Like

Hi @Bean.Wang-Q

I successfully installed the GPS test 1.5.3 version of apk to test whether the GPS is working or not, but I wasn’t able to see any location status in this app. I will provide the log of

logcat -s gps_ql -v time

logcat -s gps_ql -v time.txt (16.3 KB)

The GPS didn’t turn on.
You should send the AT command

AT+QGPS=1 before you start the GPS APK.

To which port do I need to send the command, ttyUSB0 or ttyUSB1?. I can see only two ports available in the dev partition.

There should be 4 ttyUSB. If there is only two ttyUSB it means that the Linux kernel dirver is not correct.