[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 3110 SMS data encoding [patch]
From: |
Pawel Kot |
Subject: |
Re: 3110 SMS data encoding [patch] |
Date: |
Fri, 30 May 2003 19:37:53 +0200 (CEST) |
On Fri, 30 May 2003, Osma Suominen wrote:
> I'll try to think of a way to specify what the phone wants, e.g. an
> extra field in the phone definitions or something, so that gsm-sms.c can
> be as driver agnostic as possible (i.e. no "if model=3110...else...").
I'd prefer phone propoerties usage for this:
if (model.flags & PM_SMS_PDU) {
/* handle PDU SMS */
} else {
/* handle ASCII SMS */
}
pkot
--
mailto:address@hidden :: mailto:address@hidden
http://kt.linuxnews.pl/ :: Kernel Traffic po polsku