[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sendsms
From: |
ueli |
Subject: |
Re: sendsms |
Date: |
Sun, 14 Apr 2002 01:47:23 +0200 |
On Fri, 12 Apr 2002 09:00:10 +0200
"Feico de Boer" <address@hidden> wrote:
> sendsmsBtw. This is for a Nokia 5110, just to let you know what
> 'driver' module is used.
> Actually, with current CVS (no, not with my Win32 stuff in it but
> on a seperate Linux box) gnokii gives the following result on:
> Program received signal SIGSEGV, Segmentation fault. 0x4011a7c5 in
> DefaultSMS (SMS=0x0) at gsm-sms.c:1509 1509 SMS->Type =
> SMS_Deliver;(gdb) where
> #0 0x4011a7c5 in DefaultSMS (SMS=0x0) at gsm-sms.c:1509
> #1 0x4011a859 in DefaultSubmitSMS (SMS=0x0) at gsm-sms.c:1524
> (gdb)
>
> Didn't have time to figure out why SMS is 0x0.
I think there is a '&' too mutch in common/gsm-sms.c:
*** common/gsm-sms.c Sun Apr 14 01:33:47 2002
--- common/gsm-sms.c~ Sun Apr 14 01:33:38 2002
***************
*** 1520,1526 ****
*/
void DefaultSMS(GSM_SMSMessage *SMS)
{
! memset(SMS, 0, sizeof(GSM_SMSMessage));
SMS->Type = SMS_Deliver;
SMS->DCS.Type = SMS_GeneralDataCoding;
--- 1520,1526 ----
*/
void DefaultSMS(GSM_SMSMessage *SMS)
{
! memset(&SMS, 0, sizeof(GSM_SMSMessage));
SMS->Type = SMS_Deliver;
SMS->DCS.Type = SMS_GeneralDataCoding;
BTW: I use a 6210 phone, but I cannot send and receive any SMS, not
with gnokii nor with smsd. are there any hints? I use the cvs-version
Thanks
Ueli
--
"The software said it requires Windows 95 or better,
so I installed Linux"
- sendsms, giles westwood, 2002/04/11
- sendsms, Giles Westwood, 2002/04/11