[PATCHv3 0/2] Make message state feature independent of the stack

2011-01-20 Thread Faiyaz Baxamusa
This set of patches enable the org.ofono.Message interface code to be independent of the protocol stack. This will enable both GSM and CDMA SMS stack to reuse the interface code. The changes have been tested with phonesim using send-sms script. Faiyaz Baxamusa (2): doc: Add messagemanager-api

[PATCHv3 1/2] doc: Add messagemanager-api and change message-api

2011-01-20 Thread Faiyaz Baxamusa
--- Makefile.am|4 +- ...message-api.txt = cdma-messagemanager-api.txt} |0 doc/message-api.txt| 89 doc/messagemanager-api.txt | 88 +++ 4 files

[PATCHv3 2/2] sms: Introduce message code independent of protocol stack

2011-01-20 Thread Faiyaz Baxamusa
--- Makefile.am |3 +- src/message.c | 228 src/message.h | 54 + src/sms.c | 247 +++-- 4 files changed, 312 insertions(+), 220 deletions(-) create mode 100644

[PATCHv2 0/2] Make message state feature independent of the stack

2011-01-14 Thread Faiyaz Baxamusa
This set of patches enable the org.ofono.Message interface code to be independent of the protocol stack. This will enable both GSM and CDMA SMS stack to reuse the interface code. The changes have been tested with phonesim using send-sms script. Faiyaz Baxamusa (2): doc: Add messagemanager-api

[PATCHv2 2/2] sms: Introduce message code independent of protocol stack

2011-01-14 Thread Faiyaz Baxamusa
--- Makefile.am |2 +- src/message.c | 230 + src/message.h | 67 src/sms.c | 247 +++-- 4 files changed, 326 insertions(+), 220 deletions(-) create mode 100644

[PATCHv2 1/2] doc: Add messagemanager-api and change message-api

2011-01-14 Thread Faiyaz Baxamusa
--- Makefile.am|4 +- ...message-api.txt = cdma-messagemanager-api.txt} |0 doc/message-api.txt| 89 doc/messagemanager-api.txt | 88 +++ 4 files

Re: [PATCH 1/3] doc: Add message state API

2011-01-13 Thread Faiyaz Baxamusa
Hi Denis, On 01/13/2011 10:04 AM, ext Denis Kenzior wrote: Hi Faiyaz, On 01/06/2011 01:50 PM, Faiyaz Baxamusa wrote: --- Makefile.am |2 +- doc/cdma-message-api.txt |5 + doc/message-api.txt | 24 +--- Please rename this file

Re: [PATCH 2/3] include: Introduce message

2011-01-13 Thread Faiyaz Baxamusa
Hi Denis: On 01/13/2011 10:08 AM, ext Denis Kenzior wrote: Hi Faiyaz, On 01/06/2011 01:50 PM, Faiyaz Baxamusa wrote: --- Makefile.am |2 +- include/message.h | 67 + 2 files changed, 68 insertions(+), 1 deletions(-) create

Re: [PATCH 3/3] message: Code independent of protocol stack

2011-01-13 Thread Faiyaz Baxamusa
Hi Denis: On 01/13/2011 10:20 AM, ext Denis Kenzior wrote: Hi Faiyaz, +static const char *message_state_to_string(enum message_state s) +{ + switch (s) { + case MESSAGE_STATE_PENDING: + return pending; + case MESSAGE_STATE_SENT: + return sent; +

[PATCH 0/3] Make Message state feature independent of the stack

2011-01-06 Thread Faiyaz Baxamusa
This set of patches enable the org.ofono.Message interface code to be independent of the protocol stack. This will enable both GSM and CDMA SMS stack to reuse the interface code. The changes have been tested with phonesim using send-sms script. Faiyaz Baxamusa (3): doc: Add message state API

[PATCH 1/3] doc: Add message state API

2011-01-06 Thread Faiyaz Baxamusa
--- Makefile.am |2 +- doc/cdma-message-api.txt |5 + doc/message-api.txt | 24 +--- doc/message-state-api.txt | 27 +++ 4 files changed, 34 insertions(+), 24 deletions(-) create mode 100644

[PATCH 2/3] include: Introduce message

2011-01-06 Thread Faiyaz Baxamusa
--- Makefile.am |2 +- include/message.h | 67 + 2 files changed, 68 insertions(+), 1 deletions(-) create mode 100644 include/message.h diff --git a/Makefile.am b/Makefile.am index 14f53ef..8b19eef 100644 --- a/Makefile.am +++

[PATCH 3/3] message: Code independent of protocol stack

2011-01-06 Thread Faiyaz Baxamusa
--- Makefile.am |2 +- src/message.c | 257 src/ofono.h |2 + src/sms.c | 258 4 files changed, 297 insertions(+), 222 deletions(-) create mode 100644 src/message.c