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: Tue, 12 Mar 2013 13:13:19 -0500	[thread overview]
Message-ID: <513F703F.40001@gmail.com> (raw)
In-Reply-To: <513DEFEC.2070208@syscom-instruments.com>

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

Hi Anthony,

>
> Any comments ? :(

Nope, the logs looked fine.

>
> Before, I tested with 1.6.
>
> And, today, I tried with 1.12.
>
> And, I've got some troubles at modem power up... During the 3 first
> start, ofono was blocked after sending a command. Here 2 pastes :
>
> ------------------------------
> [...]
> ofonod[13400]: drivers/atmodem/cbs.c:at_cbs_set_topics()
> ofonod[13400]: Data: > AT+CSCB=0,"4352-4356"\r
> ofonod[13400]: Data: < \r\nOK\r\n
> ofonod[13400]: Data: > AT+CRSM=192,28437\r
> ofonod[13400]: Data: < \r\n+CRSM: 106,130,""\r\n\r\nOK\r\n
> ofonod[13400]: Data: > AT+CRSM=192,28436\r
> ------------------------------
>

No idea, it just stops responding

> ------------------------------
> [...]
> ofonod[10387]: src/network.c:ofono_netreg_status_notify() /simcom_0
> status 1 tech -1
> ofonod[10387]: src/cbs.c:cbs_location_changed() 1, -1, -1, -1, (null)(null)
> ofonod[10387]: Data: > AT+CRSM=192,28480\r
> ofonod[10387]: Data: < \r\n+CRSM: 144,0,""\r\n\r\nOK\r\n
> ofonod[10387]: drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90,
> 00, 0
> ofonod[10387]: Data: > AT+CMGF=?\r
> ------------------------------
>

Ditto

> As you can see, It's not always at the same moment. After that, I can't
> send AT command anymore, the modem seems to be locked.
>
> I try to debug this and found the CMUX and CMUXSRVPORT ports. I can have
> a DIAG port, so, I try to configure it. I stopped ofono, the modem and
> sent these commands :
>
> ------------------------------
> AT+CMUXSRVPORT=0, 0
> AT+CMUXSRVPORT=1, 5
> AT+CMUXSRVPORT=2, 1
> AT+CMUXSRVPORT=3, 1
>
> +CMUX=0
> ------------------------------
>
> ------------------------------
> AT+CMUXSRVPORT
> --------------
> < port >: virtual com port
> 0 – 3 currently support 4 virtual com ports index from 0 to 3
>
> < service >: valid service
> 0 – DIAG Service
> 1 – DATA(MODEM) Service
> 5 – NMEA Service
> ------------------------------
>
> And now, each time I start ofono and power up the modem, it works. No
> lock. Hum, I'm disapointed. I didn't think theses commands could fix the
> problem. And, no messages in diag or NMEA tty. Hum... And moreover, now
> all SMS I send are received. No failure. So good news, but, I'm troubled.
>
> After grepping on ofono source, I see some driver plugins do a CMUX set
> (calipso, phonesim). Maybe, I need to execute a CMUX set ??? It can be
> important ?
>

CMUX is used on devices with 1 physical serial port.  It is used to 
enter into so-called Multiplexing mode, a binary protocol that runs 
multiple logical AT ports over a single physical port.  Refer to 3GPP 
27.010.  I do not know whether your hardware supports multiplexing or 
not.  If the modem is detected with multiple serial ports, then likely 
it does not require messing with CMUX.

Regards,
-Denis

  reply	other threads:[~2013-03-12 18:13 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 [this message]
2013-03-13 16:11         ` Viallard Anthony
2013-03-28  9:02   ` Viallard Anthony
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=513F703F.40001@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.