[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trouble on Sending a Lot of SMS
From: |
Jan Derfinak |
Subject: |
Re: Trouble on Sending a Lot of SMS |
Date: |
Fri, 3 Nov 2006 11:28:31 +0100 (CET) |
On Fri, 3 Nov 2006, A. Andria wrote:
> The smsd working like this below :
>
> [...]
> RefreshSMS is running...
> Message sent: 0x12 / 0x0009
> 41 54 2b 43 50 4d 53 3f 0d | AT+CPMS?
> write: [AT+CPMS?<cr>]
> read : [AT+CPMS?<cr><cr><lf>+CPMS:
> "SM",6,35,"SM",6,35<cr><lf><cr><lf>OK<cr><lf>]
> Message received: 0x12 / 0x002d
> 02 41 54 2b 43 50 4d 53 3f 0d 0d 0a 2b 43 50 4d | AT+CPMS? +CPM
> 53 3a 20 22 53 4d 22 2c 36 2c 33 35 2c 22 53 4d | S: "SM",6,35,"SM
> 22 2c 36 2c 33 35 0d 0a 0d 0a 4f 4b 0d | ",6,35 OK
> Received message type 12
> Inserting Event: 2
> Message sent: 0x12 / 0x0009
> 41 54 2b 43 50 4d 53 3f 0d | AT+CPMS?
> write: [AT+CPMS?<cr>]
> read : [AT+CPMS?<cr><cr><lf>+CPMS:
> "SM",6,35,"SM",6,35<cr><lf><cr><lf>OK<cr><lf>]
> Message received: 0x12 / 0x002d
> 02 41 54 2b 43 50 4d 53 3f 0d 0d 0a 2b 43 50 4d | AT+CPMS? +CPM
> 53 3a 20 22 53 4d 22 2c 36 2c 33 35 2c 22 53 4d | S: "SM",6,35,"SM
> 22 2c 36 2c 33 35 0d 0a 0d 0a 4f 4b 0d | ",6,35 OK
> Received message type 12
> [...]
>
> It's mean that the smsd still working and RefreshSMS is always running. But,
> when i inserting a new sms request to mysql database, that sms status are
> always pending. I think i need to stop the smsd and then start it again. And
I have problem to imagine what you mean. RefreshSMS and smssend are
exclusive. Do you mean that RefreshSMS is always running and doesn't free
phone for sending?
> Yes, smsd logs remote number and error. Because i'm using the mysql database
> so the remote number and error stored in the outbox table. But, if smsd didn't
> success update sms status on outbox table where i can find this log? Is that
Maybe you are right and better is to make smsd fault logic less tolerant. I
will reconsider this. Maybe is better to exit smsd and leave reason in log
file.
jan
--
Re: Trouble on Sending a Lot of SMS, A. Andria, 2006/11/02
- Re: Trouble on Sending a Lot of SMS,
Jan Derfinak <=