From 7247d56f6787bc1c7e573c2b3df78d0d46fee9eb Mon Sep 17 00:00:00 2001 From: jserv Date: Wed, 17 Oct 2007 06:14:20 +0000 Subject: Added 'Ask Status report' option in shell. From: Andrzej Zaborowski I also moved the .ask_ds field from struct gsmd_sms into struct gsmd_sms_submit because it seemed more logical being a property of SMS-SUBMIT PDU. git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3201 99fdad57-331a-0410-800a-d7fa5415bdb3 --- src/libgsmd/libgsmd_sms.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libgsmd') diff --git a/src/libgsmd/libgsmd_sms.c b/src/libgsmd/libgsmd_sms.c index 22d7dbf..bbc8689 100644 --- a/src/libgsmd/libgsmd_sms.c +++ b/src/libgsmd/libgsmd_sms.c @@ -126,6 +126,7 @@ int lgsm_sms_send(struct lgsm_handle *lh, if (lgsm_number2addr(&gss->addr, sms->addr, 1)) return -EINVAL; + gss->ask_ds = sms->ask_ds; gss->payload.has_header = 0; gss->payload.length = sms->length; gss->payload.coding_scheme = sms->alpha; @@ -161,6 +162,7 @@ int lgsm_sms_write(struct lgsm_handle *lh, if (lgsm_number2addr(&gsw->sms.addr, sms_write->sms.addr, 1)) return -EINVAL; + gsw->sms.ask_ds = sms_write->sms.ask_ds; gsw->sms.payload.has_header = 0; gsw->sms.payload.length = sms_write->sms.length; gsw->sms.payload.coding_scheme = sms_write->sms.alpha; -- cgit v1.2.3