[PATCH 04/11] Changes for SMS statur report.

Aki Niemi aki.niemi at nokia.com
Thu May 27 04:41:23 PDT 2010


On Thu, 2010-05-27 at 12:54 +0200, ext pasi.miettinen at ixonos.com wrote:
> diff --git a/include/sms.h b/include/sms.h
> index daaec37..c007675 100644
> --- a/include/sms.h
> +++ b/include/sms.h
> @@ -54,7 +54,7 @@ struct ofono_sms_driver {
>  
>  void ofono_sms_deliver_notify(struct ofono_sms *sms, unsigned char *pdu,
>  				int len, int tpdu_len);
> -void ofono_sms_status_notify(struct ofono_sms *sms, unsigned char *pdu,
> +void ofono_sms_status_report_notify(struct ofono_sms *sms, unsigned char *pdu,
>  				int len, int tpdu_len);

Actually, I think we should have a single ofono_sms_pdu_notify(), and
let the core handle demuxing the different message types after parsing
the PDU.

ISI modems don't have different messages for deliver and status report;
the modem just sends a TPDU.

Cheers,
Aki




More information about the ofono mailing list