In the android can add modules SIM5218 telephone, text messaging feature is the problem when the Internet. log is printed as:
D / RIL (998): onRequest: OPERATOR
D / AT (998):? AT> AT + COPS = 3,0; + COPS; + COPS = 3,1; + COPS; + COPS = 3,2; + COPS
??D / RILJ (1171): [0067]
D / AT (998): AT <+ COPS: 0,1, "CU-GSM", 2
D / AT (998): AT <+ COPS: 0,2, "46001", 2
D / AT (998): AT
D / AT (998): AT> AT + CGREG
?D / RILJ (1171): [0068]
D / AT (998): AT
D / AT (998): AT> AT + CREG
?D / RILJ (1171): [0069]
D / AT (998): AT
D / AT (998): AT> AT + COPS
?D / RILJ (1171): [0070]
D / AT (998): AT
D / AT (998): AT> AT + CRSM = 192,28440,0,0,15
D / RILJ (1171): [0071]
E / GSM (1171): Wrong network type: 0
D / GSM (1171): Poll ServiceState done: oldSS = [0 home CHN-CUGSM CU-GSM 46001 Unknown CSS not supported -1
-1RoamInd:-1DefRoamInd:-1EmergOnly: false] newSS = [0 home CHN-CUGSM CU-GSM 46001 Unknown CSS not supported
-1-1RoamInd:-1DefRoamInd:-1EmergOnly: false] oldGprs = 1 newGprs = 0 oldType = unknown newType = unknown
D / GSM (1171): GSMDataConnTrack handleMessage {what = 26 when = 103869 obj = android.os.AsyncResult @ 44071000}
D / GSM (1171): [GsmDataConnectionTracker] *** trySetupData due to gprsAttached
D / GSM (1171): [DSAC DEB] trySetupData with mIsPsRestricted = false
D / GSM (1171): [GsmDataConnectionTracker] trySetupData: Not ready for data: dataState = IDLE gprsState = 0
sim = false UMTS = false phoneState = IDLE isDataAllowed = true dataEnabled = true roaming = false
dataOnRoamingEnable = false ps restricted = false desiredPowerState = true MasterDataEnabled = true
D / AT (998): AT <+ CRSM: 106,130, ""
D / AT (998): AT
D / GSM (1171): SIMRecords: record load complete
D / GSM (1171): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED LOADED reason null
D / GSM (1171): GSMDataConnTrack handleMessage {what = 4 when = 103964 obj = android.os.AsyncResult @ 44072f30}
D / GSM (1171): Get PreferredAPN
D / AT (998): AT
D / GSM (1171): [GsmDataConnectionTracker] *** trySetupData due to simLoaded
D / GSM (1171): [DSAC DEB] trySetupData with mIsPsRestricted = false
I / GSM (1171): Preferred APN: 46001:46001: China Unicom, 3, 46001, 3gnet,, null, null, null,, -1, default,
supl
I / GSM (1171): Waiting APN set to preferred APN
D / GSM (1171): [GsmDataConnectionTracker] Create from allApns: [China Unicom, 3, 46001, 3gnet,, null,
null, null,, -1, default, supl]
D / GSM (1171): [GsmDataConnectionTracker] Setup waitngApns: [China Unicom, 3, 46001, 3gnet,, null, null,
null,, -1, default, supl]
D / GSM (1171): [GsmDataConnection-1] DcInactiveState msg.what = EVENT_CONNECT
D / GSM (1171): [GsmDataConnection-1] Connecting to carrier: 'China Unicom' APN: '3 gnet 'proxy:'' port:'
D / RILJ (1171): [0073]> SETUP_DATA_CALL 1 0 3gnet 3
D / RIL (998): onRequest: SETUP_DATA_CALL
D / RIL (998): requesting data connection to APN '3 gnet '
D / RILJ (1171): [0073]
D / GSM (1171): [GsmDataConnection-1] DataConnection setup result = 'SUCCESS' on cid = 1
D / GSM (1171): [GsmDataConnection-1] DcInactiveState: setEnterNoticationParams cp, cause
D / GSM (1171): [GsmDataConnection-1] DcActiveState: enter notifyConnectCompleted
D / GSM (1171): [GsmDataConnection-1] notifyConnection at 946684903542 cause = No Error
D / GSM (1171): [GsmDataConnectionTracker] setState: INITING
D / GSM (1171): GSMDataConnTrack handleMessage {what = 1 when = 105990 arg1 = 1
obj = android.os.AsyncResult @ 440810b0}
D / GSM (1171): [GsmDataConnectionTracker] setState: CONNECTED
D / GSM (1171): [DataConnection] Start poll NetStat
D / AT (998): AT
D / RIL (998): onRequest: SIGNAL_STRENGTH
D / AT (998): AT> AT + CSQ
D / AT (998): AT <+ CSQ: 14,99
D / AT (998): AT
[B] I / RIL (998): AT channel closed
D / AT (998): atchannel: EOF reached
I / RIL (998): Re-opening after close
D / RILB (1171): Notifying: radio not available
D / RILB (1171): Notifying: radio off or not available
D / RILJ (1171): [UNSL]
E / GSM (1171): Wrong network type: 0
D / GSM (1171): Poll ServiceState done: oldSS = [0 home CHN-CUGSM CU-GSM 46001 Unknown CSS not supported -1
-1RoamInd:-1DefRoamInd:-1EmergOnly: false] newSS = [1 home null null null Unknown CSS not supported -1 -
1RoamInd:-1DefRoamInd:-1EmergOnly: false] oldGprs = 0 newGprs = 0 oldType = unknown newType = unknown
E / RIL (998): requestSignalStrength must never return an error when radio is on
E / RILC (998): RIL_onRequestComplete: invalid RIL_Token
D / RILJ (1171): [0084]
D / RIL (998): onRequest: GET_CURRENT_CALLS
D / RILJ (1171): [0085]
D / GSM (1171): GSMDataConnTrack handleMessage {what = 12 when = 592961 obj = android.os.AsyncResult @ 440867a8}
D / GSM (1171): [GsmDataConnectionTracker] Radio is off and clean up all connection
D / GSM (1171): [GsmDataConnectionTracker] Clean up connection due to radioTurnedOff
D / GSM (1171): [GsmDataConnectionTracker] setState: DISCONNECTING
D / GSM (1171): [GsmDataConnectionTracker] cleanUpConnection:! TearDown, call conn.resetSynchronously
D / GSM (1171): [GsmDataConnection-1] DcActiveState nothandled msg.what = 1
D / GSM (1171): [GsmDataConnection-1] DcDefaultState: msg.what = EVENT_RESET
D / GSM (1171): [GsmDataConnection-1] clearSettings
D / GSM (1171): [GsmDataConnection-1] NotifyDisconnectCompleted
D / GSM (1171): [GsmDataConnection-1] clearSettings
D / GSM (1171): [DataConnection] Stop poll NetStat
D / GSM (1171): [GsmDataConnectionTracker] cleanupConnection:! NotificationDeferred
D / GSM (1171): [GsmDataConnectionTracker] gotoIdleAndNotifyDataConnection: reason = radioTurnedOff
D / GSM (1171): [GsmDataConnectionTracker] setState: IDLE
D / GSM (1171): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED NOT_READY reason null
D / RILJ (1171): WAKE_LOCK_TIMEOUT mReqPending = 0 mRequestList = 1
D / RILJ (1171): 0: [24] SET_NETWORK_SELECTION_AUTOMATIC
Find Gaoshoubangbangmang! ! ! !
Reply:
No one answered their own roof
Reply:
Phone text messaging can be operated by AT operation to SIM5218 directly on the simulator?
Reply:
Landlord, I also encountered the same problem, you can ask how the final solution?
Reply:
readerLoop device file configuration errors
Reply:
Prevent people experiencing the same problem, reply it. readline () function:
} While (count <0 && errno == EINTR);
Changed:
} While (count <= 0) ;/ / && errno == EINTR);
Others also be amended accordingly. Please think about their own reasons.
Reply:
I also debug 3G module, would like to ask, why is this my AT commands unsuccessful? How has been 0
(62): AT> AT + COPS = 3,0; + COPS; + COPS = 3,1; + COPS; + COPS = 3,2; + COPS
???D / AT (62): AT <+ COPS: 0
D / AT (62): AT <+ COPS: 0
D / AT (62): AT <+ COPS: 0
D / AT (62): AT
D / AT (62): AT> AT + CGREG
?D / RILJ (2089): [0014]
No comments:
Post a Comment