All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Randomly SMS sent passes or fails
Date: Thu, 28 Mar 2013 09:24:16 -0500	[thread overview]
Message-ID: <51545290.5000804@gmail.com> (raw)
In-Reply-To: <5154070A.9040108@syscom-instruments.com>

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

Hi Anthony,

> 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.
>

plugins/provision.c

> 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
> ------------------------------------------------------------------
>

Is the modem auto-attaching to GPRS by default?  You might want to turn 
off that behavior if posible.

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

Looks like a firmware bug

>
> 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."

That is the result of AT+CGATT=0 command.

>
> 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".
>

Try toggling the ConnectionManager Powered property off and then on. 
Also a fuller log might be helpful.

> Can you help me ?
>
> Regards,
> Anthony.

Regards,
-Denis

  reply	other threads:[~2013-03-28 14:24 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
2013-03-28 14:24     ` Denis Kenzior [this message]
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=51545290.5000804@gmail.com \
    --to=denkenz@gmail.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 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.