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
_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to