Open Source Telephony
 help / color / mirror / Atom feed
From: Viallard Anthony <viallard@syscom-instruments.com>
To: ofono@ofono.org
Subject: Re: Randomly SMS sent passes or fails
Date: Thu, 28 Mar 2013 10:02:02 +0100	[thread overview]
Message-ID: <5154070A.9040108@syscom-instruments.com> (raw)
In-Reply-To: <513658D4.8040508@gmail.com>

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

On 05. 03. 13 21:43, Denis Kenzior wrote:
>>
>> [...]
>>
>> Provisioning failed
>> -------------------------------
>
> This should not affect anything, unless your operator requires SMS to be
> sent over GPRS.
>

Hi,

I try to find how i can fix the "provisioning failed" message.

Actually, I have always troubles with T-Mobile. I think I need to fix 
this provisioning issue. How can I do this ? I tried to see where this 
provisioning in the source code but I was quickly lost.

Bellow, you could see some troubles I have.

scenario:
  * enable modem power ;
  * enter pin code ;
  * set APN ;
  * and tried to enable GPRS.

------------------------------------------------------------------
[...]
ofonod[14111]: Data: > AT+CREG?\r
ofonod[14111]: Data: < \r\n+CREG: 2,1, 889D, 13EB0D\r\n\r\nOK\r\n
ofonod[14111]: src/network.c:ofono_netreg_status_notify() /simcom_1 
status 1 tech -1
ofonod[14111]: src/cbs.c:cbs_location_changed() 1, -1, -1, -1, (null)(null)
ofonod[14111]: src/gprs.c:netreg_status_changed() 1
ofonod[14111]: Data: > AT+CGATT=0\r
ofonod[14111]: Data: < \r\n+CGREG: 0\r\n\r\nOK\r\n
ofonod[14111]: Data: < \r\n+CGEV: ME DETACH\r\n
ofonod[14111]: src/gprs.c:ofono_gprs_status_notify() /simcom_1 status 0
ofonod[14111]: src/gprs.c:gprs_attach_callback() /simcom_1 error = 0
ofonod[14111]: src/gprs.c:ofono_gprs_detached_notify() /simcom_1
ofonod[14111]: Data: > AT+COPS=3,2\r
------------------------------------------------------------------

First, there are no answer from modem about "AT+COPS=3,2" command.

And next, the "+CGEV: ME DETACH" disturb me. In the documentation of the 
SIMCOM module, I see :

"The mobile equipment has forced a Packet Domain detach. This implies 
that all active contexts have been deactivated. These are not reported 
separately."

I tried to re-attach with "Active" command but it fails :

------------------------------------------------------------------
# dbus-send --system --type=method_call --print-reply --dest=org.ofono 
/simcom_1/context1 org.ofono.ConnectionContext.SetProperty 
string:"Active" variant:boolean:true
Error org.ofono.Error.NotAttached: GPRS is not attached
------------------------------------------------------------------

In ConnectionManager, I see the "Attached" variable is "False".

Can you help me ?

Regards,
Anthony.

  parent reply	other threads:[~2013-03-28  9:02 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-05 15:27 Randomly SMS sent passes or fails Viallard Anthony
2013-03-05 20:43 ` Denis Kenzior
2013-03-06  9:23   ` Viallard Anthony
2013-03-11 14:53     ` Viallard Anthony
2013-03-12 18:13       ` Denis Kenzior
2013-03-13 16:11         ` Viallard Anthony
2013-03-28  9:02   ` Viallard Anthony [this message]
2013-03-28 14:24     ` Denis Kenzior
2013-04-12 13:08       ` Viallard Anthony
2013-05-02 16:40         ` Viallard Anthony
2013-05-02 18:36           ` Denis Kenzior
2013-05-21 14:20             ` Viallard Anthony
2013-03-28 14:29     ` Viallard Anthony
2013-03-28 14:42       ` Denis Kenzior
2013-03-28 16:29         ` Viallard Anthony
2013-03-28 18:05           ` Denis Kenzior
2013-04-02 13:49             ` Viallard Anthony
2013-04-02 15:08               ` Denis Kenzior
2013-04-02 15:25                 ` Viallard Anthony

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5154070A.9040108@syscom-instruments.com \
    --to=viallard@syscom-instruments.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox