* [PATCH] default.xml: accept SMS with SMSC num "123"
@ 2012-08-30 14:18 Nicolas Bertrand
2012-08-30 17:03 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Bertrand @ 2012-08-30 14:18 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 662 bytes --]
Reply to the SMS pdu with CMGS:0 when SMSC is set to "123".
This is used by Send SMS in Demo sim app
---
src/default.xml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/default.xml b/src/default.xml
index 568259b..78fc9ae 100644
--- a/src/default.xml
+++ b/src/default.xml
@@ -2757,6 +2757,13 @@
<response>+CMGS: 0\n\nOK</response>
<switch name="default"/>
</chat>
+
+ <chat>
+ <!-- Accept messages with SMSC set to 123 (STK app) -->
+ <command>038121F3*</command>
+ <response>+CMGS: 0\n\nOK</response>
+ <switch name="default"/>
+ </chat>
</state>
<chat>
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] default.xml: accept SMS with SMSC num "123"
2012-08-30 14:18 [PATCH] default.xml: accept SMS with SMSC num "123" Nicolas Bertrand
@ 2012-08-30 17:03 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2012-08-30 17:03 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 830 bytes --]
Hi Nicolas,
On 08/30/2012 09:18 AM, Nicolas Bertrand wrote:
> Reply to the SMS pdu with CMGS:0 when SMSC is set to "123".
> This is used by Send SMS in Demo sim app
> ---
> src/default.xml | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/src/default.xml b/src/default.xml
> index 568259b..78fc9ae 100644
> --- a/src/default.xml
> +++ b/src/default.xml
> @@ -2757,6 +2757,13 @@
> <response>+CMGS: 0\n\nOK</response>
> <switch name="default"/>
> </chat>
> +
> +<chat>
> +<!-- Accept messages with SMSC set to 123 (STK app) -->
> +<command>038121F3*</command>
> +<response>+CMGS: 0\n\nOK</response>
> +<switch name="default"/>
> +</chat>
Is there a reason we can't modify the existing default rule to accept
every SMS?
> </state>
>
> <chat>
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-30 17:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-30 14:18 [PATCH] default.xml: accept SMS with SMSC num "123" Nicolas Bertrand
2012-08-30 17:03 ` Denis Kenzior
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.