All of lore.kernel.org
 help / color / mirror / Atom feed
* Can't send second message in v0.3
@ 2009-08-19  9:35 Li, Zhigang
  2009-08-19 14:47 ` Denis Kenzior
  0 siblings, 1 reply; 5+ messages in thread
From: Li, Zhigang @ 2009-08-19  9:35 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1801 bytes --]

Hi,
Can't send second message in v0.3 version and latest version, but it's ok in v0.2.
In phonesim can't reproduce this issue.

Ofonod log: V0.3
ofonod[9884]: csca_query_cb: 8613800210500, 145
ofonod[9884]: Got 1 recipients
ofonod[9884]: ref: 1, offset: 0
ofonod[9884]: pdu_len: 20, tpdu_len: 19
ofonod[9884]: tx_next: 0x9bee070
ofonod[9884]: Got 1 recipients
ofonod[9884]: ref: 2, offset: 0
ofonod[9884]: pdu_len: 20, tpdu_len: 19

ofonod log V0.2:
ofonod[14114]: Response line: +CSCA: "+8613800210500",145
ofonod[14114]: csca_query_cb: 8613800210500, 145
ofonod[14114]: Got 1 recipients
ofonod[14114]: ref: 1, offset: 0
ofonod[14114]: pdu_len: 19, tpdu_len: 18
ofonod[14114]: tx_next: 0x8c14508
ofonod[14114]: at_cmgs_cb got result: 1
ofonod[14114]: Final response: OK
ofonod[14114]: Response line: +CMGS: 119
ofonod[14114]: Got MR: 119
ofonod[14114]: tx_finished
ofonod[14114]: Peeking in the queue
ofonod[14114]: Got 1 recipients
ofonod[14114]: ref: 2, offset: 0
ofonod[14114]: pdu_len: 19, tpdu_len: 18
ofonod[14114]: tx_next: 0x8c14508
ofonod[14114]: at_cmgs_cb got result: 1
ofonod[14114]: Final response: OK
ofonod[14114]: Response line: +CMGS: 120
ofonod[14114]: Got MR: 120
ofonod[14114]: tx_finished

Some useful information:
ofonod[9884]: MessageWaiting interface for modem: /modem1 created
ofonod[9884]: SmsManager interface for modem: /modem1 created
ofonod[9884]: at_crsm_info_cb got result: 1
ofonod[9884]: Final response: OK
ofonod[9884]: Response line: +CRSM: 148,4
ofonod[9884]: Unable to read waiting messages numbers from SIM
ofonod[9884]: at_crsm_info_cb got result: 1
ofonod[9884]: Final response: OK
ofonod[9884]: Response line: +CRSM: 148,4
ofonod[9884]: Unable to read mailbox identifies from SIM

Anything else?

Thanks


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't send second message in v0.3
  2009-08-19  9:35 Can't send second message in v0.3 Li, Zhigang
@ 2009-08-19 14:47 ` Denis Kenzior
  2009-08-20  1:54   ` Li, Zhigang
  0 siblings, 1 reply; 5+ messages in thread
From: Denis Kenzior @ 2009-08-19 14:47 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

Hi,

> Hi,
> Can't send second message in v0.3 version and latest version, but it's ok
> in v0.2. In phonesim can't reproduce this issue.
>
> Ofonod log: V0.3
> ofonod[9884]: csca_query_cb: 8613800210500, 145
> ofonod[9884]: Got 1 recipients
> ofonod[9884]: ref: 1, offset: 0
> ofonod[9884]: pdu_len: 20, tpdu_len: 19
> ofonod[9884]: tx_next: 0x9bee070
> ofonod[9884]: Got 1 recipients
> ofonod[9884]: ref: 2, offset: 0
> ofonod[9884]: pdu_len: 20, tpdu_len: 19

This is strange.  Can you set the OFONO_AT_DEBUG environment variable and re-
run ofonod?

E.g. export OFONO_AT_DEBUG=1; ofonod -nd

Report the AT trace so I can understand what is happening.  Sounds like the 
modem is not sending the first fragment.

Regards,
-Denis


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Can't send second message in v0.3
  2009-08-19 14:47 ` Denis Kenzior
@ 2009-08-20  1:54   ` Li, Zhigang
  2009-08-20  3:10     ` Denis Kenzior
  0 siblings, 1 reply; 5+ messages in thread
From: Li, Zhigang @ 2009-08-20  1:54 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 10004 bytes --]

Hi,
>This is strange.  Can you set the OFONO_AT_DEBUG environment variable and re-
>run ofonod?
>
>E.g. export OFONO_AT_DEBUG=1; ofonod -nd
>
>Report the AT trace so I can understand what is happening.  Sounds like the
>modem is not sending the first fragment.

ofonod[15312]: oFono version 0.3
ofonod[15312]: plugin.c:__ofono_plugin_init() 
ofonod[15312]: Seting up AT channel
ofonod[15312]: SIMManager interface for modem: /modem1 created
ofonod[15312]: Registered call forwarding interface
ofonod[15312]: Registered call settings interface
ofonod[15312]: Sending voice initialization commands
ofonod[15312]: > AT+CIMI\r
ofonod[15312]: < AT+CIMI\r
ofonod[15312]: < \r\n460028210210167\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: at_cimi_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: 460028210210167
ofonod[15312]: cimi_cb: 460028210210167
ofonod[15312]: > AT+CREG=2\r
ofonod[15312]: < AT+CREG=2\r
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: NetworkRegistration interface for modem: /modem1 created
ofonod[15312]: > AT+CRC=1\r
ofonod[15312]: < AT+CRC=1\r
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: > AT+CLIP=1\r
ofonod[15312]: < AT+CLIP=1\r
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: > AT+COLP=1\r
ofonod[15312]: < AT+COLP=1\r
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: > AT+CSSN=1,1\r
ofonod[15312]: < AT+CSSN=1,1\r
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: > AT+CCWA=1\r
ofonod[15312]: < AT+CCWA=1\r
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: voicecall_init: registering to notifications
ofonod[15312]: > AT+CAOC=2\r
ofonod[15312]: < AT+CAOC=2\r\r\nOK\r\n
ofonod[15312]: > AT+CCWE=1\r
ofonod[15312]: < AT+CCWE=1\r
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: > AT+CSMS=?\r
ofonod[15312]: < AT+CSMS=?\r
ofonod[15312]: < \r\n+CSMS: (0)\r\n\r\nOK\r\n
ofonod[15312]: csms_query_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +CSMS: (0)
ofonod[15312]: CSMS query parsed successfully
ofonod[15312]: > AT+CSCS=?\r
ofonod[15312]: < AT+CSCS=?\r
ofonod[15312]: < \r\n+CSCS: ("GSM","IRA","8859-1","UTF-8","UCS2")\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: at_list_charsets_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +CSCS: ("GSM","IRA","8859-1","UTF-8","UCS2")
ofonod[15312]: > AT+CGMI\r
ofonod[15312]: < AT+CGMI\r
ofonod[15312]: < \r\nSony Ericsson\r\n\r\nOK\r\n
ofonod[15312]: attr_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: Sony Ericsson
ofonod[15312]: > AT+CRSM=192,28480,0,0,15\r
ofonod[15312]: < AT+CRSM=192,28480,0,0,15\r
ofonod[15312]: < \r\n+CRSM: 148,4\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: at_crsm_info_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +CRSM: 148,4
ofonod[15312]: > AT+CREG?\r
ofonod[15312]: < AT+CREG?\r
ofonod[15312]: < \r\n+CREG: 2,5,"188E","00006302"\r\n\r\nOK\r\n
ofonod[15312]: at_creg_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +CREG: 2,5,"188E","00006302"
ofonod[15312]: creg_cb: 5, 6286, 25346, -1
ofonod[15312]: > AT+CSMS=0\r
ofonod[15312]: < AT+CSMS=0\r
ofonod[15312]: < \r\n+CSMS: 1,1,1\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: > AT+CPBS=?\r
ofonod[15312]: < AT+CPBS=?\r
ofonod[15312]: < \r\n+CPBS: ("ME","SM","FD","DC","LD","MC","RC")\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: at_list_storages_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +CPBS: ("ME","SM","FD","DC","LD","MC","RC")
ofonod[15312]: > AT+CGMM\r
ofonod[15312]: < AT+CGMM\r
ofonod[15312]: < \r\nAAD-3352021-BV\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: attr_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: AAD-3352021-BV
ofonod[15312]: > AT+CRSM=192,28613,0,0,15\r
ofonod[15312]: < AT+CRSM=192,28613,0,0,15\r
ofonod[15312]: < \r\n+CRSM: 148,4\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: at_crsm_info_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +CRSM: 148,4
ofonod[15312]: > AT+COPS=3,2\r
ofonod[15312]: < AT+COPS=3,2\r
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: > AT+COPS?\r
ofonod[15312]: < AT+COPS?\r
ofonod[15312]: < \r\n+COPS: 0,2,"46000",0 \r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: cops_numeric_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +COPS: 0,2,"46000",0 
ofonod[15312]: Cops numeric got mcc: 460, mnc: 00
ofonod[15312]: > AT+COPS=3,0\r
ofonod[15312]: < AT+COPS=3,0\r
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: > AT+COPS?\r
ofonod[15312]: < AT+COPS?\r
ofonod[15312]: < \r\n+COPS: 0,0,"China Mobile",0 \r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: cops_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +COPS: 0,0,"China Mobile",0 
ofonod[15312]: cops_cb: China Mobile, 460 00 0
ofonod[15312]: > AT+CSQ\r
ofonod[15312]: < AT+CSQ\r
ofonod[15312]: < \r\n+CSQ: 19,99\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: csq_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +CSQ: 19,99
ofonod[15312]: csq_cb: 19
ofonod[15312]: > AT+CSMS?\r
ofonod[15312]: < AT+CSMS?\r
ofonod[15312]: < \r\n+CSMS: 0,1,1,1\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: csms_status_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +CSMS: 0,1,1,1
ofonod[15312]: > AT+CGMR\r
ofonod[15312]: < AT+CGMR\r
ofonod[15312]: < \r\nR1BA038 081016 1346 1208-0527_CHINA_SI\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: attr_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: R1BA038 081016 1346 1208-0527_CHINA_SI
ofonod[15312]: > AT+CRSM=192,28486,0,0,15\r
ofonod[15312]: < AT+CRSM=192,28486,0,0,15\r
ofonod[15312]: < \r\n+CRSM: 148,4\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: at_crsm_info_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +CRSM: 148,4
ofonod[15312]: > AT+CMGF=?\r
ofonod[15312]: < AT+CMGF=?\r
ofonod[15312]: < \r\n+CMGF: (0)\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: cmgf_query_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +CMGF: (0)
ofonod[15312]: > AT+CGSN\r
ofonod[15312]: < AT+CGSN\r
ofonod[15312]: < \r\n352022031549734\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: attr_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: 352022031549734
ofonod[15312]: > AT+CPMS=?\r
ofonod[15312]: < AT+CPMS=?\r
ofonod[15312]: < \r\n+CPMS: ("ME","SM"),("ME","SM"),("ME","SM")\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: cpms_query_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +CPMS: ("ME","SM"),("ME","SM"),("ME","SM")
ofonod[15312]: > AT+CMGF=0\r
ofonod[15312]: < AT+CMGF=0\r
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: at_cmgf_set_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: > AT+CPMS="ME","ME","ME"\r
ofonod[15312]: < AT+CPMS="ME","ME","ME"\r
ofonod[15312]: < \r\n+CPMS: 13,39031,13,39031,13,39031\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: at_cpms_set_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +CPMS: 13,39031,13,39031,13,39031
ofonod[15312]: > AT+CNMI=?\r
ofonod[15312]: < AT+CNMI=?\r
ofonod[15312]: < \r\n+CNMI: (2),(0,1,3),(0,2),(0,1),(0)\r\n\r\nOK\r\n
ofonod[15312]: at_cnmi_query_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +CNMI: (2),(0,1,3),(0,2),(0,1),(0)
ofonod[15312]: > AT+CNMI=2,1,2,1,0\r
ofonod[15312]: < AT+CNMI=2,1,2,1,0\r
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: MessageWaiting interface for modem: /modem1 created
ofonod[15312]: SmsManager interface for modem: /modem1 created
ofonod[15312]: > AT+CRSM=192,28618,0,0,15\r
ofonod[15312]: < AT+CRSM=192,28618,0,0,15\r
ofonod[15312]: < \r\n+CRSM: 148,4\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: at_crsm_info_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +CRSM: 148,4
ofonod[15312]: Unable to read waiting messages numbers from SIM
ofonod[15312]: > AT+CRSM=192,28617,0,0,15\r
ofonod[15312]: < AT+CRSM=192,28617,0,0,15\r
ofonod[15312]: < \r\n+CRSM: 148,4\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: at_crsm_info_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +CRSM: 148,4
ofonod[15312]: Unable to read mailbox identifies from SIM
ofonod[15312]: > AT+COPS=?\r
ofonod[15312]: < AT+COPS=?\r
ofonod[15312]: < \r\n+COPS: (1,"China Mobile","CHN CMCC","46000",0),(3,"China Unicom","CHN CU-GSM","46001",2)\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: cops_list_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +COPS: (1,"China Mobile","CHN CMCC","46000",0),(3,"China Unicom","CHN CU-GSM","46001",2)
ofonod[15312]: Got 2 elements
ofonod[15312]: Got 2 operators
ofonod[15312]: Operator: China Mobile, 460, 00, status: 1, 0
ofonod[15312]: Operator: China Unicom, 460, 01, status: 3, 2
ofonod[15312]: > AT+CSCA?\r
ofonod[15312]: < AT+CSCA?\r
ofonod[15312]: < \r\n+CSCA: "+8613800210500",145\r\n
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: at_csca_cb got result: 1
ofonod[15312]: Final response: OK
ofonod[15312]: Response line: +CSCA: "+8613800210500",145
ofonod[15312]: csca_query_cb: 8613800210500, 145
ofonod[15312]: Got 1 recipients
ofonod[15312]: ref: 1, offset: 0
ofonod[15312]: pdu_len: 22, tpdu_len: 21
ofonod[15312]: tx_next: 0x8b8a248
ofonod[15312]: > AT+CMGS=21\r
ofonod[15312]: < AT+CMGS=21\r
ofonod[15312]: < \r\n> 
ofonod[15312]: > 0011000B813118567873F20000A707EDF27C1E3E9701<CtrlZ>
ofonod[15312]: < 0011000B813118567873F20000A707EDF27C1E3E9701<CtrlZ>
ofonod[15312]: < \r\n+CMGS: 124
ofonod[15312]: < \r\nOK\r\n
ofonod[15312]: Got 1 recipients
ofonod[15312]: ref: 2, offset: 0
ofonod[15312]: pdu_len: 22, tpdu_len: 21

Thanks


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't send second message in v0.3
  2009-08-20  1:54   ` Li, Zhigang
@ 2009-08-20  3:10     ` Denis Kenzior
  2009-08-20  3:32       ` Li, Zhigang
  0 siblings, 1 reply; 5+ messages in thread
From: Denis Kenzior @ 2009-08-20  3:10 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

Hi,

> ofonod[15312]: Got 1 recipients
> ofonod[15312]: ref: 1, offset: 0
> ofonod[15312]: pdu_len: 22, tpdu_len: 21
> ofonod[15312]: tx_next: 0x8b8a248
> ofonod[15312]: > AT+CMGS=21\r
> ofonod[15312]: < AT+CMGS=21\r
> ofonod[15312]: < \r\n>
> ofonod[15312]: > 0011000B813118567873F20000A707EDF27C1E3E9701<CtrlZ>
> ofonod[15312]: < 0011000B813118567873F20000A707EDF27C1E3E9701<CtrlZ>
> ofonod[15312]: < \r\n+CMGS: 124
> ofonod[15312]: < \r\nOK\r\n
> ofonod[15312]: Got 1 recipients
> ofonod[15312]: ref: 2, offset: 0
> ofonod[15312]: pdu_len: 22, tpdu_len: 21
>

Are you sure this worked before on this modem?

> ofonod[15312]: < \r\n+CMGS: 124
> ofonod[15312]: < \r\nOK\r\n

This line tells me the modem is not a compliant 27.007 modem as there's no 
terminating \r\n on the CMGS.  The default parser is extremely strict and 
ignores this input.  A slightly tweaked parser is required for this device.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Can't send second message in v0.3
  2009-08-20  3:10     ` Denis Kenzior
@ 2009-08-20  3:32       ` Li, Zhigang
  0 siblings, 0 replies; 5+ messages in thread
From: Li, Zhigang @ 2009-08-20  3:32 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 5409 bytes --]

Hi

>Are you sure this worked before on this modem?

Yes, this is the log of v0.2 and no at debug trace
ofonod[18711]: oFono version 0.2
ofonod[18711]: plugin.c:__ofono_plugin_init() 
ofonod[18711]: Seting up AT channel
ofonod[18711]: SIMManager interface for modem: /modem1 created
ofonod[18711]: Registered call forwarding interface
ofonod[18711]: Registered call settings interface
ofonod[18711]: Sending voice initialization commands
ofonod[18711]: NetworkRegistration interface for modem: /modem1 created
ofonod[18711]: voicecall_init: registering to notifications
ofonod[18711]: csms_query_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +CSMS: (0)
ofonod[18711]: CSMS query parsed successfully
ofonod[18711]: at_list_charsets_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +CSCS: ("GSM","IRA","8859-1","UTF-8","UCS2")
ofonod[18711]: Phonebook not supported by this modem.  If this is in error please submit patches to support this hardware
ofonod[18711]: attr_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: Sony Ericsson
ofonod[18711]: at_cimi_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: 460028210210167
ofonod[18711]: cimi_cb: 460028210210167
ofonod[18711]: at_creg_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +CREG: 2,5,"188E","00006302"
ofonod[18711]: creg_cb: 5, 6286, 25346, -1
ofonod[18711]: attr_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: AAD-3352021-BV
ofonod[18711]: at_crsm_info_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +CRSM: 148,4
ofonod[18711]: cops_numeric_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +COPS: 0,2,"46000",0 
ofonod[18711]: Cops numeric got mcc: 460, mnc: 00
ofonod[18711]: cops_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +COPS: 0,0,"China Mobile",0 
ofonod[18711]: cops_cb: China Mobile, 460 00 0
ofonod[18711]: csq_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +CSQ: 20,99
ofonod[18711]: csq_cb: 20
ofonod[18711]: csms_status_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +CSMS: 0,1,1,1
ofonod[18711]: attr_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: R1BA038 081016 1346 1208-0527_CHINA_SI
ofonod[18711]: at_crsm_info_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +CRSM: 148,4
ofonod[18711]: cmgf_query_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +CMGF: (0)
ofonod[18711]: attr_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: 352022031549734
ofonod[18711]: at_crsm_info_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +CRSM: 148,4
ofonod[18711]: cpms_query_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +CPMS: ("ME","SM"),("ME","SM"),("ME","SM")
ofonod[18711]: at_cmgf_set_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: at_cpms_set_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +CPMS: 13,39031,13,39031,13,39031
ofonod[18711]: at_cnmi_query_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +CNMI: (2),(0,1,3),(0,2),(0,1),(0)
ofonod[18711]: SmsManager interface for modem: /modem1 created
ofonod[18711]: cops_list_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +COPS: (1,"China Mobile","CHN CMCC","46000",0),(3,"China Unicom","CHN CU-GSM","46001",2)
ofonod[18711]: Got 2 elements
ofonod[18711]: Got 2 operators
ofonod[18711]: Operator: China Mobile, 460, 00, status: 1, 0
ofonod[18711]: Operator: China Unicom, 460, 01, status: 3, 2
ofonod[18711]: at_csca_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +CSCA: "+8613800210500",145
ofonod[18711]: csca_query_cb: 8613800210500, 145
ofonod[18711]: Got 1 recipients
ofonod[18711]: ref: 1, offset: 0
ofonod[18711]: pdu_len: 22, tpdu_len: 21
ofonod[18711]: tx_next: 0x84ff248
ofonod[18711]: at_cmgs_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +CMGS: 127
ofonod[18711]: Got MR: 127
ofonod[18711]: tx_finished
ofonod[18711]: Peeking in the queue
ofonod[18711]: Got 1 recipients
ofonod[18711]: ref: 2, offset: 0
ofonod[18711]: pdu_len: 22, tpdu_len: 21
ofonod[18711]: tx_next: 0x84ff248
ofonod[18711]: at_cmgs_cb got result: 1
ofonod[18711]: Final response: OK
ofonod[18711]: Response line: +CMGS: 128
ofonod[18711]: Got MR: 128
ofonod[18711]: tx_finished
ofonod[18711]: Peeking in the queue

>
>> ofonod[15312]: < \r\n+CMGS: 124
>> ofonod[15312]: < \r\nOK\r\n
>
>This line tells me the modem is not a compliant 27.007 modem as there's no
>terminating \r\n on the CMGS.  The default parser is extremely strict and
>ignores this input.  A slightly tweaked parser is required for this device.


I guess that's the point, v0.3 follow the spec strictly now.

>
>Regards,
>-Denis
>_______________________________________________
>ofono mailing list
>ofono(a)ofono.org
>http://lists.ofono.org/listinfo/ofono

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-20  3:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-19  9:35 Can't send second message in v0.3 Li, Zhigang
2009-08-19 14:47 ` Denis Kenzior
2009-08-20  1:54   ` Li, Zhigang
2009-08-20  3:10     ` Denis Kenzior
2009-08-20  3:32       ` Li, Zhigang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.