It seems to be an error of all old Wavecom modems with old firmware.
New firmware return correct strings, however modifying a little the
code, also newer can work fine.

J

Julien Buratto ha scritto:
> I have a "simple" problem but important to me:
> 
> If there is a problem with my modem and messages are stored to Sim
> Memory, then Kannel seems not able to read them.
> 
> To read the messages, I must put the SIM in my phone and read them from
> the SIM Memory.
> Maybe there is an issue with my conf, or maybe I'm using
> 
> Can anyone suggest what to check for ?
> 
> Thank
> Julien
> 
> First of all my configuration:
> 
> group = smsc
> smsc = at
> smsc-id = Modem
> #sim-buffering = true
> modemtype = wavecom
> device = /dev/ttyS4
> my-number = "+39<HIDDEN>"
> pin =
> speed = 9600
> keepalive = 120
> 
> group = modems
> id = wavecom
> name = Wavecom
> message-storage = "SM"
> init-string = "AT+CNMI=1,2,0,0,0;+CLIP=1"
> detect-string = "WAVECOM"
> reset-string = "AT+CFUN=1"
> keepalive-cmd = "AT+CREG?;+CSQ"
> 
> And second here what it happens:
> 
> 2006-03-26 03:48:24 [28708] [8] DEBUG: AT2[Modem]: device opened
> 2006-03-26 03:48:24 [28708] [8] INFO: AT2[Modem]: init device
> 2006-03-26 03:48:24 [28708] [8] INFO: AT2[Modem]: speed set to 9600
> 2006-03-26 03:48:24 [28708] [8] DEBUG: AT2[Modem]: --> ATZ^M
> 2006-03-26 03:48:24 [28708] [8] DEBUG: AT2[Modem]: <-- OK
> 2006-03-26 03:48:24 [28708] [8] DEBUG: AT2[Modem]: --> AT^M
> 2006-03-26 03:48:24 [28708] [8] DEBUG: AT2[Modem]: <-- AT
> 2006-03-26 03:48:24 [28708] [8] DEBUG: AT2[Modem]: <-- OK
> 2006-03-26 03:48:24 [28708] [8] DEBUG: AT2[Modem]: --> AT&F^M
> 2006-03-26 03:48:24 [28708] [8] DEBUG: AT2[Modem]: <-- AT&F
> 2006-03-26 03:48:25 [28708] [8] DEBUG: AT2[Modem]: <-- OK
> 2006-03-26 03:48:25 [28708] [8] DEBUG: AT2[Modem]: --> ATE0^M
> 2006-03-26 03:48:25 [28708] [8] DEBUG: AT2[Modem]: <-- ATE0
> 2006-03-26 03:48:25 [28708] [8] DEBUG: AT2[Modem]: <-- OK
> 2006-03-26 03:48:25 [28708] [8] DEBUG: AT2[Modem]: --> AT+IFC=2,2^M
> 2006-03-26 03:48:25 [28708] [8] DEBUG: AT2[Modem]: <-- OK
> 2006-03-26 03:48:25 [28708] [8] DEBUG: AT2[Modem]: --> AT+CPIN?^M
> 2006-03-26 03:48:25 [28708] [8] DEBUG: AT2[Modem]: <-- +CPIN: READY
> 2006-03-26 03:48:36 [28708] [8] DEBUG: AT2[Modem]: --> AT+CMGF=0^M
> 2006-03-26 03:48:36 [28708] [8] DEBUG: AT2[Modem]: <-- OK
> 2006-03-26 03:48:36 [28708] [8] DEBUG: AT2[Modem]: --> AT+CSMS=?^M
> 2006-03-26 03:48:36 [28708] [8] DEBUG: AT2[Modem]: <-- +CSMS: (0)
> 2006-03-26 03:48:36 [28708] [8] DEBUG: AT2[Modem]: <-- OK
> 2006-03-26 03:48:36 [28708] [8] DEBUG: AT2[Modem]: -->
> AT+CNMI=1,2,0,0,0;+CLIP=1^M
> 2006-03-26 03:48:36 [28708] [8] DEBUG: AT2[Modem]: <-- OK
> 2006-03-26 03:48:36 [28708] [8] DEBUG: AT2[Modem]: --> AT+CPMS="SM"^M
> 2006-03-26 03:48:36 [28708] [8] DEBUG: AT2[Modem]: <-- +CPMS: 30,30
> 2006-03-26 03:48:36 [28708] [8] DEBUG: AT2[Modem]: <-- OK
> 2006-03-26 03:48:36 [28708] [8] INFO: AT2[Modem]: AT SMSC successfully
> opened.
> 2006-03-26 03:48:38 [28708] [8] DEBUG: AT2[Modem]: --> AT+CREG?;+CSQ^M
> 2006-03-26 03:48:38 [28708] [8] DEBUG: AT2[Modem]: <-- +CREG: 0,1
> 2006-03-26 03:48:38 [28708] [8] DEBUG: AT2[Modem]: <-- +CSQ: 16,0
> 2006-03-26 03:48:38 [28708] [8] DEBUG: AT2[Modem]: <-- OK
> 2006-03-26 03:48:38 [28708] [8] DEBUG: AT2[Modem]: --> AT+CPMS?^M
> 2006-03-26 03:48:38 [28708] [8] DEBUG: AT2[Modem]: <-- +CPMS: "SM",30,30
> 2006-03-26 03:48:38 [28708] [8] DEBUG: AT2[Modem]: <-- OK
> 2006-03-26 03:48:38 [28708] [8] DEBUG: AT2[Modem]: couldn't parse all
> memory locations : 2:''.
> 2006-03-26 03:48:38 [28708] [8] DEBUG: AT2[Modem]: memory check error
> 2006-03-26 03:48:38 [28708] [8] INFO: AT2[Modem]: closing device
> 2006-03-26 03:48:38 [28708] [8] ERROR: AT2[Modem]: Couldn't connect
> (retrying in 10 seconds).
> 2006-03-26 03:48:48 [28708] [8] INFO: AT2[Modem]: opening device
> 2006-03-26 03:48:48 [28708] [8] DEBUG: AT2[Modem]: device opened
> 2006-03-26 03:48:48 [28708] [8] DEBUG: AT2[Modem]: device opened
> 2006-03-26 03:48:48 [28708] [8] INFO: AT2[Modem]: init device
> 2006-03-26 03:48:48 [28708] [8] INFO: AT2[Modem]: speed set to 9600
> 
> 


Reply via email to