Hi guys, Im just trying to get sms sending working perfectly, and having a tiny 
bit of trouble.

Every now and then, a message is failed to send, Im curious if anyone can help 
me a) figure out why b) make it retry in the event of a failure. here's a log 
snippet:

2001-10-30 03:16:28 [6] DEBUG: boxc_receiver: message from client received
2001-10-30 03:16:28 [4] DEBUG: sms_router: adding message to <AT: /dev/ttyS0>
2001-10-30 03:16:28 [3] DEBUG: sms_sender: sending message
2001-10-30 03:16:28 [3] WARNING: AirG:smsc_At.c: *send_modem_command: trying to 
send command:AT+CMGS=76
2001-10-30 03:16:28 [3] WARNING: AirG:smsc_At.c: *send_modem_command: trying to 
send 
command:0001000B916140172064F6000048285CAAD56AB55AAD560BF49A8EDFF2B20EF602A1CA6E
7A590E12219B201188FE069DEBE5F91C14769341226413842EB3E12290F92D07D1D1E939A85D76D7
53
2001-10-30 03:16:32 [3] DEBUG: send command status: 0
2001-10-30 03:20:22 [2] DEBUG: smsc: new message received
2001-10-30 03:20:22 [7] DEBUG: boxc_sender: sent message
2001-10-30 03:20:22 [6] DEBUG: boxc_receiver: message from client received
2001-10-30 03:20:22 [4] DEBUG: sms_router: adding message to <AT: /dev/ttyS0>
2001-10-30 03:20:22 [3] DEBUG: sms_sender: sending message
2001-10-30 03:20:22 [3] WARNING: AirG:smsc_At.c: *send_modem_command: trying to 
send command:AT+CMGS=76
2001-10-30 03:20:22 [3] WARNING: AirG:smsc_At.c: *send_modem_command: trying to 
send 
command:0001000B916140172064F6000048285CAAD56AB5CAAD560BF49A8EDFF2B20EF602A1CA6E
7A590E12219B201188FE069DEBE5F91C14769341226413842EB3E12290F92D07D1D1E939A85D76D7
53
2001-10-30 03:20:23 [3] DEBUG: send command status: -1

you can see the first message is sent okay, but the second one reports -1

(The AirG warnings were added by me to see the AT commands sent to the modem as 
i was trying to debug it)

Any help would be appreciated! Thanks

Reply via email to