I always experience this error but how to reduce the retrying interval. After
10 secs, the modem response is ok.
I am using wavecom fasttrack modem.
need-sleep = true
sendline-sleep = 200
2008-05-23 12:08:37 [790] [10] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2008-05-23 12:08:37 [790] [10] DEBUG: boxc_sender: sent message to <127.0.0.1>
2008-05-23 12:08:37 [790] [9] DEBUG: boxc_receiver: got ack
2008-05-23 12:08:39 [790] [9] DEBUG: boxc_receiver: sms received
2008-05-23 12:08:39 [790] [9] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2008-05-23 12:08:41 [790] [6] DEBUG: AT2[ttyS0]: --> AT+CPMS?^M
2008-05-23 12:08:41 [790] [6] DEBUG: AT2[ttyS0]: <-- +CME ERROR: 515
2008-05-23 12:08:41 [790] [6] ERROR: AT2[ttyS0]: Generic error: +CME ERROR: 515
2008-05-23 12:08:41 [790] [6] DEBUG: failed to send mem select command to modem
-1
2008-05-23 12:08:41 [790] [6] DEBUG: AT2[ttyS0]: memory check error
2008-05-23 12:08:41 [790] [6] INFO: AT2[ttyS0]: closing device
2008-05-23 12:08:41 [790] [6] ERROR: AT2[ttyS0]: Couldn't connect (retrying in
10 seconds).
2008-05-23 12:08:43 [790] [9] DEBUG: boxc_receiver: heartbeat with load value 0
received
2008-05-23 12:08:51 [790] [6] INFO: AT2[ttyS0]: opening device
2008-05-23 12:08:51 [790] [6] DEBUG: AT2[ttyS0]: device opened
2008-05-23 12:08:52 [790] [6] DEBUG: AT2[ttyS0]: device opened
2008-05-23 12:08:52 [790] [6] INFO: AT2[ttyS0]: init device
2008-05-23 12:08:52 [790] [6] INFO: AT2[ttyS0]: speed set to 9600
2008-05-23 12:08:52 [790] [6] DEBUG: AT2[ttyS0]: --> ATZ^M
2008-05-23 12:08:52 [790] [8] DEBUG: Dumping 1 messages to store
2008-05-23 12:08:52 [790] [6] DEBUG: AT2[ttyS0]: <-- +CME ERROR: 515
2008-05-23 12:08:52 [790] [6] ERROR: AT2[ttyS0]: Generic error: +CME ERROR: 515
2008-05-23 12:08:52 [790] [6] ERROR: AT2[ttyS0]: Wrong or no answer to ATZ,
ignoring
2008-05-23 12:08:52 [790] [6] DEBUG: AT2[ttyS0]: --> AT^M
2008-05-23 12:08:52 [790] [6] DEBUG: AT2[ttyS0]: <-- +CME ERROR: 515
2008-05-23 12:08:52 [790] [6] ERROR: AT2[ttyS0]: Generic error: +CME ERROR: 515
2008-05-23 12:08:52 [790] [6] ERROR: AT2[ttyS0]: Wrong or no answer to AT.
Trying again
2008-05-23 12:08:52 [790] [6] DEBUG: AT2[ttyS0]: --> AT^M
2008-05-23 12:08:52 [790] [6] DEBUG: AT2[ttyS0]: <-- +CME ERROR: 515
2008-05-23 12:08:52 [790] [6] ERROR: AT2[ttyS0]: Generic error: +CME ERROR: 515
2008-05-23 12:08:52 [790] [6] ERROR: AT2[ttyS0]: Second attempt to send AT
failed
2008-05-23 12:08:52 [790] [6] ERROR: AT2[ttyS0]: Opening failed. Terminating
2008-05-23 12:08:52 [790] [6] INFO: AT2[ttyS0]: closing device
2008-05-23 12:08:52 [790] [6] ERROR: AT2[ttyS0]: Couldn't connect (retrying in
10 seconds).
2008-05-23 12:09:02 [790] [6] INFO: AT2[ttyS0]: opening device
2008-05-23 12:09:02 [790] [6] DEBUG: AT2[ttyS0]: device opened
2008-05-23 12:09:03 [790] [6] DEBUG: AT2[ttyS0]: device opened
2008-05-23 12:09:03 [790] [6] INFO: AT2[ttyS0]: init device