Open Source Telephony
 help / color / mirror / Atom feed
* SMS agent interface
@ 2010-09-27 16:54 Aki Niemi
  2010-09-27 16:54 ` [PATCH 1/7] Include datagram support to history API Aki Niemi
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Aki Niemi @ 2010-09-27 16:54 UTC (permalink / raw)
  To: ofono

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

Hi all,

This following set of patches introduces an agent interface for
receiving text messages as well as vCard and vCal objects. It grows a
pair of methods on the org.ofono.MessageManager interface for
registering and unregistering such agents.

I've included the patches introducing datagram support to history that
I sent out separately earlier today. I think these should be evaluated
as a bunch, plus, they introduced some refactoring to the sms atom's
dispatch logic that I didn't feel like redoing. ;)

Basically, all text(ish) messages can now be received via the agent
interface on the sms atom, and then further support for dispatching
handlers based on other dst/src port numbers would happen via the
history API.

An example of such a plugin would be a WAP push handler that would
handle the WAP push datagrams exposing an appropriate D-Bus interface
for applications to process them further.

What is still missing is sending support for vCard and vCalendar,
which for consistency should probably be implemented as a pair of
methods on the org.ofono.MessageManager interface.

Cheers,
Aki

--

 Makefile.am         |    2 +-
 doc/message-api.txt |   51 ++++++++
 include/dbus.h      |    1 +
 include/history.h   |    5 +
 src/history.c       |   47 +++++++-
 src/ofono.h         |    8 ++
 src/sms.c           |  187 +++++++++++++++++++++++++---
 src/smsagent.c      |  344 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/smsagent.h      |   56 +++++++++
 test/sms-agent      |   59 +++++++++
 10 files changed, 741 insertions(+), 19 deletions(-)


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-09-29 14:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-27 16:54 SMS agent interface Aki Niemi
2010-09-27 16:54 ` [PATCH 1/7] Include datagram support to history API Aki Niemi
2010-09-28  2:16   ` Denis Kenzior
2010-09-27 16:54 ` [PATCH 2/7] Add datagram dispatch to sms atom Aki Niemi
2010-09-27 16:54 ` [PATCH 3/7] Add message agent interface documentation Aki Niemi
2010-09-29  2:27   ` Denis Kenzior
2010-09-29  5:56     ` Aki Niemi
2010-09-29  9:52       ` Marcel Holtmann
2010-09-29 12:45         ` Aki Niemi
2010-09-29 14:10           ` Marcel Holtmann
2010-09-27 16:54 ` [PATCH 4/7] Add message agent interface definition Aki Niemi
2010-09-27 16:54 ` [PATCH 5/7] Add message agent implementation Aki Niemi
2010-09-27 16:54 ` [PATCH 6/7] Add agent interface to sms atom Aki Niemi
2010-09-27 16:54 ` [PATCH 7/7] Add test sms agent implementation Aki Niemi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox