Open Source Telephony
 help / color / mirror / Atom feed
From: Dario <djdas@djdas.net>
To: ofono@ofono.org
Subject: [Usage] SMS handling
Date: Fri, 19 Mar 2010 14:59:01 +0100	[thread overview]
Message-ID: <4BA38325.80204@djdas.net> (raw)

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

Hi all,
I have a question: what is the best practice (or the suggested 
behaviour) to handle SMSes in an application using oFono?
I am thinking about two common cases:
1) handling outgoing message status: I use the SendMessage DBus API but 
AFAIK I'm not aware of the status of the sending operation (pending, 
blocked, sent...) in the DBus response;
2) handling incoming messages when application is (re)starting/crashed: 
is there a way to retrieve a message if it comes in during a phase where 
the application is not running or it can't receive the IncomingMessage 
signal? Does oFono logs or stores the messages somewhere?

I think I found something in the "Example Call History" plugin, does 
this mean I need to create an oFono plugin to manage my application 
needs or am I missing some info/API somewhere?

Thank you in advance, best regards,
Dario.



             reply	other threads:[~2010-03-19 13:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-19 13:59 Dario [this message]
2010-03-19 14:32 ` [Usage] SMS handling Denis Kenzior
2010-03-19 15:33   ` Dario
2010-03-19 15:39     ` Denis Kenzior

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=4BA38325.80204@djdas.net \
    --to=djdas@djdas.net \
    --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