[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnokii and Motorola C350
From: |
Ron Yorston |
Subject: |
Re: gnokii and Motorola C350 |
Date: |
Tue, 3 Feb 2004 10:03:41 GMT |
Pawel Kot <address@hidden> wrote:
>I'd like to leave the view for the application that entries are numbered
>beginning with 1. It is the internal driver stuff what to do with it.
OK, I'll think about it.
>
>> I've also fixed a problem that was introduced when my last patch was
>> applied: the literal string arguments to reply_simpletext in ReplyIdentify
>> were intended to have a trailing space.
>
>Which part of the patch is this?
That'd be this bit:
@@ -1054,10 +1087,10 @@
buf.length = length;
splitlines(&buf);
if (!strncmp(buf.line1, "AT+CG", 5)) {
- reply_simpletext(buf.line1+2, buf.line2, "+CGSN:", data->imei);
- reply_simpletext(buf.line1+2, buf.line2, "+CGMM:", data->model);
- reply_simpletext(buf.line1+2, buf.line2, "+CGMI:",
data->manufacturer);
- reply_simpletext(buf.line1+2, buf.line2, "+CGMR:",
data->revision);
+ reply_simpletext(buf.line1+2, buf.line2, "+CGSN: ", data->imei);
+ reply_simpletext(buf.line1+2, buf.line2, "+CGMM: ",
data->model);
+ reply_simpletext(buf.line1+2, buf.line2, "+CGMI: ",
data->manufacturer);
+ reply_simpletext(buf.line1+2, buf.line2, "+CGMR: ",
data->revision);
}
return GN_ERR_NONE;
}
Ron