Hi @Bean.Wang-Q
But i can’t able to see the mobile network option in both board for your reference i will attach my device.mk file
device.txt (4.4 KB)
Thank,
subash
Hi @Bean.Wang-Q
But i can’t able to see the mobile network option in both board for your reference i will attach my device.mk file
device.txt (4.4 KB)
Thank,
subash
Sorry I don’t find anything wrong here.
I just guess that the mobile data is removed or that you do not add the networkAttributes in the correct place.
Hi @Bean.Wang-Q
Is there a mobile data option available for Android Automotive OS? I didn’t know about that, I’m new to this
Thanks,
subash.
I think you can
cd device/
grep -rnH “overlay”
I guess that it might not be the overlay_car.
Hi @Bean.Wang-Q
I will attach the result of grep -rnH “overlay”
command in my device directory my device is mek_8q
and mek_8q_car2.mk
is my make file mek_8q_car.mk
is linked with car2.mk
overlay.txt (141.3 KB)
Thanks,
subash
If it is mek_8q_car.mk, it should be the overlay_car
nxp/imx8q/mek_8q/mek_8q_car.mk:20:PRODUCT_PACKAGE_OVERLAYS += $(IMX_DEVICE_PATH)/overlay_car
Hi @Bean.Wang-Q
# Android Auto without M4 EVS uses dynamic partition
TARGET_USE_DYNAMIC_PARTITIONS ?= true
# -------@block_infrastructure-------
include $(IMX_DEVICE_PATH)/mek_8q_car.mk
# -------@block_common_config-------
# Overrides
PRODUCT_NAME := mek_8q_car2
mek_8q_car2.mk includes the mek_8q_car.mk the above lines were presented in the mek_8q_car2.mk file and also i added the services in init_car.rc file
Thanks,
Subash
I cannot know why.
Please provide the logcat -b all.
Or you can create a fold in /data/quectel_debug_log, and please provide the log in /data/quectel_debug_log.
The log you proivded is too short.
Hi @Bean.Wang-Q
I will provide the logcat -b all below, also i find in quectel forum about internet connection problem they mentioned to add the following line in device.cpp
} else if (uevent.subsystem == "usbmisc" && !uevent.device_name.empty()) {
devpath = "/dev/" + uevent.device_name;
}
logcat_all.txt (1.3 MB)
Can you show the apns-conf.xml?
Hi @Bean.Wang-Q
Sure i found this from an Quectel forum, I will attach below
apnconfig.txt (837.0 KB)
Thanks,
subash
I just find them
<apn carrier="Mobile Office"
carrier_id = "1961"
mcc="404"
mnc="94"
apn="airtelgprs.com"
type="default,ia,supl"
protocol="IPV4V6"
roaming_protocol="IPV4V6"
/>
<apn carrier="AIRTEL LIVE"
carrier_id = "1961"
mcc="404"
mnc="94"
apn="airtelfun.com"
proxy="100.1.200.99"
port="8080"
type="default,ia,supl"
protocol="IPV4V6"
roaming_protocol="IPV4V6"
/>
But for your SIM card it is 404940
Maybe you can add
<apn carrier="Mobile Office"
carrier_id = "1961"
mcc="404"
mnc="940"
apn="airtelgprs.com"
type="default,ia,supl"
protocol="IPV4V6"
roaming_protocol="IPV4V6"
/>
Maybe you can add
PRODUCT_PACKAGES += \
CarrierDefaultApp \
CarrierConfig
Hi @Bean.Wang-Q
I can access the mobile network option via this app ?, After adding the mcc="404" mnc="940"
in apns-conf.xml and
PRODUCT_PACKAGES += \
CarrierDefaultApp \
CarrierConfig
in device.mk file, I will attach the logcat -b all result below
logcat_all.txt (1.3 MB)
Thanks,
subash
it is not what I expected.
Just from the log we do not see the Android start data call for this modem successfully.
Is the WIFI or ethnet connected? WIFI and ETH has much higher priority than 4G.
No nothing has been connected to my custom board except quectel ec200u modem with 4g sim
Thanks,
subash.