All of lore.kernel.org
 help / color / mirror / Atom feed
From: Viallard Anthony <viallard@syscom-instruments.com>
To: ofono@ofono.org
Subject: Find a way to grab online status when use "hardware flight mode" on my board
Date: Mon, 18 Mar 2013 16:23:43 +0100	[thread overview]
Message-ID: <5147317F.4050106@syscom-instruments.com> (raw)

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

Hello there,

I try to find a way to leave the hardware flight mode. What I mean with 
hardware flight mode that on my board, I can control the flight mode by 
software and also with hardware.

But, when we go to flight mode with hardware, ofono doesn't get it and 
so, doesn't update the "Online" status.

The mainly problem my modem doesn't send messages when goes offline. 
Sometimes, I see "+CSQ: 99,99", "+CREG: 0", "+CGREG: 0". But, It's not 
the case all the times.

So, I think a AT+CFUN? pooling is the best solution in my case. If I 
detect the modem goes offline, I could put ofono up do date.

Have you got a better alternative to my issue ? Where can I do this 
pooling ? IMHO, I think to do this in the plugin driver but maybe there 
are a better place.

This behavior is just for me, I guess you don't want a pooling thing in 
your code :)

Regards,
Anthony.

-- 
.-------------------.-----------------------.-------------------.
| Viallard Anthony  | Syscom Instruments SA | Embedded System   |
| +41 024 455 24 82 | Rue de l'industrie 21 | Software Designer |
| ~~~~~~~~~~~~~~~~~ | 1450 Sainte-Croix     | ~~~~~~~~~~~~~~~~~ |
'-------------------^-----------------------^-------------------^

                 reply	other threads:[~2013-03-18 15:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5147317F.4050106@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 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.