I have sim without pin, so I add to your sended configuration: no-pin =true

Jan

Dne 28. ledna 2011 14:01 <[email protected]> napsal(a):

> I don't use this configuration anymore, so I checked some of my old logs.
> I also get the first error after AT+IFC=2,2^M.
> But right after that I set the pin with CPIN and then the rest - including
> the initialization - worked fine.
>
> You're sure you setting the pin correct?
>
>
> Stefan
>
>
>
> Von:        Jan Šimecký <[email protected]>
> An:        [email protected]
> Kopie:        "Jan ??imeck?? <[email protected],
> [email protected], [email protected]
> Datum:        28.01.2011 11:37
> Betreff:        Re: Fwd: Siemens MC35i : Couldn't connect
> Gesendet von:        [email protected]
> ------------------------------
>
>
>
> Hi,
>
> I tried it, but still I have problem. Now I get from log this information:
>
> 2011-01-28 11:27:27 [24871] [6] INFO: AT2[/dev/ttyS0]: init device
> 2011-01-28 11:27:27 [24871] [6] INFO: AT2[/dev/ttyS0]: speed set to 9600
> 2011-01-28 11:27:27 [24871] [6] DEBUG: AT2[/dev/ttyS0]: --> ATZ^M
> 2011-01-28 11:27:28 [24871] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> 2011-01-28 11:27:28 [24871] [6] DEBUG: AT2[/dev/ttyS0]: --> AT^M
> 2011-01-28 11:27:29 [24871] [6] DEBUG: AT2[/dev/ttyS0]: <-- AT
> 2011-01-28 11:27:29 [24871] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> 2011-01-28 11:27:29 [24871] [6] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M
> 2011-01-28 11:27:29 [24871] [6] DEBUG: AT2[/dev/ttyS0]: <-- AT&F
> 2011-01-28 11:27:29 [24871] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> 2011-01-28 11:27:29 [24871] [6] DEBUG: AT2[/dev/ttyS0]: --> ATE0^M
> 2011-01-28 11:27:29 [24871] [6] DEBUG: AT2[/dev/ttyS0]: <-- ATE0
> 2011-01-28 11:27:29 [24871] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> 2011-01-28 11:27:29 [24871] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+IFC=2,2^M
> 2011-01-28 11:27:29 [24871] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR
> 2011-01-28 11:27:29 [24871] [6] ERROR: AT2[/dev/ttyS0]: Generic error:
> ERROR
> 2011-01-28 11:27:29 [24871] [6] INFO: AT2[/dev/ttyS0]: cannot enable
> hardware handshake
> 2011-01-28 11:27:29 [24871] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGF=0^M
> 2011-01-28 11:27:30 [24871] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
> 2011-01-28 11:27:30 [24871] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=?^M
> 2011-01-28 11:27:30 [24871] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: (0,1)
> 2011-01-28 11:27:36 [24871] [6] DEBUG: AT2[/dev/ttyS0]: -->
> AT+CNMI=1,2,0,1,1^M
> 2011-01-28 11:27:36 [24871] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR
> 2011-01-28 11:27:36 [24871] [6] ERROR: AT2[/dev/ttyS0]: Generic error:
> ERROR
> 2011-01-28 11:27:36 [24871] [6] ERROR: AT2[/dev/ttyS0]: Initialization of
> device failed. Attempt #0 on -1 max.
> 2011-01-28 11:27:36 [24871] [6] INFO: AT2[/dev/ttyS0]: Closing device
> 2011-01-28 11:27:36 [24871] [6] ERROR: AT2[/dev/ttyS0]: Couldn't connect
> (retrying in 10 seconds).
>
> Kannel add to end init-string ^M - is it ok?
>
>
>
>
> Dne 28. ledna 2011 11:14 <*[email protected]*<[email protected]>>
> napsal(a):
> Jan,
>
> Here's the configuration that works for me with the MC35i:
>
> group = smsc
> smsc = at
> modemtype = siemens_mc35i
> device = /dev/ttyS1
> pin = ****
>
> group = modems
> id = siemens_mc35i
> detect-string = "MC35i"
> speed = 9600
>
> init-string = "AT+CNMI=1,2,0,1,1"
>
>
> Regards,
> Stefan
>
>
>
> Von:        Jan Šimecký <*[email protected]*<[email protected]>
> >
> An:        *[email protected]* <[email protected]>
> Datum:        28.01.2011 08:52
> Betreff:        Fwd: Siemens MC35i : Couldn't connect
> Gesendet von:        
> *[email protected]*<[email protected]>
> ------------------------------
>
>
>
>
> Hello,
>
> I tried configured kannel for siemens mc35i. Here is my configuration in
> smskannel.conf:
>
> # SMSC CONNECTIONS
> group = smsc
> smsc = at
> modemtype = auto
> device = /dev/ttyS0
> speed = 115200
> port = 10050
> connect-allow-ip = 127.0.0.1
> log-file = "/home/simi/gateway/at.log"
>
> ...
>
> # SIEMENS MODEM SETUP
> group = modems
> id = SIEMENS MC35i
> name = "siemens_ mc35i"
> detect-string = "SIEMENS"
> detect-string2 = "MC35i"
> init-string = "AT+CNMI=1,2,0,1,1"
> enable-hwhs = "AT\\Q3"
> need-sleep = true
>
>
> And here is record from /home/simi/gateway/at.log
>
> 2011-01-28 08:32:35 [4041] [6] DEBUG: AT2[/dev/ttyS0]: detecting modem type
>
> 2011-01-28 08:32:35 [4041] [6] INFO: AT2[/dev/ttyS0]: opening device
>
> 2011-01-28 08:32:35 [4041] [6] DEBUG: AT2[/dev/ttyS0]: device opened.
> Telnet mode = 0
> 2011-01-28 08:32:36 [4041] [6] DEBUG: AT2[/dev/ttyS0]: device opened
>
> 2011-01-28 08:32:36 [4041] [6] INFO: AT2[/dev/ttyS0]: speed set to 115200
>
> 2011-01-28 08:32:36 [4041] [6] DEBUG: AT2[/dev/ttyS0]: --> ^M
>
> 2011-01-28 08:32:38 [4041] [6] DEBUG: AT2[/dev/ttyS0]: --> AT^M
>
> 2011-01-28 08:32:38 [4041] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
>
> 2011-01-28 08:32:38 [4041] [6] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M
>
> 2011-01-28 08:32:39 [4041] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
>
> 2011-01-28 08:32:39 [4041] [6] DEBUG: AT2[/dev/ttyS0]: --> ATE0^M
>
> 2011-01-28 08:32:39 [4041] [6] DEBUG: AT2[/dev/ttyS0]: <-- ATE0
>
> 2011-01-28 08:32:39 [4041] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
>
> 2011-01-28 08:32:39 [4041] [6] DEBUG: AT2[/dev/ttyS0]: --> ATI^M
>
> 2011-01-28 08:32:40 [4041] [6] DEBUG: AT2[/dev/ttyS0]: <-- SIEMENS
>
> 2011-01-28 08:32:43 [4041] [6] ERROR: AT2[/dev/ttyS0]: Couldn't connect
> (retrying in 10 seconds).
> 2011-01-28 08:32:53 [4041] [6] DEBUG: AT2[/dev/ttyS0]: detecting modem type
>
> 2011-01-28 08:32:53 [4041] [6] INFO: AT2[/dev/ttyS0]: opening device
> 2011-01-28 08:32:53 [4041] [6] WARNING: AT2[/dev/ttyS0]: trying to open
> device with not closed device!!! Please report!!!
> 2011-01-28 08:32:53 [4041] [6] INFO: AT2[/dev/ttyS0]: Closing device
> 2011-01-28 08:32:53 [4041] [6] DEBUG: AT2[/dev/ttyS0]: device opened.
> Telnet mode = 0
>
> If I try open /dev/ttyS0 over serial terminal and I send command ATI^M I
> get successfull first line with SIEMENS and second line with MC35i. So Any
> idea why cannel here failed?
>
>
> Thanks. Jan Simecky
>
>
> ------
> Der Inhalt dieses E-Mails ist streng vertraulich und möglicherweise
> gesetzlich besonders geschützt. Dieses E-Mail ist nur für den Adressaten
> bestimmt. Wenn Sie nicht der beabsichtigte Empfänger sind, ist es Ihnen
> nicht gestattet und stellt möglicherweise einen Gesetzesverstoss dar, dieses
> E-Mail zu kopieren, zu verbreiten oder anderweitig zu verwenden. In diesem
> Fall sollten Sie uns so schnell wie möglich benachrichtigen und dieses
> E-Mail löschen.
>
> Le contenu de ce courriel est strictement confidentiel et probablement
> légalement protégé. Il n'est adressé qu'aux destinataires mentionnés. Si
> vous n'en faites pas partie, vous n'avez pas l'autorisation de le copier, ni
> de le diffuser, ni même de le destiner à un autre usage - ce qui dans chaque
> cas peut en effet constituer une infraction à la loi. Dans ce cas, vous
> devriez nous en informer immédiatement et effacer ce courriel.
>
> Il contenuto del presente messaggio elettronico è da considerare di massima
> riservatezza e possibilmente è protetto in modo particolare dalla legge. La
> presente e-mail è riservata alla sola attenzione della persona destinataria.
> Se lei non è la persona che avrebbe dovuto ricevere la e-mail, non le è
> permesso e possibilmente rappresenta una violazione della legge, copiare la
> presente e-mail, diffonderla o utilizzarla in qualsiasi altro modo. In
> questo caso lei dovrebbe informarci al più presto possibile e cancellare la
> presente e-mail.
>
> ------
> Der Inhalt dieses E-Mails ist streng vertraulich und möglicherweise
> gesetzlich besonders geschützt. Dieses E-Mail ist nur für den Adressaten
> bestimmt. Wenn Sie nicht der beabsichtigte Empfänger sind, ist es Ihnen
> nicht gestattet und stellt möglicherweise einen Gesetzesverstoss dar, dieses
> E-Mail zu kopieren, zu verbreiten oder anderweitig zu verwenden. In diesem
> Fall sollten Sie uns so schnell wie möglich benachrichtigen und dieses
> E-Mail löschen.
>
> Le contenu de ce courriel est strictement confidentiel et probablement
> légalement protégé. Il n'est adressé qu'aux destinataires mentionnés. Si
> vous n'en faites pas partie, vous n'avez pas l'autorisation de le copier, ni
> de le diffuser, ni même de le destiner à un autre usage - ce qui dans chaque
> cas peut en effet constituer une infraction à la loi. Dans ce cas, vous
> devriez nous en informer immédiatement et effacer ce courriel.
>
> Il contenuto del presente messaggio elettronico è da considerare di massima
> riservatezza e possibilmente è protetto in modo particolare dalla legge. La
> presente e-mail è riservata alla sola attenzione della persona destinataria.
> Se lei non è la persona che avrebbe dovuto ricevere la e-mail, non le è
> permesso e possibilmente rappresenta una violazione della legge, copiare la
> presente e-mail, diffonderla o utilizzarla in qualsiasi altro modo. In
> questo caso lei dovrebbe informarci al più presto possibile e cancellare la
> presente e-mail.
>
>

Reply via email to