Skip to content

Instantly share code, notes, and snippets.

@sbathgate
Created March 15, 2020 04:09
Show Gist options
  • Save sbathgate/785227bd8cf612d72837e8cb526c6fa9 to your computer and use it in GitHub Desktop.
Save sbathgate/785227bd8cf612d72837e8cb526c6fa9 to your computer and use it in GitHub Desktop.
Huawei MS2131i-8 Gammu Log Errors
[Gammu - 1.40.0]
[Connection - "at"]
[Connection index - 0]
[Model type - ""]
[Device - "/dev/ttyUSB0"]
[Running on - Linux, kernel 4.19.97-v7+ (#1294 SMP Thu Jan 30 13:15:58 GMT 2020)]
Serial device: DTR is up, RTS is up, CAR is down, CTS is up
Setting speed to 115200
[Module - "auto"]
Escaping SMS mode
Sending simple AT command to wake up some devices
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
Enabling echo
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
Trying Motorola mode switch
1 "AT+MODE=2"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
Seems not to be supported
Enabling CME errors
1 "AT+CMEE=1"
2 "OK"
Checking line: OK
AT reply state: 1
1 "AT+CSCS?"
2 "+CSCS: "GSM""
3 "OK"
Checking line: OK
AT reply state: 1
1 "AT+CSCS=?"
2 "+CSCS: ("IRA","UCS2","GSM")"
3 "OK"
Checking line: OK
AT reply state: 1
Chosen GSM as normal charset
Chosen UCS2 as unicode charset
Getting model
1 "AT+CGMM"
2 "MS2131"
3 "OK"
Checking line: OK
AT reply state: 1
Unknown model, but it should still work
[Model name: `MS2131']
[Model data: `']
[Model data: `unknown']
1 "AT+CGMI"
2 "huawei"
3 "OK"
Checking line: OK
AT reply state: 1
Manufacturer info received
[Manufacturer: Huawei]
Checking for OBEX support
1 "AT+CPROT=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
Checking for SYNCML/OBEX support
1 "AT+SYNCML=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
1 "AT$TSSPCSW=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
[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 simple AT command to wake up some devices
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
Enabling echo
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
Trying Motorola mode switch
1 "AT+MODE=2"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
Seems not to be supported
Enabling CME errors
1 "AT+CMEE=1"
2 "OK"
Checking line: OK
AT reply state: 1
1 "AT+CSCS?"
2 "+CSCS: "GSM""
3 "OK"
Checking line: OK
AT reply state: 1
1 "AT+CSCS=?"
2 "+CSCS: ("IRA","UCS2","GSM")"
3 "OK"
Checking line: OK
AT reply state: 1
Chosen GSM as normal charset
Chosen UCS2 as unicode charset
1 "AT+CGMI"
2 "huawei"
3 "OK"
Checking line: OK
AT reply state: 1
Manufacturer info received
[Manufacturer: Huawei]
Checking for OBEX support
1 "AT+CPROT=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
Checking for SYNCML/OBEX support
1 "AT+SYNCML=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
1 "AT$TSSPCSW=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
Setting date & time
1 "AT+CCLK="20/03/14,20:40:05-08""
2 "ERROR"
Checking line: ERROR
AT reply state: 3
Getting firmware versions
1 "AT+CGMR"
2 "21.751.23.00.00"
3 "OK"
Checking line: OK
AT reply state: 1
Received firmware version: "21.751.23.00.00"
Number version is "21.751230"
[Connected]
Entering GSM_GetManufacturer
1 "AT+CGMI"
2 "huawei"
3 "OK"
Checking line: OK
AT reply state: 1
Manufacturer info received
[Manufacturer: Huawei]
Leaving GSM_GetManufacturer
Entering GSM_GetModel
Getting model
1 "AT+CGMM"
2 "MS2131"
3 "OK"
Checking line: OK
AT reply state: 1
Unknown model, but it should still work
[Model name: `MS2131']
[Model data: `']
[Model data: `unknown']
Leaving GSM_GetModel
Entering GSM_GetFirmware
Getting firmware versions
1 "AT+CGMR"
2 "21.751.23.00.00"
3 "OK"
Checking line: OK
AT reply state: 1
Received firmware version: "21.751.23.00.00"
Number version is "21.751230"
Leaving GSM_GetFirmware
Entering GSM_GetPPM
GSM_GetPPM failed with error NOTSUPPORTED[21]: Function not supported by phone.
Leaving GSM_GetPPM
Entering GSM_GetHardware
GSM_GetHardware failed with error NOTSUPPORTED[21]: Function not supported by phone.
Leaving GSM_GetHardware
Entering GSM_GetIMEI
Getting IMEI
1 "AT+CGSN"
2 "867444036349480"
3 "OK"
Checking line: OK
AT reply state: 1
Received IMEI 867444036349480
Leaving GSM_GetIMEI
Entering GSM_GetOriginalIMEI
GSM_GetOriginalIMEI failed with error NOTSUPPORTED[21]: Function not supported by phone.
Leaving GSM_GetOriginalIMEI
Entering GSM_GetManufactureMonth
GSM_GetManufactureMonth failed with error NOTSUPPORTED[21]: Function not supported by phone.
Leaving GSM_GetManufactureMonth
Entering GSM_GetProductCode
GSM_GetProductCode failed with error NOTSUPPORTED[21]: Function not supported by phone.
Leaving GSM_GetProductCode
Entering GSM_GetSIMIMSI
Getting SIM IMSI
1 "AT+CIMI"
2 "302720598120691"
3 "OK"
Checking line: OK
AT reply state: 1
Received IMSI 302720598120691
Leaving GSM_GetSIMIMSI
[Terminating]
[Closing]
[Gammu - 1.40.0]
[Connection - "at"]
[Connection index - 0]
[Model type - ""]
[Device - "/dev/ttyUSB0"]
[Running on - Linux, kernel 4.19.97-v7+ (#1294 SMP Thu Jan 30 13:15:58 GMT 2020)]
Serial device: DTR is up, RTS is up, CAR is down, CTS is up
Setting speed to 115200
[Module - "auto"]
Escaping SMS mode
Sending simple AT command to wake up some devices
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
Enabling echo
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
Trying Motorola mode switch
1 "AT+MODE=2"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
Seems not to be supported
Enabling CME errors
1 "AT+CMEE=1"
2 "OK"
Checking line: OK
AT reply state: 1
1 "AT+CSCS?"
2 "+CSCS: "GSM""
3 "OK"
Checking line: OK
AT reply state: 1
1 "AT+CSCS=?"
2 "+CSCS: ("IRA","UCS2","GSM")"
3 "OK"
Checking line: OK
AT reply state: 1
Chosen GSM as normal charset
Chosen UCS2 as unicode charset
Getting model
1 "AT+CGMM"
2 "MS2131"
3 "OK"
Checking line: OK
AT reply state: 1
Unknown model, but it should still work
[Model name: `MS2131']
[Model data: `']
[Model data: `unknown']
1 "AT+CGMI"
2 "huawei"
3 "OK"
Checking line: OK
AT reply state: 1
Manufacturer info received
[Manufacturer: Huawei]
Checking for OBEX support
1 "AT+CPROT=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
Checking for SYNCML/OBEX support
1 "AT+SYNCML=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
1 "AT$TSSPCSW=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
[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 simple AT command to wake up some devices
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
Enabling echo
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
Trying Motorola mode switch
1 "AT+MODE=2"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
Seems not to be supported
Enabling CME errors
1 "AT+CMEE=1"
2 "OK"
Checking line: OK
AT reply state: 1
1 "AT+CSCS?"
2 "+CSCS: "GSM""
3 "OK"
Checking line: OK
AT reply state: 1
1 "AT+CSCS=?"
2 "+CSCS: ("IRA","UCS2","GSM")"
3 "OK"
Checking line: OK
AT reply state: 1
Chosen GSM as normal charset
Chosen UCS2 as unicode charset
1 "AT+CGMI"
2 "huawei"
3 "OK"
Checking line: OK
AT reply state: 1
Manufacturer info received
[Manufacturer: Huawei]
Checking for OBEX support
1 "AT+CPROT=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
Checking for SYNCML/OBEX support
1 "AT+SYNCML=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
1 "AT$TSSPCSW=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
Setting date & time
1 "AT+CCLK="20/03/14,20:40:17-08""
2 "ERROR"
Checking line: ERROR
AT reply state: 3
Getting firmware versions
1 "AT+CGMR"
2 "21.751.23.00.00"
3 "OK"
Checking line: OK
AT reply state: 1
Received firmware version: "21.751.23.00.00"
Number version is "21.751230"
[Connected]
Entering GSM_SetIncomingUSSD
Enabling incoming USSD
1 "AT+CUSD=1"
2 "OK"
Checking line: OK
AT reply state: 1
Leaving GSM_SetIncomingUSSD
Entering GSM_DialService
1 "AT+CSCS="UCS2""
2 "OK"
Checking line: OK
AT reply state: 1
1 "AT+CSCS?"
2 "+CSCS: "UCS2""
3 "OK"
Checking line: OK
AT reply state: 1
1 "AT+CUSD=1,"002A003700370037002A00310023",15"
2 "OK"
Checking line: OK
AT reply state: 1
Leaving GSM_DialService
1 "+CUSD: 2"
Checking line: +CUSD: 2
AT reply state: 4
Incoming USSD received
Parsing +CUSD: 2
with +CUSD: @i @0
Parsed int 2
Status: 2
Parsing +CUSD: 2
with +CUSD: @i, @r, @i @0
Parsed int 2
Parsing +CUSD: 2
with +CUSD: @i, @s @0
Parsed int 2
UNKNOWN response. Please report the error, see <https://wammu.eu/support/bugs/>. Thank you
RECEIVED frame type 0x00/length 0xa/10
2B+|43C|55U|53S|44D|3A:|20 |322|0D |0A +CUSD: 2..
Entering GSM_SetIncomingUSSD
1 "AT+CSCS="GSM""
2 "OK"
Checking line: OK
AT reply state: 1
1 "AT+CSCS?"
2 "+CSCS: "GSM""
3 "OK"
Checking line: OK
AT reply state: 1
Terminating possible incoming USSD
1 "AT+CUSD=2"
2 "OK"
Checking line: OK
AT reply state: 1
Disabling incoming USSD
1 "AT+CUSD=0"
2 "OK"
Checking line: OK
AT reply state: 1
Leaving GSM_SetIncomingUSSD
[Terminating]
[Closing]
@programus
Copy link

Hello. I am considering to build a system to receive SMS from my raspberry PI and looking for USB dongle now. I just found a cheap HUAWEI MS2131i-8 and want to know whether it is supported by gammu. I am still not so familiar with gammu, does this log prove that it is not supported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment