HI All,

     I am working on porting gprs to android. I have gingerbread ported on
arm target. I have seen a very good discussions on porting gprs to android.
Also I am facing the problem in this.
I have successfully ported RIL to android and i am able to make
phone call and sms using my sim card on GSM + GPRS module integrated
on a TI ARM based EVK.

Now i want configure the internet using Mobile network. If i go to
Settings->Wireless Networks->Mobile Networks->APN

on logcat -b radio, i see following log message
[0081]< REQUEST_GET_PREFERRED_NETWORK_TYPE error:
com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

For my GSM+GPRS the pppd and chat command on linux to get the remote ip and
local ip is:
pppd /dev/ttyS0 115200 asyncmap auth connect 'chat -v "" AT OK ATE0 OK
AT+IPR=115200 OK AT+CGDCONT=1,\"IP\",\"airtelgprs.com\" OK ATDT*99***1#
CONNECT' nocrtscts defaultroute modem updetach

I feel RIL module will also take care of Mobile network configuration in
case of Android.

Please advice, if the RIL i have ported is minimal for Phone and SMS only
and need to be supported for Network as well, as the radio log message
dumps as
[0081]< REQUEST_GET_PREFERRED_NETWORK_TYPE error:
com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

Do i need to implemenet in RIL 'GET_PREFERRED_NETWORK_TYPE' and
'SET_PREFERRED_NETWORK_TYPE'? or am i missing anything else as well, as i
see in setttings->security settings, my SIM LOCK is enabled by default, do
i have to unlock it? if so,it asks for a PIN as well.


Thanks and Regards
SUDHEER

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to