r3720 - in trunk/src/target/OM-2007.2/applications/openmoko-dialer2: . src/phone-kit

chris at sita.openmoko.org chris at sita.openmoko.org
Fri Dec 21 15:29:15 CET 2007


Author: chris
Date: 2007-12-21 15:29:14 +0100 (Fri, 21 Dec 2007)
New Revision: 3720

Modified:
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-sms.c
Log:
        * src/phone-kit/moko-sms.c: (on_incoming_ds):
        Delivery status types were read correctly, seems gsmd always reports
        REC_UNREAD, regardless of ds type?


Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog	2007-12-21 14:23:12 UTC (rev 3719)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog	2007-12-21 14:29:14 UTC (rev 3720)
@@ -1,5 +1,11 @@
 2007-12-21  Chris Lord  <chris at openedhand.com>
 
+	* src/phone-kit/moko-sms.c: (on_incoming_ds):
+	Delivery status types were read correctly, seems gsmd always reports
+	REC_UNREAD, regardless of ds type?
+
+2007-12-21  Chris Lord  <chris at openedhand.com>
+
 	* src/phone-kit/moko-network.c: (gsmd_eventhandler):
 	Send all delivery status events
 

Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-sms.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-sms.c	2007-12-21 14:23:12 UTC (rev 3719)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-sms.c	2007-12-21 14:29:14 UTC (rev 3720)
@@ -352,7 +352,7 @@
   /* TODO: I'm not entirely sure of the spec when if 
    *       storing an unsent message means it failed?
    */
-  if (sms->stat == GSMD_SMS_STO_SENT) {
+  if (sms->payload.coding_scheme == LGSM_SMS_STO_SENT) {
     gchar *ref = g_strdup_printf ("%d", sms->index);
     JanaStoreView *view = jana_store_get_view (priv->sms_store);
     MokoSmsStatusReport *sr = g_slice_new (MokoSmsStatusReport);





More information about the commitlog mailing list