Strange issue with Gammu/Gammu-smsd
Dinesh Shah (દિનેશ શાહ/दिनेश शाह <dineshah <at> gmail.com>
2012-02-05 19:34:09 GMT
Hello List,
I am using Gammu/Gammu-smsd to send messages.
I have two systems and one USB Modem. My gammu version is 1.31.0
compiled from sources.
One system is Debian Sid where I face strange issues with
gammu/gammu-smsd. I have attached the log for this named
"gammu-device.log".
On this system Gammu hangs after sending the message (message gets
delivered). However, smsd complaints about SMSC number, though the
same is present on the device.
Another system is Ubuntu 11.04 where I can send message with Gammu and
Gammu-smsd without error. However, I never get the delivery report in
smsd (I have tried both settings sms/log) attached logfile is
"gammu-1.31.0.log"
$ gammu identify
Device : /dev/ttyUSB1
Manufacturer : HSPA CORPORATION
Model : unknown (HSPA MODEM)
Firmware : BD_ZGDP679M1V1.0.0B01
$ lsusb
Bus 001 Device 006: ID 19d2:0108 ONDA Communication S.p.A
Please let me know if you need any more inputs.
TIA for your help and pointers.
With regards,
--
--Dinesh Shah
Shah Micro System Pvt. Ltd.
+91-98213-11906
+91-9833-TICKET
http://www.shahmicro.com
http://iopt.in
http://crm.iopt.in
Blog: http://dineshah.wordpress.com
[Gammu - 1.31.0 built 21:22:07 Feb 5 2012 using GCC 4.6]
[Connection - "at115200"]
[Connection index - 0]
[Model type - ""]
[Device - "/dev/ttyUSB1"]
[Running on - Linux, kernel 3.2.0-1-amd64 (#1 SMP Wed Feb 1 08:56:58 UTC 2012)]
Locking device
Serial device: DTR is up, RTS is up, CAR is down, CTS is down
Setting speed to 115200
[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 "HSPA CORPORATION"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x22/34
41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |48H|53S|50P|41A|20 |43C AT+CGMI...HSPA C
4FO|52R|50P|4FO|52R|41A|54T|49I|4FO|4EN|0D |0A |0D |0A |4FO|4BK ORPORATION....OK
0D |0A ..
Manufacturer info received
[Manufacturer: HSPA CORPORATION]
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D AT+CSCS=?.
1 "AT+CSCS=?"
2 "+CSCS: ("IRA","GSM","UCS2")"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x2F/47
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D |0D |0A |2B+|43C|53S|43C AT+CSCS=?...+CSC
53S|3A:|20 |28(|22"|49I|52R|41A|22"|2C,|22"|47G|53S|4DM|22"|2C, S: ("IRA","GSM",
22"|55U|43C|53S|322|22"|29)|0D |0A |0D |0A |4FO|4BK|0D |0A "UCS2")....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 "HSPA MODEM"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1C/28
41A|54T|2B+|43C|47G|4DM|4DM|0D |0D |0A |48H|53S|50P|41A|20 |4DM AT+CGMM...HSPA M
4FO|44D|45E|4DM|0D |0A |0D |0A |4FO|4BK|0D |0A ODEM....OK..
Unknown model, but it should still work
[Model name: `HSPA MODEM']
[Model data: `']
[Model data: `unknown']
[Connected model - "HSPA MODEM"]
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=?.
1 "AT+SYNCML=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x15/21
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D |0D |0A |45E|52R AT+SYNCML=?...ER
52R|4FO|52R|0D |0A ROR..
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..
[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?.
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 "HSPA CORPORATION"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x22/34
41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |48H|53S|50P|41A|20 |43C AT+CGMI...HSPA C
4FO|52R|50P|4FO|52R|41A|54T|49I|4FO|4EN|0D |0A |0D |0A |4FO|4BK ORPORATION....OK
0D |0A ..
Manufacturer info received
[Manufacturer: HSPA CORPORATION]
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D AT+CSCS=?.
1 "AT+CSCS=?"
2 "+CSCS: ("IRA","GSM","UCS2")"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x2F/47
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D |0D |0A |2B+|43C|53S|43C AT+CSCS=?...+CSC
53S|3A:|20 |28(|22"|49I|52R|41A|22"|2C,|22"|47G|53S|4DM|22"|2C, S: ("IRA","GSM",
22"|55U|43C|53S|322|22"|29)|0D |0A |0D |0A |4FO|4BK|0D |0A "UCS2")....OK..
Chosen GSM as normal charset
Chosen UCS2 as unicode charset
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=?.
1 "AT+SYNCML=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x15/21
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D |0D |0A |45E|52R AT+SYNCML=?...ER
52R|4FO|52R|0D |0A ROR..
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..
Setting date & time
SENDING frametype 0x00/length 0x1F/31
41A|54T|2B+|43C|43C|4CL|4BK|3D=|22"|311|322|2F/|300|322|2F/|300 AT+CCLK="12/02/0
366|2C,|300|300|3A:|311|322|3A:|300|355|2B+|300|300|22"|0D 6,00:12:05+00".
1 "AT+CCLK="12/02/06,00:12:05+00""
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x25/37
41A|54T|2B+|43C|43C|4CL|4BK|3D=|22"|311|322|2F/|300|322|2F/|300 AT+CCLK="12/02/0
366|2C,|300|300|3A:|311|322|3A:|300|355|2B+|300|300|22"|0D |0D 6,00:12:05+00"..
0A |4FO|4BK|0D |0A .OK..
Getting firmware versions
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|52R|0D AT+CGMR.
1 "AT+CGMR"
2 "BD_ZGDP679M1V1.0.0B01"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x27/39
41A|54T|2B+|43C|47G|4DM|52R|0D |0D |0A |42B|44D|5F_|5AZ|47G|44D AT+CGMR...BD_ZGD
50P|366|377|399|4DM|311|56V|311|2E.|300|2E.|300|42B|300|311|0D P679M1V1.0.0B01.
0A |0D |0A |4FO|4BK|0D |0A ...OK..
Received firmware version: "BD_ZGDP679M1V1.0.0B01"
Number version is "67911.000100"
[Firmware version - "BD_ZGDP679M1V1.0.0B01"]
[Connected]
Checking used: UDH len 0, UsedBytes 0, FreeText 160, UsedText 0, FreeBytes 140
Adding text
Copy 160 (max 7)
Defalt text, length 7 7
Text added
Checking at the end: UDH len 0, UsedBytes 7, FreeText 153, UsedText 7, FreeBytes 133
7 7
Entering GSM_GetSMSC
Getting SMSC
SENDING frametype 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|41A|3F?|0D AT+CSCA?.
1 "AT+CSCA?"
2 "+CSCA: "+919820005444",145"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x2D/45
41A|54T|2B+|43C|53S|43C|41A|3F?|0D |0D |0A |2B+|43C|53S|43C|41A AT+CSCA?...+CSCA
3A:|20 |22"|2B+|399|311|399|388|322|300|300|300|355|344|344|344 : "+919820005444
22"|2C,|311|344|355|0D |0A |0D |0A |4FO|4BK|0D |0A ",145....OK..
SMSC info received
Parsing +CSCA: "+919820005444",145 with +CSCA: @p, @i
Grabbed string from reply: "+919820005444" (parsed 15 bytes)
Parsed phone string "+919820005444"
2B+|399|311|399|388|322|300|300|300|355|344|344|344 +919820005444
00 |2B+|00 |399|00 |311|00 |399|00 |388|00 |322|00 |300|00 |300 .+.9.1.9.8.2.0.0
00 |300|00 |355|00 |344|00 |344|00 |344 .0.5.4.4.4
Phone string decoded as "+919820005444"
Parsed int 145
Leaving GSM_GetSMSC
Entering GSM_SendSMS
Trying SMS PDU mode
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|4DM|47G|46F|3D=|300|0D AT+CMGF=0.
1 "AT+CMGF=0"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x10/16
41A|54T|2B+|43C|4DM|47G|46F|3D=|300|0D |0D |0A |4FO|4BK|0D |0A AT+CMGF=0...OK..
SMS Submit
Recipient number "9821311906"
SMSC number "+919820005444"
SMS class -1
SMS validity ff
TPMR: 00 0
00 |54T|00 |65e|00 |73s|00 |74t|00 |20 |00 |311|00 |377 .T.e.s.t. .1.7
54T|65e|73s|74t|20 |311|377 Test 17
7 bit SMS, length 7, 7
Test 17
Waiting for modem prompt
SENDING frametype 0x00/length 0x0B/11
41A|54T|2B+|43C|4DM|47G|53S|3D=|322|300|0D AT+CMGS=20.
1 "AT+CMGS=20"
2 "> "
Checking line: >
AT reply state: 7
RECEIVED frametype 0x00/length 0x0F/15
41A|54T|2B+|43C|4DM|47G|53S|3D=|322|300|0D |0D |0A |3E>|20 AT+CMGS=20...>
Sending SMS
SENDING frametype 0x00/length 0x38/56
300|377|399|311|311|399|388|399|300|322|300|300|344|355|344|344 0791198902004544
333|311|300|300|300|41A|388|311|388|399|311|322|311|333|399|311 31000A8189121391
366|300|300|300|300|300|46F|46F|300|377|44D|344|46F|322|399|43C 600000FF07D4F29C
300|45E|388|41A|44D|44D|300|300 0E8ADD00
SENDING frametype 0x00/length 0x01/1
1A .
Leaving GSM_SendSMS
[Gammu - 1.31.0 built 19:01:53 Jan 20 2012 using GCC 4.5]
[Connection - "at115200"]
[Connection index - 0]
[Model type - ""]
[Device - "/dev/ttyUSB1"]
[Running on - Linux, kernel 2.6.38-13-generic (#54-Ubuntu SMP Tue Jan 3 13:44:52 UTC 2012)]
Locking device
Serial device: DTR is up, RTS is up, CAR is down, CTS is down
Setting speed to 115200
[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 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x04/4
4FO|4BK|0D |0A OK..
Enabling echo
SENDING frametype 0x00/length 0x05/5
41A|54T|45E|311|0D ATE1.
1 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x04/4
4FO|4BK|0D |0A 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: "IRA""
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"|49I|52R|41A|22"|0D |0A |0D |0A |4FO|4BK|0D |0A : "IRA"....OK..
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|49I|0D AT+CGMI.
1 "AT+CGMI"
2 "HSPA CORPORATION"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x22/34
41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |48H|53S|50P|41A|20 |43C AT+CGMI...HSPA C
4FO|52R|50P|4FO|52R|41A|54T|49I|4FO|4EN|0D |0A |0D |0A |4FO|4BK ORPORATION....OK
0D |0A ..
Manufacturer info received
[Manufacturer: HSPA CORPORATION]
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D AT+CSCS=?.
1 "AT+CSCS=?"
2 "+CSCS: ("IRA","GSM","UCS2")"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x2F/47
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D |0D |0A |2B+|43C|53S|43C AT+CSCS=?...+CSC
53S|3A:|20 |28(|22"|49I|52R|41A|22"|2C,|22"|47G|53S|4DM|22"|2C, S: ("IRA","GSM",
22"|55U|43C|53S|322|22"|29)|0D |0A |0D |0A |4FO|4BK|0D |0A "UCS2")....OK..
Chosen GSM as normal charset
Chosen UCS2 as unicode charset
SENDING frametype 0x00/length 0x0E/14
41A|54T|2B+|43C|53S|43C|53S|3D=|22"|47G|53S|4DM|22"|0D AT+CSCS="GSM".
1 "AT+CSCS="GSM""
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x14/20
41A|54T|2B+|43C|53S|43C|53S|3D=|22"|47G|53S|4DM|22"|0D |0D |0A AT+CSCS="GSM"...
4FO|4BK|0D |0A 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..
Getting model
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|4DM|0D AT+CGMM.
1 "AT+CGMM"
2 "HSPA MODEM"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1C/28
41A|54T|2B+|43C|47G|4DM|4DM|0D |0D |0A |48H|53S|50P|41A|20 |4DM AT+CGMM...HSPA M
4FO|44D|45E|4DM|0D |0A |0D |0A |4FO|4BK|0D |0A ODEM....OK..
Unknown model, but it should still work
[Model name: `HSPA MODEM']
[Model data: `']
[Model data: `unknown']
[Connected model - "HSPA MODEM"]
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=?.
1 "AT+SYNCML=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x15/21
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D |0D |0A |45E|52R AT+SYNCML=?...ER
52R|4FO|52R|0D |0A ROR..
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..
[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?.
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 "HSPA CORPORATION"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x22/34
41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |48H|53S|50P|41A|20 |43C AT+CGMI...HSPA C
4FO|52R|50P|4FO|52R|41A|54T|49I|4FO|4EN|0D |0A |0D |0A |4FO|4BK ORPORATION....OK
0D |0A ..
Manufacturer info received
[Manufacturer: HSPA CORPORATION]
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D AT+CSCS=?.
1 "AT+CSCS=?"
2 "+CSCS: ("IRA","GSM","UCS2")"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x2F/47
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D |0D |0A |2B+|43C|53S|43C AT+CSCS=?...+CSC
53S|3A:|20 |28(|22"|49I|52R|41A|22"|2C,|22"|47G|53S|4DM|22"|2C, S: ("IRA","GSM",
22"|55U|43C|53S|322|22"|29)|0D |0A |0D |0A |4FO|4BK|0D |0A "UCS2")....OK..
Chosen GSM as normal charset
Chosen UCS2 as unicode charset
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=?.
1 "AT+SYNCML=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x15/21
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D |0D |0A |45E|52R AT+SYNCML=?...ER
52R|4FO|52R|0D |0A ROR..
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..
Setting date & time
SENDING frametype 0x00/length 0x1F/31
41A|54T|2B+|43C|43C|4CL|4BK|3D=|22"|311|322|2F/|300|322|2F/|300 AT+CCLK="12/02/0
366|2C,|300|300|3A:|322|344|3A:|300|366|2B+|300|300|22"|0D 6,00:24:06+00".
1 "AT+CCLK="12/02/06,00:24:06+00""
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x25/37
41A|54T|2B+|43C|43C|4CL|4BK|3D=|22"|311|322|2F/|300|322|2F/|300 AT+CCLK="12/02/0
366|2C,|300|300|3A:|322|344|3A:|300|366|2B+|300|300|22"|0D |0D 6,00:24:06+00"..
0A |4FO|4BK|0D |0A .OK..
Getting firmware versions
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|52R|0D AT+CGMR.
1 "AT+CGMR"
2 "BD_ZGDP679M1V1.0.0B01"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x27/39
41A|54T|2B+|43C|47G|4DM|52R|0D |0D |0A |42B|44D|5F_|5AZ|47G|44D AT+CGMR...BD_ZGD
50P|366|377|399|4DM|311|56V|311|2E.|300|2E.|300|42B|300|311|0D P679M1V1.0.0B01.
0A |0D |0A |4FO|4BK|0D |0A ...OK..
Received firmware version: "BD_ZGDP679M1V1.0.0B01"
Number version is "67911.000100"
[Firmware version - "BD_ZGDP679M1V1.0.0B01"]
[Connected]
Checking used: UDH len 0, UsedBytes 0, FreeText 160, UsedText 0, FreeBytes 140
Adding text
Copy 160 (max 7)
Defalt text, length 7 7
Text added
Checking at the end: UDH len 0, UsedBytes 7, FreeText 153, UsedText 7, FreeBytes 133
7 7
Entering GSM_GetSMSC
Getting SMSC
SENDING frametype 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|41A|3F?|0D AT+CSCA?.
1 "AT+CSCA?"
2 "+CSCA: "+919820005444",145"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x2D/45
41A|54T|2B+|43C|53S|43C|41A|3F?|0D |0D |0A |2B+|43C|53S|43C|41A AT+CSCA?...+CSCA
3A:|20 |22"|2B+|399|311|399|388|322|300|300|300|355|344|344|344 : "+919820005444
22"|2C,|311|344|355|0D |0A |0D |0A |4FO|4BK|0D |0A ",145....OK..
SMSC info received
Parsing +CSCA: "+919820005444",145 with +CSCA: @p, @i
Grabbed string from reply: "+919820005444" (parsed 15 bytes)
Parsed phone string "+919820005444"
2B+|399|311|399|388|322|300|300|300|355|344|344|344 +919820005444
00 |2B+|00 |399|00 |311|00 |399|00 |388|00 |322|00 |300|00 |300 .+.9.1.9.8.2.0.0
00 |300|00 |355|00 |344|00 |344|00 |344 .0.5.4.4.4
Phone string decoded as "+919820005444"
Parsed int 145
Leaving GSM_GetSMSC
Entering GSM_SendSMS
Trying SMS PDU mode
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|4DM|47G|46F|3D=|300|0D AT+CMGF=0.
1 "AT+CMGF=0"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x10/16
41A|54T|2B+|43C|4DM|47G|46F|3D=|300|0D |0D |0A |4FO|4BK|0D |0A AT+CMGF=0...OK..
SMS Submit
Recipient number "9821311906"
SMSC number "+919820005444"
SMS class -1
SMS validity ff
TPMR: 00 0
00 |54T|00 |65e|00 |73s|00 |74t|00 |20 |00 |311|00 |377 .T.e.s.t. .1.7
54T|65e|73s|74t|20 |311|377 Test 17
7 bit SMS, length 7, 7
Test 17
Waiting for modem prompt
SENDING frametype 0x00/length 0x0B/11
41A|54T|2B+|43C|4DM|47G|53S|3D=|322|300|0D AT+CMGS=20.
1 "AT+CMGS=20"
2 "> "
Checking line: >
AT reply state: 7
RECEIVED frametype 0x00/length 0x0F/15
41A|54T|2B+|43C|4DM|47G|53S|3D=|322|300|0D |0D |0A |3E>|20 AT+CMGS=20...>
Sending SMS
SENDING frametype 0x00/length 0x38/56
300|377|399|311|311|399|388|399|300|322|300|300|344|355|344|344 0791198902004544
333|311|300|300|300|41A|388|311|388|399|311|322|311|333|399|311 31000A8189121391
366|300|300|300|300|300|46F|46F|300|377|44D|344|46F|322|399|43C 600000FF07D4F29C
300|45E|388|41A|44D|44D|300|300 0E8ADD00
SENDING frametype 0x00/length 0x01/1
1A .
Leaving GSM_SendSMS
1 "AT+CMGS=20"
2 "> 079119890200454431000A8189121391600000FF07D4F29C0E8ADD00"
3 "+CMGS: 31"
4 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x5C/92
41A|54T|2B+|43C|4DM|47G|53S|3D=|322|300|0D |0D |0A |3E>|20 |300 AT+CMGS=20...> 0
377|399|311|311|399|388|399|300|322|300|300|344|355|344|344|333 7911989020045443
311|300|300|300|41A|388|311|388|399|311|322|311|333|399|311|366 1000A81891213916
300|300|300|300|300|46F|46F|300|377|44D|344|46F|322|399|43C|300 00000FF07D4F29C0
45E|388|41A|44D|44D|300|300|0D |0A |0D |0A |2B+|43C|4DM|47G|53S E8ADD00....+CMGS
3A:|20 |333|311|0D |0A |0D |0A |4FO|4BK|0D |0A : 31....OK..
SMS sent OK
Parsing +CMGS: 31 with +CMGS: @i
Parsed int 31
Sent SMS on device: "/dev/ttyUSB1"
[Terminating]
[Closing]
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users