Gudielines on 3G modem integration

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Gudielines on 3G modem integration

2,245 次查看
lyfsci
Contributor III

Hi Experts,

Is there any guidelines document on 3G/4G modem integration with the iMX platforms running Android Lollipop versions ?

Regards,

lyf

标签 (1)
0 项奖励
2 回复数

880 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hi lyf,

    Generally speaking, porting documents on 3G/4G should be provided by manufacture, For different 3G/4G module, porting steps are also distinct。the following steps are for ZTE 3G on android jb 4.2.2, for you as a reference:

----Common steps:

(1) linux USB driver

In linux kernel, we should select GSM module in USB driver path.

(2)Communication port for 3G

After linux booting normally, you can find some communation port at path /dev/, like ttyUSB0,ttyUSB1,ttyUSB2...

These tty ports are for AT commands & data transimiiting, but which one is for data , or which one is for AT command, we should have to ask manufacture or get informaiton for them.

(3)dial script

3G manufacture will give the script to you, if not, ask for it.

(4)Dynamic library(libreference-ril.so)

3G manufacture will give you the library to replace original one in android.

(5)Add service for 3G in init.rc file according their documents

---As an example, let us see steps for ZTE 3G(CDMA)

** Replace original file with libreference-ril.so file that ZTE released.

**Copy init.gprs-pppd file to system/etc/ppp directory

**Modify init..rc like following:

service ril-daemon /system/bin/rild -l /system/lib/libreference-ril.so -- -d /dev/ttyUSB2 -u /dev/ttyUSB0

class main

socket rild stream 660 root radio

socket rild-debug stream 660 radio system

socket rild-ppp stream 660 radio system

user root

group radio cache inet misc audio sdcard_rw log

service pppd_gprs /etc/ppp/init.gprs-pppd

class main

user root

group radio cache inet misc

disabled

oneshot

Hope above steps and information can help you !

Regards,

Weidong

0 项奖励

880 次查看
lyfsci
Contributor III

Hi Weidong,

Thanks for the detailed reply.

Is there any way to find the methodologies adopted in the mobile phone vendor specific android repo's on using the modem in the phone ?

Does all the android mobile phone vendors keep their android repo open ?

Regards,

Lyf

0 项奖励