RIL GPRS data channel

閲覧: 420 回
最初の未読メッセージにスキップ

dannychi

未読、
2009/05/20 8:33:452009/05/20
To: android-porting
Hi all,
In ril.h
/**
* RIL_REQUEST_SETUP_DEFAULT_PDP
*
* Configure and activate PDP context (CID 1) for default IP
connection
*
* Android Telephony layer will start up pppd process on specified
* tty when this request responded to.
Does this mean PPP is required for GPRS data connection?
Does android support raw IP GPRS interface like NDIS in Windows
mobile?
Can GPRS work if ro.radio.use-ppp=no?
Thanks

Brian Liu

未読、
2009/05/21 9:40:182009/05/21
To: android-porting
PPP is not mandatory for data connection. That's depend on the modem
you use. In fact, ro.radio.use-ppp is default as "no".

Even using PPP, you don't need set ro.radio.use-ppp to "yes". You can
launch pppd to setup data connection when PDP context is successfully
activated (i.e. RIL_REQUEST_DEFAULT_PDP get OK) in RIL.

cindy_king_1024

未読、
2009/06/17 3:14:022009/06/17
To: android-porting
Hi.
 I add the edge modules to my evm board ,but when I check the log it come with:

# logcat -b radio
I/RIL     (  691): Opening tty device /dev/ttyS1
I/RILC    (  691): libril: new connection
I/RILC    (  691): RIL Daemon version: android reference-ril 1.0
I/RILJ    (  748): Connected to 'rild' socket
D/RILJ    (  748): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_UNAVAILABLE
W/GSM     (  748): Can't open /system/etc/voicemail-conf.xml
D/RILJ    (  748): [0000]> GET_CURRENT_CALLS
D/RIL     (  691): onRequest: GET_CURRENT_CALLS
D/RILJ    (  748): [0000]< GET_CURRENT_CALLS error: com.android.internal.telephony.gsm.CommandExcept
ion: RADIO_NOT_AVAILABLE
D/GSM     (  748): Poll ServiceState done:  oldSS=[1 home null null null ] newSS=[1 home null null n
ull ] oldGprs=1 newGprs=1 oldType=unknown newType=unknown
D/GSM     (  748): [DataConnectionTracker] Radio is off and clean up all connection
D/GSM     (  748): [DataConnectionTracker] Clean up connection due to radioTurnedOff
D/GSM     (  748): [DataConnection] Stop poll NetStat
D/GSM     (  748): [DataConnectionTracker] setState: IDLE
D/GSM     (  748): [DataConnection] Stop poll NetStat
D/GSM     (  748): [DataConnectionTracker] ***trySetupData due to roamingOff
D/GSM     (  748): [DataConnectionTracker] trySetupData: Not ready for data:  dataState=IDLE gprsSta
te=1 sim=false UMTS=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=true
D/GSM     (  748): [GsmSimCard] Broadcasting intent SIM_STATE_CHANGED_ACTION NOT_READY reason null
D/STK     (  748): StkAppService$ServiceHandler: OP_BOOT_COMPLETED
 
 
Can you give me some advice ? What's the matter?

网易全新推出企业邮箱

Brian Liu

未読、
2009/06/17 5:24:142009/06/17
To: android-porting
Looks like your RIL HAL (libreferen-ril.so) was loaded but didn't open
the serial connection with modem successfully.

Check mainLoop() in reference-ril.c, make sure you successfully open
the serial port (i.e. fd >= 0). If that's true, put some log in
initializeCallback() which will do some initialize communication
(ATE0Q0V1 to disable echo, AT+CFUN? to check modem feature
availability, etc).
> 在2009-05-20?20:33:45,dannychi?<dannyc...@gmail.com>?写道:
>
>
>
>
>
> >Hi?all,
> >In?ril.h
> >/**
> >?*?RIL_REQUEST_SETUP_DEFAULT_PDP
> >?*
> >?*?Configure?and?activate?PDP?context?(CID?1)?for?default?IP
> >connection
> >?*
> >?*?Android?Telephony?layer?will?start?up?pppd?process?on?specified
> >?*?tty?when?this?request?responded?to.
> >Does?this?mean?PPP?is?required?for?GPRS?data?connection?
> >Does?android?support?raw?IP?GPRS?interface?like?NDIS?in?Windows
> >mobile?
> >Can?GPRS?work?if??ro.radio.use-ppp=no?
> >Thanks

cindy_king_1024

未読、
2009/06/18 2:54:492009/06/18
To: android-porting
Thanks for your attention , I have forget change the owner of /dev/ttyS1, after the action,but it come with :

I/RIL     (  684): Opening tty device /dev/ttyS1
W/RILC    (  684): RIL_onUnsolicitedResponse called before RIL_register
D/AT      (  684): AT> ATE0Q0V1
D/AT      (  684): AT> ATE0Q0V1
D/AT      (  684): AT> ATE0Q0V1
D/AT      (  684): AT> ATE0Q0V1
D/AT      (  684): AT> ATE0Q0V1
D/AT      (  684): AT> ATE0Q0V1
D/AT      (  684): AT> ATE0Q0V1
D/AT      (  684): AT> ATE0Q0V1
D/AT      (  684): AT> ATE0Q0V1
I/RILJ    (  756): Connected to 'rild' socket
W/GSM     (  756): Can't open /system/etc/voicemail-conf.xml
D/RILJ    (  756): [0000]> GET_CURRENT_CALLS
D/GSM     (  756): Poll ServiceState done:  oldSS=[1 home null null null ] newSS=[1 home null null n

ull ] oldGprs=1 newGprs=1 oldType=unknown newType=unknown
D/GSM     (  756): [DataConnectionTracker] Radio is off and clean up all connection
D/GSM     (  756): [DataConnectionTracker] Clean up connection due to radioTurnedOff
D/GSM     (  756): [DataConnection] Stop poll NetStat
D/GSM     (  756): [DataConnectionTracker] setState: IDLE
D/GSM     (  756): [DataConnection] Stop poll NetStat
D/GSM     (  756): [DataConnectionTracker] ***trySetupData due to roamingOff
D/GSM     (  756): [DataConnectionTracker] trySetupData: Not ready for data:  dataState=IDLE gprsSta

te=1 sim=false UMTS=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=true
D/GSM     (  756): [GsmSimCard] Broadcasting intent SIM_STATE_CHANGED_ACTION NOT_READY reason null
D/RILJ    (  756): WAKE_LOCK_TIMEOUT  mReqPending=0 mRequestList=1
D/RILJ    (  756): 0: [0] GET_CURRENT_CALLS
D/STK     (  756): StkAppService$ServiceHandler: OP_BOOT_COMPLETED
 
 
As if there is something wrong with the data connecton.What's the matter?

200万种商品,最低价格,疯狂诱惑你

Brian Liu

未読、
2009/06/18 5:45:032009/06/18
To: android-porting
RILD send ATE0Q0V1 to your modem (8 times) via /dev/ttyS1 but your
modem didn't response. Please check your connection to modem.

Maybe you need configure /dev/ttyS1 with correct parameters (e.g. baud
rate, 7 or 8 bit data, parity bit, etc) which match with your modem.
That can be done after you open the /dev/ttyS1 in mainLoop().
> 在2009-06-17?17:24:14,"Brian?Liu"?<liujianh...@gmail.com>?写道:
>
>
>
>
>
> >Looks?like?your?RIL?HAL?(libreferen-ril.so)?was?loaded?but?didn't?open
> >the?serial?connection?with?modem?successfully.
>
> >Check?mainLoop()?in?reference-ril.c,?make?sure?you?successfully?open
> >the?serial?port?(i.e.?fd?>=?0).?If?that's?true,?put?some?log?in
> >initializeCallback()?which?will?do?some?initialize?communication
> >(ATE0Q0V1?to?disable?echo,?AT+CFUN??to?check?modem?feature
> >availability,?etc).
>
> >On?Jun?17,?3:14?pm,?cindy_king_1024?<cindy_king_1...@126.com>?wrote:
> >>?Hi.
> >>??I?add?the?edge?modules?to?my?evm?board?,but?when?I?check?the?log?it?com e?with:
>
> >>?#?logcat?-b?radio
> >>?I/RIL?????(??691):?Opening?tty?device?/dev/ttyS1
> >>?I/RILC????(??691):?libril:?new?connection
> >>?I/RILC????(??691):?RIL?Daemon?version:?android?reference-ril?1.0
> >>?I/RILJ????(??748):?Connected?to?'rild'?socket
> >>?D/RILJ????(??748):?[UNSL]<?UNSOL_RESPONSE_RADIO_STATE_CHANGED?RADIO_UNAV AILABLE
> >>?W/GSM?????(??748):?Can't?open?/system/etc/voicemail-conf.xml
> >>?D/RILJ????(??748):?[0000]>?GET_CURRENT_CALLS
> >>?D/RIL?????(??691):?onRequest:?GET_CURRENT_CALLS
> >>?D/RILJ????(??748):?[0000]<?GET_CURRENT_CALLS?error:?com.android.internal .telephony.gsm.CommandExcept
> >>?ion:?RADIO_NOT_AVAILABLE
> >>?D/GSM?????(??748):?Poll?ServiceState?done:??oldSS=[1?home?null?null?null ?]?newSS=[1?home?null?null?n
> >>?ull?]?oldGprs=1?newGprs=1?oldType=unknown?newType=unknown
> >>?D/GSM?????(??748):?[DataConnectionTracker]?Radio?is?off?and?clean?up?all ?connection
> >>?D/GSM?????(??748):?[DataConnectionTracker]?Clean?up?connection?due?to?ra dioTurnedOff
> >>?D/GSM?????(??748):?[DataConnection]?Stop?poll?NetStat
> >>?D/GSM?????(??748):?[DataConnectionTracker]?setState:?IDLE
> >>?D/GSM?????(??748):?[DataConnection]?Stop?poll?NetStat
> >>?D/GSM?????(??748):?[DataConnectionTracker]?***trySetupData?due?to?roamin gOff
> >>?D/GSM?????(??748):?[DataConnectionTracker]?trySetupData:?Not?ready?for?d ata:??dataState=IDLE?gprsSta
> >>?te=1?sim=false?UMTS=false?phoneState=IDLE?dataEnabled=true?roaming=false ?dataOnRoamingEnable=true
> >>?D/GSM?????(??748):?[GsmSimCard]?Broadcasting?intent?SIM_STATE_CHANGED_AC TION?NOT_READY?reason?null
> >>?D/STK?????(??748):?StkAppService$ServiceHandler:?OP_BOOT_COMPLETED
>
> >>?Can?you?give?me?some?advice???What's?the?matter?
>
> >>?在2009-05-20?20:33:45,dannychi?<dannyc...@gmail.com>?写道:
>
> >>?>Hi?all,
> >>?>In?ril.h
> >>?>/**
> >>?>?*?RIL_REQUEST_SETUP_DEFAULT_PDP
> >>?>?*
> >>?>?*?Configure?and?activate?PDP?context?(CID?1)?for?default?IP
> >>?>connection
> >>?>?*
> >>?>?*?Android?Telephony?layer?will?start?up?pppd?process?on?specified
> >>?>?*?tty?when?this?request?responded?to.
> >>?>Does?this?mean?PPP?is?required?for?GPRS?data?connection?
> >>?>Does?android?support?raw?IP?GPRS?interface?like?NDIS?in?Windows
> >>?>mobile?
> >>?>Can?GPRS?work?if??ro.radio.use-ppp=no?
> >>?>Thanks

cindy_king_1024

未読、
2009/06/18 7:12:292009/06/18
To: android-porting
Ask more,How to set the parameter?The baud is 460800,I have change it in the ril-libreference.c.

Thanks a lot !!!

200万种商品,最低价格,疯狂诱惑你

Nimit Manglick

未読、
2009/06/18 8:08:282009/06/18
To: android...@googlegroups.com
In mainLoop () function when the device is getting opened , after that initialize teh modem as per your modem datasheet.

2009/6/18 cindy_king_1024 <cindy_k...@126.com>

cindy_king_1024

未読、
2009/07/03 2:00:262009/07/03
To: android-porting

Hi,Nimit
 
Now I can receive the AT command,but what's the matter with the  following formations ,thanks !
 
I/RILC    (  681): RIL Daemon version: android reference-ril 1.0
I/RILJ    (  741): Connected to 'rild' socket
D/RILJ    (  741): Radio ON @ init; reset to OFF
D/RILJ    (  741): [0000]> RADIO_POWER
D/RIL     (  681): onRequest: RADIO_POWER
D/AT      (  681): AT> AT+CFUN=1
D/AT      (  681): AT< +CME:1,1,1
D/RILJ    (  741): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_UNAVAILABLE
D/RILJ    (  741): [0000]< RADIO_POWER error: com.android.internal.telephony.gsm.CommandException: G
ENERIC_FAILURE
W/GSM     (  741): Can't open /system/etc/voicemail-conf.xml
D/RILJ    (  741): [0001]> GET_CURRENT_CALLS
D/RIL     (  681): onRequest: GET_CURRENT_CALLS
D/AT      (  681): AT> AT+CLCC
D/GSM     (  741): Poll ServiceState done:  oldSS=[1 home null null null ] newSS=[1 home null null n

ull ] oldGprs=1 newGprs=1 oldType=unknown newType=unknown
D/GSM     (  741): [DataConnectionTracker] Radio is off and clean up all connection
D/AT      (  681): AT< OK
D/RILJ    (  741): [0001]< GET_CURRENT_CALLS
D/GSM     (  741): [DataConnectionTracker] Clean up connection due to radioTurnedOff
D/GSM     (  741): [DataConnection] Stop poll NetStat
D/GSM     (  741): [DataConnectionTracker] setState: IDLE
D/GSM     (  741): [DataConnection] Stop poll NetStat
D/GSM     (  741): [DataConnectionTracker] ***trySetupData due to roamingOff
D/GSM     (  741): [DataConnectionTracker] trySetupData: Not ready for data:  dataState=IDLE gprsSta
te=1 sim=false UMTS=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=false

D/GSM     (  741): [GsmSimCard] Broadcasting intent SIM_STATE_CHANGED_ACTION NOT_READY reason null
D/STK     (  741): StkAppService$ServiceHandler: OP_BOOT_COMPLETED
200万种商品,最低价格,疯狂诱惑你

Nimit Manglick

未読、
2009/07/07 0:55:132009/07/07
To: android...@googlegroups.com
Just dont care about them.... It should work fine....

2009/7/3 cindy_king_1024 <cindy_k...@126.com>

cindy_king_1024

未読、
2009/07/09 1:10:092009/07/09
To: android-porting
Hi Nimit,
Thanks.
    There is another thing,I can dialing the number but it can't reach the number,and my SIM card hold busy,what's the matter?
By the way ,how to set  "AT + COPS"?
 
I/RIL     (  794): Opening tty device /dev/ttyS2
D/AT      (  794): AT> ATE0Q0V1
D/AT      (  794): AT< OK
D/AT      (  794): AT> AT
D/AT      (  794): AT< OK
D/AT      (  794): AT> ATE0Q0V1
D/AT      (  794): AT< OK
D/AT      (  794): AT> ATS0=0
D/AT      (  794): AT< OK
D/AT      (  794): AT> AT+CGREG=1
D/AT      (  794): AT< OK
D/AT      (  794): AT> AT+CCWA=1
D/AT      (  794): AT< OK
D/AT      (  794): AT> AT+CMOD=0
D/AT      (  794): AT< OK
D/AT      (  794): AT> AT+CMUT=0
D/AT      (  794): AT< OK
D/AT      (  794): AT> AT+CSSN=0,1
D/RILJ    (  751): [0000]> GET_CURRENT_CALLS
D/RILJ    (  751): [0000]< GET_CURRENT_CALLS error: com.android.internal.telephony.gsm.CommandExcept
ion: RADIO_NOT_AVAILABLE
D/GSM     (  751): Poll ServiceState done:  oldSS=[1 home null null null ] newSS=[1 home null null n

ull ] oldGprs=1 newGprs=1 oldType=unknown newType=unknown
D/AT      (  794): AT< OK
D/AT      (  794): AT> AT+COLP=0
D/GSM     (  751): [DataConnectionTracker] Radio is off and clean up all connection
D/GSM     (  751): [DataConnectionTracker] Clean up connection due to radioTurnedOff
D/GSM     (  751): [DataConnection] Stop poll NetStat
D/GSM     (  751): [DataConnectionTracker] setState: IDLE
D/AT      (  794): AT< OK
D/AT      (  794): AT> AT+CSCS="IRA"
D/GSM     (  751): [DataConnection] Stop poll NetStat
D/AT      (  794): AT< OK
D/AT      (  794): AT> AT+CUSD=1
D/GSM     (  751): [DataConnectionTracker] ***trySetupData due to roamingOff
D/AT      (  794): AT< OK
D/AT      (  794): AT> AT+CMGF=0
D/AT      (  794): AT< OK
D/AT      (  794): AT> AT+CFUN?
D/AT      (  794): AT< +CFUN: 1
D/AT      (  794): AT< OK
D/AT      (  794): AT> AT+CPIN?
D/GSM     (  751): [DataConnectionTracker] trySetupData: Not ready for data:  dataState=IDLE gprsSta

te=1 sim=false UMTS=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=false
D/GSM     (  751): [GsmSimCard] Broadcasting intent SIM_STATE_CHANGED_ACTION NOT_READY reason null
D/AT      (  794): AT< +CPIN: READY
D/AT      (  794): AT< OK
I/RILJ    (  751): Connected to 'rild' socket
I/RILC    (  794): libril: new connection
I/RILC    (  794): RIL Daemon version: android reference-ril 1.0
D/GSM     (  751): Notifying: radio available
D/RILJ    (  751): [0001]> SCREEN_STATE: true
D/RILJ    (  751): [0002]> OPERATOR
D/GSM     (  751): Notifying: SIM ready
D/GSM     (  751): Notifying: Radio On
D/RILJ    (  751): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED SIM_READY
D/RIL     (  794): onRequest: SCREEN_STATE
D/RILJ    (  751): [0001]< SCREEN_STATE error: com.android.internal.telephony.gsm.CommandException:
REQUEST_NOT_SUPPORTED
D/RIL     (  794): onRequest: OPERATOR
D/AT      (  794): AT> AT+COPS=0,0;+COPS?;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?
D/RILJ    (  751): [0003]> GPRS_REGISTRATION_STATE
D/RILJ    (  751): [0004]> REGISTRATION_STATE
D/AT      (  794): AT< +COPS: 0,0,"CU-GSM"
D/AT      (  794): AT< +COPS: 0,0,"CU-GSM"
D/AT      (  794): AT< +COPS: 0,2,"46001"
D/AT      (  794): AT< OK
D/RIL     (  794): onRequest: GPRS_REGISTRATION_STATE
D/AT      (  794): AT> AT+CGREG?
D/RILJ    (  751): [0002]< OPERATOR {CU-GSM, CU-GSM, 46001}
D/AT      (  794): AT< +CGREG: 1,1
D/AT      (  794): AT< OK
D/RILJ    (  751): [0005]> QUERY_NETWORK_SELECTION_MODE
D/RIL     (  794): onRequest: REGISTRATION_STATE
D/AT      (  794): AT> AT+CREG?
D/RILJ    (  751): [0006]> BASEBAND_VERSION
D/RILJ    (  751): [0003]< GPRS_REGISTRATION_STATE {1, -1, -1}
D/RILJ    (  751): [0007]> GET_IMEI
D/AT      (  794): AT< +CREG: 0,1
D/AT      (  794): AT< OK
D/RIL     (  794): onRequest: QUERY_NETWORK_SELECTION_MODE
D/AT      (  794): AT> AT+COPS?
D/RILJ    (  751): [0004]< REGISTRATION_STATE {1, -1, -1}
D/RILJ    (  751): [0008]> GET_IMEISV
D/AT      (  794): AT< +COPS: 0,2,"46001"
D/AT      (  794): AT< OK
D/RIL     (  794): onRequest: BASEBAND_VERSION
D/RIL     (  794): onRequest: GET_IMEI
D/AT      (  794): AT> AT+CGSN
D/RILJ    (  751): [0005]< QUERY_NETWORK_SELECTION_MODE {0}
D/RILJ    (  751): [0006]< BASEBAND_VERSION error: com.android.internal.telephony.gsm.CommandExcepti
on: REQUEST_NOT_SUPPORTED
D/AT      (  794): AT< 353036022465690
D/AT      (  794): AT< OK
D/RIL     (  794): onRequest: GET_IMEISV
D/RILJ    (  751): [0007]< GET_IMEI
D/RILJ    (  751): [0008]< GET_IMEISV error: com.android.internal.telephony.gsm.CommandException: RE
QUEST_NOT_SUPPORTED
D/RILJ    (  751): [0009]> SET_NETWORK_SELECTION_AUTOMATIC
D/RIL     (  794): onRequest: SET_NETWORK_SELECTION_AUTOMATIC
D/AT      (  794): AT> AT+COPS=0
D/RILJ    (  751): [0010]> OPERATOR
D/AT      (  794): AT< OK
D/RIL     (  794): onRequest: OPERATOR
D/AT      (  794): AT> AT+COPS=0,0;+COPS?;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?
D/RILJ    (  751): [0011]> GPRS_REGISTRATION_STATE
D/RILJ    (  751): [0012]> REGISTRATION_STATE
D/RILJ    (  751): [0013]> QUERY_NETWORK_SELECTION_MODE
D/GSM     (  751): [GsmSimCard] Broadcasting intent SIM_STATE_CHANGED_ACTION READY reason null
D/AT      (  794): AT< +COPS: 0,2,"46001"
D/AT      (  794): AT< +COPS: 0,0,"CU-GSM"
D/AT      (  794): AT< +COPS: 0,2,"46001"
D/AT      (  794): AT< OK
D/RIL     (  794): onRequest: GPRS_REGISTRATION_STATE
D/AT      (  794): AT> AT+CGREG?
D/RILJ    (  751): [0010]< OPERATOR {46001, CU-GSM, 46001}
D/AT      (  794): AT< +CGREG: 1,1
D/AT      (  794): AT< OK
D/RIL     (  794): onRequest: REGISTRATION_STATE
D/RILJ    (  751): [0011]< GPRS_REGISTRATION_STATE {1, -1, -1}
D/AT      (  794): AT> AT+CREG?
V/GSM     (  751): SIMRecords:fetchSimRecords 0
D/RILJ    (  751): [0014]> getIMSI:RIL_REQUEST_GET_IMSI 11 GET_IMSI
D/RILJ    (  751): [0015]> simIO: SIM_IO 0xc0 0x2fe2 0,0,15
D/AT      (  794): AT< +CREG: 0,1
D/AT      (  794): AT< OK
D/RIL     (  794): onRequest: QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  751): [0012]< REGISTRATION_STATE {1, -1, -1}
D/AT      (  794): AT> AT+COPS?
D/RILJ    (  751): [0016]> simIO: SIM_IO 0xc0 0x6f40 0,0,15
D/AT      (  794): AT< +COPS: 0,2,"46001"
D/AT      (  794): AT< OK
D/RIL     (  794): onRequest: GET_IMSI
D/AT      (  794): AT> AT+CIMI
D/RILJ    (  751): [0013]< QUERY_NETWORK_SELECTION_MODE {0}
D/AT      (  794): AT< 460019804231933
D/AT      (  794): AT< OK
D/RIL     (  794): onRequest: SIM_IO
D/AT      (  794): AT> AT+CRSM=192,12258,0,0,15
D/RILJ    (  751): [0014]< GET_IMSI
D/RILJ    (  751): [0017]> simIO: SIM_IO 0xc0 0x6fc9 0,0,15
D/AT      (  794): AT< +CRSM: 144,0,"0000000A2FE2040004F04401020000"
D/AT      (  794): AT< OK
D/RIL     (  794): onRequest: SIM_IO
D/AT      (  794): AT> AT+CRSM=192,28480,0,0,15
D/RILJ    (  751): [0015]< SIM_IO SimIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  751): [0018]> simIO: SIM_IO 0xc0 0x6fad 0,0,15
D/RILJ    (  751): [0019]> simIO: SIM_IO 0xc0 0x6fca 0,0,15
D/AT      (  794): AT< +CRSM: 144,0,"000000386F40040011F0440102011C"
D/AT      (  794): AT< OK
D/RIL     (  794): onRequest: SIM_IO
D/AT      (  794): AT> AT+CRSM=192,28617,0,0,15
D/RILJ    (  751): [0016]< SIM_IO SimIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  751): [0020]> simIO: SIM_IO 0xc0 0x6f11 0,0,15
D/RILJ    (  751): [0021]> simIO: SIM_IO 0xc0 0x6fcb 0,0,15
D/RILJ    (  751): [0022]> simIO: SIM_IO 0xc0 0x6f13 0,0,15
D/RILJ    (  751): [0023]> simIO: SIM_IO 0xc0 0x6f46 0,0,15
D/RILJ    (  751): [0024]> simIO: SIM_IO 0xc0 0x6fcd 0,0,15
D/RILJ    (  751): [0025]> simIO: SIM_IO 0xc0 0x6fc5 0,0,15
D/RILJ    (  751): [0026]> simIO: SIM_IO 0xc0 0x6f38 0,0,15
D/RILJ    (  751): [0027]> simIO: SIM_IO 0xc0 0x6f16 0,0,15
D/RILJ    (  751): [0028]> GET_SIM_STATUS
D/RILJ    (  751): [0029]> QUERY_FACILITY_LOCK
D/RILJ    (  751): [0030]> QUERY_FACILITY_LOCK
D/RILJ    (  751): [0031]> GET_CURRENT_CALLS
D/GSM     (  751): Poll ServiceState done:  oldSS=[1 home null null null ] newSS=[0 home 46001 CU-GS
M 46001 ] oldGprs=1 newGprs=0 oldType=unknown newType=unknown
D/GSM     (  751): IMSI: 460019xxxxxxxxx
D/GSM     (  751): [GsmSimCard] Broadcasting intent SIM_STATE_CHANGED_ACTION IMSI reason null
D/GSM     (  751): setLocaleFromMcc
D/GSM     (  751):  trying
D/GSM     (  751):  trying ja
D/GSM     (  751):  trying de
D/GSM     (  751):  trying nl
D/GSM     (  751):  trying pl
D/GSM     (  751):  trying fr
D/GSM     (  751):  trying cs
D/GSM     (  751):  trying es
D/GSM     (  751):  trying it
D/GSM     (  751):  trying ru
D/GSM     (  751):  trying en_GB
D/GSM     (  751):  trying en_SG
D/GSM     (  751):  trying nl_NL
D/GSM     (  751):  trying zh_CN
D/GSM     (  751):  trying en_US
D/GSM     (  751):  trying es_US
D/GSM     (  751):  trying en_AU
D/GSM     (  751):  trying zh_TW
D/GSM     (  751):  trying cs_CZ
D/GSM     (  751):  trying en
D/GSM     (  751):  trying da
D/GSM     (  751):  trying th
D/GSM     (  751):  trying fi
D/GSM     (  751):  trying ko
D/GSM     (  751):  trying ar
D/GSM     (  751):  trying tr
D/GSM     (  751):  trying hu
D/GSM     (  751):  trying iw
D/GSM     (  751):  trying pt_BR
D/GSM     (  751):  got bestmatch = null
D/RILJ    (  751): [0032]> simIO: SIM_IO 0xb0 0x2fe2 0,0,10
D/RILJ    (  751): [0033]> simIO: SIM_IO 0xb2 0x6f40 1,4,28
D/GSM     (  751): [DataConnectionTracker] ***trySetupData due to gprsAttached
D/GSM     (  751): [DataConnectionTracker] trySetupData: Not ready for data:  dataState=IDLE gprsSta
te=0 sim=false UMTS=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=false
D/RILJ    (  751): WAKE_LOCK_TIMEOUT  mReqPending=0 mRequestList=18
D/RILJ    (  751): 0: [9] SET_NETWORK_SELECTION_AUTOMATIC
D/RILJ    (  751): 1: [17] SIM_IO
D/RILJ    (  751): 2: [18] SIM_IO
D/RILJ    (  751): 3: [19] SIM_IO
D/RILJ    (  751): 4: [20] SIM_IO
D/RILJ    (  751): 5: [21] SIM_IO
D/RILJ    (  751): 6: [22] SIM_IO
D/RILJ    (  751): 7: [23] SIM_IO
D/RILJ    (  751): 8: [24] SIM_IO
D/RILJ    (  751): 9: [25] SIM_IO
D/RILJ    (  751): 10: [26] SIM_IO
D/RILJ    (  751): 11: [27] SIM_IO
D/RILJ    (  751): 12: [28] GET_SIM_STATUS
D/RILJ    (  751): 13: [29] QUERY_FACILITY_LOCK
D/RILJ    (  751): 14: [30] QUERY_FACILITY_LOCK
D/RILJ    (  751): 15: [31] GET_CURRENT_CALLS
D/RILJ    (  751): 16: [32] SIM_IO
D/RILJ    (  751): 17: [33] SIM_IO
D/STK     (  751): StkAppService$ServiceHandler: OP_BOOT_COMPLETED
D/RILJ    (  751): [0034]> SIGNAL_STRENGTH
D/RILJ    (  751): WAKE_LOCK_TIMEOUT  mReqPending=0 mRequestList=19
D/RILJ    (  751): 0: [9] SET_NETWORK_SELECTION_AUTOMATIC
D/RILJ    (  751): 1: [17] SIM_IO
200万种商品,最低价格,疯狂诱惑你

cindy_king_1024

未読、
2009/07/09 3:30:492009/07/09
To: android-porting
Hi,when I dial,it come with the following information,what dose it mean? It can't:
 
DIAL
D/RILJ    (  753): 21: [37] SET_MUTE
D/RILJ    (  753): 22: [38] SET_MUTE
D/RILJ    (  753): 23: [39] SET_MUTE
D/RILJ    (  753): 24: [40] DTMF_STOP
D/RILJ    (  753): 25: [41] SCREEN_STATE
D/RILJ    (  753): 26: [42] SET_MUTE
D/RILJ    (  753): 27: [43] SCREEN_STATE
D/RILJ    (  753): 28: [44] DTMF_STOP
D/RILJ    (  753): 29: [45] DTMF_STOP
D/RILJ    (  753): 30: [46] SET_MUTE
D/RILJ    (  753): 31: [47] DTMF_STOP
D/RILJ    (  753): 32: [48] DTMF_STOP


在2009-07-07 12:55:13,"Nimit Manglick" <nimita...@gmail.com> 写道:
200万种商品,最低价格,疯狂诱惑你

Nimit Manglick

未読、
2009/07/09 3:39:022009/07/09
To: android...@googlegroups.com
Just ignore these messages as these gets dumped from the telephony Java layer, as it expects some information which is not mandatory to make a call.

Secondly At+COPS will be taken care by the reference ril layer itself , u just need not to worry about that... (just cross check ur AT manual for the underlying modem to cross verify)

So the result AT+COPS returns has to be the operators information that SIM card belongs to... So I am not sure what it means in your country....


D/AT      (  794): AT< +COPS: 0,2,"46001"
D/AT      (  794): AT< +COPS: 0,0,"CU-GSM"
D/AT      (  794): AT< +COPS: 0,2,"46001"



In my case everything remains same except I recive the operators name and info.

Thanks & Regards
Nimit

2009/7/9 cindy_king_1024 <cindy_k...@126.com>

cindy_king_1024

未読、
2009/07/10 5:29:182009/07/10
To: android-porting
Hi,
This (CU-GSM) is the  network that connect to my sim card,there two type in my country,just as :
at+cops=?
+COPS: (2,"CU-GSM","","46001"),(3,"CMCC","","46000")

Now ,I dial the number ,there is no respond just output this information:
Can you give me some advice:
 
1.When dial why it come with the following content ,and few minutes the screen will be in sleep :
DIAL
android_power: wakeup (0->0) at 463840667709 (2000-01-01 00:07:42.615142759 UTC)
D/RILJ    (  746): [0037]> SET_MUTE false
D/RILJ    (  746): [0038]> SET_MUTE false
D/RILJ    (  746): [0039]> SET_MUTE false
D/RILJ    (  746): WAKE_LOCK_TIMEOUT  mReqPending=0 mRequestList=24
 
2. what does it mean about the following log:
D/GSM     (  746): setLocaleFromMcc
D/GSM     (  746):  trying
D/GSM     (  746):  trying ja .......
 
 
detail log:
D/GSM     (  746): Poll ServiceState done:  oldSS=[1 home null null null ] newSS=[0 home CU-GSM CU-G

SM 46001 ] oldGprs=1 newGprs=0 oldType=unknown newType=unknown
D/GSM     (  746): IMSI: 460019xxxxxxxxx
D/GSM     (  746): [GsmSimCard] Broadcasting intent SIM_STATE_CHANGED_ACTION IMSI reason null
D/GSM     (  746): setLocaleFromMcc
D/GSM     (  746):  trying
D/GSM     (  746):  trying ja

D/GSM     (  746):  trying de
D/GSM     (  746):  trying nl
D/GSM     (  746):  trying pl
D/GSM     (  746):  trying fr
D/GSM     (  746):  trying cs
D/GSM     (  746):  trying es
D/GSM     (  746):  trying it
D/GSM     (  746):  trying ru
D/GSM     (  746):  trying en_GB
D/GSM     (  746):  trying en_SG
D/GSM     (  746):  trying nl_NL
D/GSM     (  746):  trying zh_CN
D/GSM     (  746):  trying en_US
D/GSM     (  746):  trying es_US
D/GSM     (  746):  trying en_AU
D/GSM     (  746):  trying zh_TW
D/GSM     (  746):  trying cs_CZ
D/GSM     (  746):  trying en
D/GSM     (  746):  trying da
D/GSM     (  746):  trying th
D/GSM     (  746):  trying fi
D/GSM     (  746):  trying ko
D/GSM     (  746):  trying ar
D/GSM     (  746):  trying tr

D/GSM     (  746):  trying hu
D/GSM     (  746):  trying iw
D/GSM     (  746):  trying pt_BR
D/GSM     (  746):  got bestmatch = null
D/RILJ    (  746): [0032]> simIO: SIM_IO 0xb0 0x2fe2 0,0,10
D/RILJ    (  746): [0033]> simIO: SIM_IO 0xb2 0x6f40 1,4,28
D/GSM     (  746): [DataConnectionTracker] ***trySetupData due to gprsAttached
D/GSM     (  746): [DataConnectionTracker] trySetupData: Not ready for data:  dataState=IDLE gprsSta
te=0 sim=false UMTS=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=true
D/RILJ    (  746): WAKE_LOCK_TIMEOUT  mReqPending=0 mRequestList=18
D/RILJ    (  746): 0: [9] SET_NETWORK_SELECTION_AUTOMATIC
D/RILJ    (  746): 1: [17] SIM_IO
D/RILJ    (  746): 2: [18] SIM_IO
D/RILJ    (  746): 3: [19] SIM_IO
D/RILJ    (  746): 4: [20] SIM_IO
D/RILJ    (  746): 5: [21] SIM_IO
D/RILJ    (  746): 6: [22] SIM_IO
D/RILJ    (  746): 7: [23] SIM_IO
D/RILJ    (  746): 8: [24] SIM_IO
D/RILJ    (  746): 9: [25] SIM_IO
D/RILJ    (  746): 10: [26] SIM_IO
D/RILJ    (  746): 11: [27] SIM_IO
D/RILJ    (  746): 12: [28] GET_SIM_STATUS
D/RILJ    (  746): 13: [29] QUERY_FACILITY_LOCK
D/RILJ    (  746): 14: [30] QUERY_FACILITY_LOCK
D/RILJ    (  746): 15: [31] GET_CURRENT_CALLS
D/RILJ    (  746): 16: [32] SIM_IO
D/RILJ    (  746): 17: [33] SIM_IO
D/STK     (  746): StkAppService$ServiceHandler: OP_BOOT_COMPLETED
D/RILJ    (  746): [0034]> SIGNAL_STRENGTH
D/RILJ    (  746): WAKE_LOCK_TIMEOUT  mReqPending=0 mRequestList=19
D/RILJ    (  746): 0: [9] SET_NETWORK_SELECTION_AUTOMATIC
D/RILJ    (  746): 1: [17] SIM_IO
D/RILJ    (  746): 2: [18] SIM_IO
D/RILJ    (  746): 3: [19] SIM_IO
D/RILJ    (  746): 4: [20] SIM_IO
D/RILJ    (  746): 5: [21] SIM_IO
D/RILJ    (  746): 6: [22] SIM_IO
D/RILJ    (  746): 7: [23] SIM_IO
D/RILJ    (  746): 8: [24] SIM_IO
D/RILJ    (  746): 9: [25] SIM_IO
D/RILJ    (  746): 10: [26] SIM_IO
D/RILJ    (  746): 11: [27] SIM_IO
D/RILJ    (  746): 12: [28] GET_SIM_STATUS
D/RILJ    (  746): 13: [29] QUERY_FACILITY_LOCK
D/RILJ    (  746): 14: [30] QUERY_FACILITY_LOCK
D/RILJ    (  746): 15: [31] GET_CURRENT_CALLS
D/RILJ    (  746): 16: [32] SIM_IO
D/RILJ    (  746): 17: [33] SIM_IO
D/RILJ    (  746): 18: [34] SIGNAL_STRENGTH
D/GSM     (  746): [GSMConn] acquireWakeLock
D/RILJ    (  746): [0035]> SET_MUTE false
D/RILJ    (  746): [0036]> DIAL
android_power: wakeup (0->0) at 463840667709 (2000-01-01 00:07:42.615142759 UTC)
D/RILJ    (  746): [0037]> SET_MUTE false
D/RILJ    (  746): [0038]> SET_MUTE false
D/RILJ    (  746): [0039]> SET_MUTE false

D/RILJ    (  746): WAKE_LOCK_TIMEOUT  mReqPending=0 mRequestList=24
D/RILJ    (  746): 0: [9] SET_NETWORK_SELECTION_AUTOMATIC
D/RILJ    (  746): 1: [17] SIM_IO
200万种商品,最低价格,疯狂诱惑你
全員に返信
投稿者に返信
転送
新着メール 0 件