Discussion:
Problems connecting to Siemens MC35i via /dev/ttyS0
Stokkenes Vidar
2014-03-28 14:11:54 UTC
Permalink
Hello people,

The last couple of weeks I've had problems connecting to my Siemens MC35i GSM modem connected by serial (COM1 or /dev/ttyS0) on my Debian server. This phone has been working perfectly for several years until a few weeks ago. Here is the error from gammu.log (textall logging) after sending a test message (echo "test" | gammu --sendsms TEXT XXXXXXXX)

Also, "gammy -identify" says "No response in specified timeout. Probably phone not connected." while its been working perfectly before.

Any idea what might cause this? Has there been any changes in later gammu releases?

<snip>

[Gammu - 1.31.90 built 17:33:51 Jun 9 2012 using GCC 4.7]
[Connection - "at19200"]
[Connection index - 0]
[Model type - ""]
[Device - "/dev/ttyS0"]
[Running on - Linux, kernel 3.2.0-4-amd64 (#1 SMP Debian 3.2.54-2)]
Serial device: DTR is up, RTS is up, CAR is down, CTS is up
Setting speed to 19200
[Module - "auto"]
Escaping SMS mode
SENDING frametype 0x00/length 0x02/2
1B |0D ..
Sending simple AT command to wake up some devices
SENDING frametype 0x00/length 0x03/3
41A|54T|0D AT.
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x09/9
41A|54T|0D |0D |0A |4FO|4BK|0D |0A AT...OK..
Enabling echo
SENDING frametype 0x00/length 0x05/5
41A|54T|45E|311|0D ATE1.
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x0B/11
41A|54T|45E|311|0D |0D |0A |4FO|4BK|0D |0A ATE1...OK..
Trying Motorola mode switch
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D AT+MODE=2.
1 "AT+MODE=2"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x13/19
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D |0D |0A |45E|52R|52R|4FO AT+MODE=2...ERRO
52R|0D |0A R..
Seems not to be supported
Enabling CME errors
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D AT+CMEE=1.
1 "AT+CMEE=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x10/16
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D |0D |0A |4FO|4BK|0D |0A AT+CMEE=1...OK..
SENDING frametype 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|53S|3F?|0D AT+CSCS?.
1 "AT+CSCS?"
2 "+CSCS: "GSM""
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1F/31
41A|54T|2B+|43C|53S|43C|53S|3F?|0D |0D |0A |2B+|43C|53S|43C|53S AT+CSCS?...+CSCS
3A:|20 |22"|47G|53S|4DM|22"|0D |0A |0D |0A |4FO|4BK|0D |0A : "GSM"....OK..
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|49I|0D AT+CGMI.
1 "AT+CGMI"
2 "SIEMENS"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x19/25
41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |53S|49I|45E|4DM|45E|4EN AT+CGMI...SIEMEN
53S|0D |0A |0D |0A |4FO|4BK|0D |0A S....OK..
Manufacturer info received
[Manufacturer: Siemens]
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D AT+CSCS=?.
1 "AT+CSCS=?"
2 "+CSCS: ("GSM","UCS2")"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x29/41
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D |0D |0A |2B+|43C|53S|43C AT+CSCS=?...+CSC
53S|3A:|20 |28(|22"|47G|53S|4DM|22"|2C,|22"|55U|43C|53S|322|22" S: ("GSM","UCS2"
29)|0D |0A |0D |0A |4FO|4BK|0D |0A )....OK..
Chosen GSM as normal charset
Chosen UCS2 as unicode charset
Getting model
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|4DM|0D AT+CGMM.
1 "AT+CGMM"
2 "TC35i"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x17/23
41A|54T|2B+|43C|47G|4DM|4DM|0D |0D |0A |54T|43C|333|355|69i|0D AT+CGMM...TC35i.
0A |0D |0A |4FO|4BK|0D |0A ...OK..
Unknown model, but it should still work
[Model name: `TC35i']
[Model data: `']
[Model data: `unknown']
[Connected model - "TC35i"]
Checking for OBEX support
SENDING frametype 0x00/length 0x0B/11
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D AT+CPROT=?.
1 "AT+CPROT=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x14/20
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D |0D |0A |45E|52R|52R AT+CPROT=?...ERR
4FO|52R|0D |0A OR..
Checking for SYNCML/OBEX support
SENDING frametype 0x00/length 0x0C/12
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D AT+SYNCML=?.
Checking for SYNCML/OBEX support
SENDING frametype 0x00/length 0x0D/13
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D AT$TSSPCSW=?.
1 "AT$TSSPCSW=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x16/22
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D |0D |0A |45E AT$TSSPCSW=?...E
52R|52R|4FO|52R|0D |0A RROR..
SENDING frametype 0x00/length 0x09/9
41A|54T|5E^|53S|51Q|57W|45E|3F?|0D AT^SQWE?.
1 "AT^SQWE?"
2 "^SQWE: 0"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1B/27
41A|54T|5E^|53S|51Q|57W|45E|3F?|0D |0D |0A |5E^|53S|51Q|57W|45E AT^SQWE?...^SQWE
3A:|20 |300|0D |0A |0D |0A |4FO|4BK|0D |0A : 0....OK..
Parsing ^SQWE: 0 with ^SQWE: @i
Parsed int 0
There is a chance that phone supports F_OBEX,F_SQWE, please report bug if it works
[Module - "A2D|iPAQ|at|M20|S25|MC35|TC35|C35i|S65|S300|5110|5130|5190|5210|6110|6130|6150|6190|6210|6250|6310|6310i|6510|7110|8210|8250|8290|8310|8390|8850|8855|8890|8910|9110|9210"]
Escaping SMS mode
SENDING frametype 0x00/length 0x02/2
1B |0D ..
Sending simple AT command to wake up some devices
SENDING frametype 0x00/length 0x03/3
41A|54T|0D AT.
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x09/9
41A|54T|0D |0D |0A |4FO|4BK|0D |0A AT...OK..
Enabling echo
SENDING frametype 0x00/length 0x05/5
41A|54T|45E|311|0D ATE1.
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x0B/11
41A|54T|45E|311|0D |0D |0A |4FO|4BK|0D |0A ATE1...OK..
Trying Motorola mode switch
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D AT+MODE=2.
1 "AT+MODE=2"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x13/19
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D |0D |0A |45E|52R|52R|4FO AT+MODE=2...ERRO
52R|0D |0A R..
Seems not to be supported
Enabling CME errors
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D AT+CMEE=1.
1 "AT+CMEE=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x10/16
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D |0D |0A |4FO|4BK|0D |0A AT+CMEE=1...OK..
SENDING frametype 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|53S|3F?|0D AT+CSCS?.
Init:Phone->Initialise failed with error TIMEOUT[14]: No response in specified timeout. Probably phone not connected.
[Terminating]
[Closing]

</snip>

Best regards,

Vidar S
Stokkenes Vidar
2014-03-28 14:13:36 UTC
Permalink
I forgot to send my gammurc. This file has been unchanged since my setup was working.

[gammu]

port = /dev/ttyS0
model =
connection = at19200
synchronizetime = yes
logfile = /var/log/gammu.log
logformat = textall
use_locking =
gammuloc =

Sorry for the inconvenience.

Fra: Stokkenes Vidar
Sendt: 28. mars 2014 15:12
Til: 'gammu-***@lists.sourceforge.net'
Emne: Problems connecting to Siemens MC35i via /dev/ttyS0

Hello people,

The last couple of weeks I've had problems connecting to my Siemens MC35i GSM modem connected by serial (COM1 or /dev/ttyS0) on my Debian server. This phone has been working perfectly for several years until a few weeks ago. Here is the error from gammu.log (textall logging) after sending a test message (echo "test" | gammu --sendsms TEXT XXXXXXXX)

Also, "gammy -identify" says "No response in specified timeout. Probably phone not connected." while its been working perfectly before.

Any idea what might cause this? Has there been any changes in later gammu releases?

<snip>

[Gammu - 1.31.90 built 17:33:51 Jun 9 2012 using GCC 4.7]
[Connection - "at19200"]
[Connection index - 0]
[Model type - ""]
[Device - "/dev/ttyS0"]
[Running on - Linux, kernel 3.2.0-4-amd64 (#1 SMP Debian 3.2.54-2)]
Serial device: DTR is up, RTS is up, CAR is down, CTS is up
Setting speed to 19200
[Module - "auto"]
Escaping SMS mode
SENDING frametype 0x00/length 0x02/2
1B |0D ..
Sending simple AT command to wake up some devices
SENDING frametype 0x00/length 0x03/3
41A|54T|0D AT.
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x09/9
41A|54T|0D |0D |0A |4FO|4BK|0D |0A AT...OK..
Enabling echo
SENDING frametype 0x00/length 0x05/5
41A|54T|45E|311|0D ATE1.
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x0B/11
41A|54T|45E|311|0D |0D |0A |4FO|4BK|0D |0A ATE1...OK..
Trying Motorola mode switch
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D AT+MODE=2.
1 "AT+MODE=2"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x13/19
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D |0D |0A |45E|52R|52R|4FO AT+MODE=2...ERRO
52R|0D |0A R..
Seems not to be supported
Enabling CME errors
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D AT+CMEE=1.
1 "AT+CMEE=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x10/16
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D |0D |0A |4FO|4BK|0D |0A AT+CMEE=1...OK..
SENDING frametype 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|53S|3F?|0D AT+CSCS?.
1 "AT+CSCS?"
2 "+CSCS: "GSM""
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1F/31
41A|54T|2B+|43C|53S|43C|53S|3F?|0D |0D |0A |2B+|43C|53S|43C|53S AT+CSCS?...+CSCS
3A:|20 |22"|47G|53S|4DM|22"|0D |0A |0D |0A |4FO|4BK|0D |0A : "GSM"....OK..
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|49I|0D AT+CGMI.
1 "AT+CGMI"
2 "SIEMENS"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x19/25
41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |53S|49I|45E|4DM|45E|4EN AT+CGMI...SIEMEN
53S|0D |0A |0D |0A |4FO|4BK|0D |0A S....OK..
Manufacturer info received
[Manufacturer: Siemens]
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D AT+CSCS=?.
1 "AT+CSCS=?"
2 "+CSCS: ("GSM","UCS2")"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x29/41
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D |0D |0A |2B+|43C|53S|43C AT+CSCS=?...+CSC
53S|3A:|20 |28(|22"|47G|53S|4DM|22"|2C,|22"|55U|43C|53S|322|22" S: ("GSM","UCS2"
29)|0D |0A |0D |0A |4FO|4BK|0D |0A )....OK..
Chosen GSM as normal charset
Chosen UCS2 as unicode charset
Getting model
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|4DM|0D AT+CGMM.
1 "AT+CGMM"
2 "TC35i"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x17/23
41A|54T|2B+|43C|47G|4DM|4DM|0D |0D |0A |54T|43C|333|355|69i|0D AT+CGMM...TC35i.
0A |0D |0A |4FO|4BK|0D |0A ...OK..
Unknown model, but it should still work
[Model name: `TC35i']
[Model data: `']
[Model data: `unknown']
[Connected model - "TC35i"]
Checking for OBEX support
SENDING frametype 0x00/length 0x0B/11
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D AT+CPROT=?.
1 "AT+CPROT=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x14/20
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D |0D |0A |45E|52R|52R AT+CPROT=?...ERR
4FO|52R|0D |0A OR..
Checking for SYNCML/OBEX support
SENDING frametype 0x00/length 0x0C/12
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D AT+SYNCML=?.
Checking for SYNCML/OBEX support
SENDING frametype 0x00/length 0x0D/13
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D AT$TSSPCSW=?.
1 "AT$TSSPCSW=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x16/22
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D |0D |0A |45E AT$TSSPCSW=?...E
52R|52R|4FO|52R|0D |0A RROR..
SENDING frametype 0x00/length 0x09/9
41A|54T|5E^|53S|51Q|57W|45E|3F?|0D AT^SQWE?.
1 "AT^SQWE?"
2 "^SQWE: 0"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1B/27
41A|54T|5E^|53S|51Q|57W|45E|3F?|0D |0D |0A |5E^|53S|51Q|57W|45E AT^SQWE?...^SQWE
3A:|20 |300|0D |0A |0D |0A |4FO|4BK|0D |0A : 0....OK..
Parsing ^SQWE: 0 with ^SQWE: @i
Parsed int 0
There is a chance that phone supports F_OBEX,F_SQWE, please report bug if it works
[Module - "A2D|iPAQ|at|M20|S25|MC35|TC35|C35i|S65|S300|5110|5130|5190|5210|6110|6130|6150|6190|6210|6250|6310|6310i|6510|7110|8210|8250|8290|8310|8390|8850|8855|8890|8910|9110|9210"]
Escaping SMS mode
SENDING frametype 0x00/length 0x02/2
1B |0D ..
Sending simple AT command to wake up some devices
SENDING frametype 0x00/length 0x03/3
41A|54T|0D AT.
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x09/9
41A|54T|0D |0D |0A |4FO|4BK|0D |0A AT...OK..
Enabling echo
SENDING frametype 0x00/length 0x05/5
41A|54T|45E|311|0D ATE1.
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x0B/11
41A|54T|45E|311|0D |0D |0A |4FO|4BK|0D |0A ATE1...OK..
Trying Motorola mode switch
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D AT+MODE=2.
1 "AT+MODE=2"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x13/19
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D |0D |0A |45E|52R|52R|4FO AT+MODE=2...ERRO
52R|0D |0A R..
Seems not to be supported
Enabling CME errors
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D AT+CMEE=1.
1 "AT+CMEE=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x10/16
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D |0D |0A |4FO|4BK|0D |0A AT+CMEE=1...OK..
SENDING frametype 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|53S|3F?|0D AT+CSCS?.
Init:Phone->Initialise failed with error TIMEOUT[14]: No response in specified timeout. Probably phone not connected.
[Terminating]
[Closing]

</snip>

Best regards,

Vidar S

Loading...