gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SMSD long messages problem - "too long" smses actually "NOT too long"


From: RAFFAELLO CASSETTA
Subject: SMSD long messages problem - "too long" smses actually "NOT too long"
Date: Tue, 10 Oct 2006 17:11:39 +0200

Kind members,
 
here is my intallation:
gnokii 0.6.14
smsd 1.4-cvs (supplied with 0.6.14)
 
I'm using the FILE module for sending smses.
 
The file is built in the following way:
phonenumber
message text
 
The "message text" part never exceedes 157
characters in lenght, but smsd founds it "too long"
and splits it up in more messages.
Smsd reads 312 characters!
 
Here is the output with only relevant parts:
 

41 54 2b 43 53 43 41 3f 0d | AT+CSCA?

write: [AT+CSCA?<cr>]

read : [AT+CSCA?<cr><cr><lf>+CSCA: "+393492000200",145<cr><lf><cr><lf>OK<cr><lf>]

Message received: 0x23 / 0x002d

02 41 54 2b 43 53 43 41 3f 0d 0d 0a 2b 43 53 43 | AT+CSCA? +CSC

41 3a 20 22 2b 33 39 33 34 39 32 30 30 30 32 30 | A: "+39349200020

30 22 2c 31 34 35 0d 0a 0d 0a 4f 4b 0d | 0",145 OK

Received message type 23

General Data Coding

dcs: 0x8

Length: 0x138

user_data_length: 0x138

ValidityIndicator: 2

user_data: 0053007400610076006F006C0074006100200063006500720063006800690061006D006F0020006400690020006600610072006500200031002000700072006F007600610020006D006F006C0074006F0020002B0020006C0075006E00670061002000640065006C00200070007200650076006900730074006F002C00200063006F007300EC0020006600610063006300690061006D006F00200061006E006400610072006500200069006E002000740069006C007400200069006C002000730069007300740065006D0061002E0020005300700065007200690061006D006F002C00200063006F007300EC00200070006F00690020006D00650020006E00650020007600610064006F0020006E0065006C006C00610020006D0069006100200063002D002000410064006D0069006E002D004E004F0041

SMS is too long? 312

Will need 3 sms-es

Sending sms #0

24

Adding ConcatMsg header

General Data Coding

dcs: 0x8

Length: 0x36

user_data_length: 0x36

ValidityIndicator: 2

user_data: 050003CE03010053007400610076006F006C0074006100200063006500720063006800690061006D006F002000640069002000660061

Sending

Message sent: 0x63 / 0x000a

41 54 2b 43 4d 47 46 3d 30 0d | AT+CMGF=0

write: [AT+CMGF=0<cr>]

read : [AT+CMGF=0<cr><cr><lf>OK<cr><lf>]

Message received: 0x63 / 0x0010

02 41 54 2b 43 4d 47 46 3d 30 0d 0d 0a 4f 4b 0d | AT+CMGF=0 OK

Received message type 63

PDU mode set

Sending initial sequence

Message sent: 0x64 / 0x000b

41 54 2b 43 4d 47 53 3d 36 38 0d | AT+CMGS=68

write: [AT+CMGS=68<cr>]

read : [AT+CMGS=68<cr><cr><lf>> ]

Message received: 0x64 / 0x000f

01 41 54 2b 43 4d 47 53 3d 36 38 0d 0d 0a 3e | AT+CMGS=68 >

Received message type 64

Got response 0

Sending frame: 079193432900200051000C919323796872050008AA36050003CE03010053007400610076006F006C0074006100200063006500720063006800690061006D006F002000640069002000660061

Message sent: 0x21 / 0x0099

30 37 39 31 39 33 34 33 32 39 30 30 32 30 30 30 | 0791934329002000

35 31 30 30 30 43 39 31 39 33 32 33 37 39 36 38 | 51000C9193237968

37 32 30 35 30 30 30 38 41 41 33 36 30 35 30 30 | 72050008AA360500

30 33 43 45 30 33 30 31 30 30 35 33 30 30 37 34 | 03CE030100530074

30 30 36 31 30 30 37 36 30 30 36 46 30 30 36 43 | 00610076006F006C

30 30 37 34 30 30 36 31 30 30 32 30 30 30 36 33 | 0074006100200063

30 30 36 35 30 30 37 32 30 30 36 33 30 30 36 38 | 0065007200630068

30 30 36 39 30 30 36 31 30 30 36 44 30 30 36 46 | 00690061006D006F

30 30 32 30 30 30 36 34 30 30 36 39 30 30 32 30 | 0020006400690020

30 30 36 36 30 30 36 31 1a | 00660061

write: [079193432900200051000C919323796872050008AA36050003CE03010053007400610076006F006C0074006100200063006500720063006800690061006D006F002000640069002000660061^Z]

read : [079193432900200051000C919323796872050008AA36050003CE03010053007400610076006F006C0074006100200063006500720063006800690061006D006F002000640069002000660061^Z<cr><lf>+CMGS: 179<cr><lf><cr><lf>OK<cr><lf>]

Message received: 0x21 / 0x00ad

02 30 37 39 31 39 33 34 33 32 39 30 30 32 30 30 | 079193432900200

30 35 31 30 30 30 43 39 31 39 33 32 33 37 39 36 | 051000C919323796

38 37 32 30 35 30 30 30 38 41 41 33 36 30 35 30 | 872050008AA36050

30 30 33 43 45 30 33 30 31 30 30 35 33 30 30 37 | 003CE03010053007

34 30 30 36 31 30 30 37 36 30 30 36 46 30 30 36 | 400610076006F006

43 30 30 37 34 30 30 36 31 30 30 32 30 30 30 36 | C007400610020006

33 30 30 36 35 30 30 37 32 30 30 36 33 30 30 36 | 3006500720063006

38 30 30 36 39 30 30 36 31 30 30 36 44 30 30 36 | 800690061006D006

46 30 30 32 30 30 30 36 34 30 30 36 39 30 30 32 | F002000640069002

30 30 30 36 36 30 30 36 31 1a 0d 0a 2b 43 4d 47 | 000660061 +CMG

53 3a 20 31 37 39 0d 0a 0d 0a 4f 4b 0d | S: 179 OK

Received message type 21

Message sent okay

Sending sms #1

67

Adding ConcatMsg header

General Data Coding

dcs: 0x8

Length: 0x8a

user_data_length: 0x8a

ValidityIndicator: 2

user_data: 050003CE03020072006500200031002000700072006F007600610020006D006F006C0074006F0020002B0020006C0075006E00670061002000640065006C00200070007200650076006900730074006F002C00200063006F007300EC0020006600610063006300690061006D006F00200061006E006400610072006500200069006E002000740069006C

Sending

Message sent: 0x63 / 0x000a

41 54 2b 43 4d 47 46 3d 30 0d | AT+CMGF=0

write: [AT+CMGF=0<cr>]

read : [AT+CMGF=0<cr><cr><lf>OK<cr><lf>]

Message received: 0x63 / 0x0010

02 41 54 2b 43 4d 47 46 3d 30 0d 0d 0a 4f 4b 0d | AT+CMGF=0 OK

Received message type 63

PDU mode set

Sending initial sequence

Message sent: 0x64 / 0x000c

41 54 2b 43 4d 47 53 3d 31 35 32 0d | AT+CMGS=152

write: [AT+CMGS=152<cr>]

read : [AT+CMGS=152<cr><cr><lf>> ]

Message received: 0x64 / 0x0010

01 41 54 2b 43 4d 47 53 3d 31 35 32 0d 0d 0a 3e | AT+CMGS=152 >

Received message type 64

Got response 0

Sending frame: 079193432900200051000C919323796872050008AA8A050003CE03020072006500200031002000700072006F007600610020006D006F006C0074006F0020002B0020006C0075006E00670061002000640065006C00200070007200650076006900730074006F002C00200063006F007300EC0020006600610063006300690061006D006F00200061006E006400610072006500200069006E002000740069006C

Message sent: 0x21 / 0x0141

30 37 39 31 39 33 34 33 32 39 30 30 32 30 30 30 | 0791934329002000

35 31 30 30 30 43 39 31 39 33 32 33 37 39 36 38 | 51000C9193237968

37 32 30 35 30 30 30 38 41 41 38 41 30 35 30 30 | 72050008AA8A0500

30 33 43 45 30 33 30 32 30 30 37 32 30 30 36 35 | 03CE030200720065

30 30 32 30 30 30 33 31 30 30 32 30 30 30 37 30 | 0020003100200070

30 30 37 32 30 30 36 46 30 30 37 36 30 30 36 31 | 0072006F00760061

30 30 32 30 30 30 36 44 30 30 36 46 30 30 36 43 | 0020006D006F006C

30 30 37 34 30 30 36 46 30 30 32 30 30 30 32 42 | 0074006F0020002B

30 30 32 30 30 30 36 43 30 30 37 35 30 30 36 45 | 0020006C0075006E

30 30 36 37 30 30 36 31 30 30 32 30 30 30 36 34 | 0067006100200064

30 30 36 35 30 30 36 43 30 30 32 30 30 30 37 30 | 0065006C00200070

30 30 37 32 30 30 36 35 30 30 37 36 30 30 36 39 | 0072006500760069

30 30 37 33 30 30 37 34 30 30 36 46 30 30 32 43 | 00730074006F002C

30 30 32 30 30 30 36 33 30 30 36 46 30 30 37 33 | 00200063006F0073

30 30 45 43 30 30 32 30 30 30 36 36 30 30 36 31 | 00EC002000660061

30 30 36 33 30 30 36 33 30 30 36 39 30 30 36 31 | 0063006300690061

30 30 36 44 30 30 36 46 30 30 32 30 30 30 36 31 | 006D006F00200061

30 30 36 45 30 30 36 34 30 30 36 31 30 30 37 32 | 006E006400610072

30 30 36 35 30 30 32 30 30 30 36 39 30 30 36 45 | 006500200069006E

30 30 32 30 30 30 37 34 30 30 36 39 30 30 36 43 | 002000740069006C

1a |

write: [079193432900200051000C919323796872050008AA8A050003CE03020072006500200031002000700072006F007600610020006D006F006C0074006F0020002B0020006C0075006E00670061002000640065006C00200070007200650076006900730074006F002C00200063006F007300EC0020006600610063006300690061006D006F00200061006E006400610072006500200069006E002000740069006C^Z]

read : [079193432900200051000C919323796872050008AA8A050003CE03020072006500200031002000700072006F007600610020006D006F006C0074006F0020002B0020006C0075006E00670061002000640065006C00200070007200650076006900730074006F002C00200063006F007300EC0020006600610063006300690061006D006F00200061006E006400610072006500200069006E002000740069006C^Z<cr><lf>+CMGS: 180<cr><lf><cr><lf>OK<cr><lf>]

Message received: 0x21 / 0x0155

02 30 37 39 31 39 33 34 33 32 39 30 30 32 30 30 | 079193432900200

30 35 31 30 30 30 43 39 31 39 33 32 33 37 39 36 | 051000C919323796

38 37 32 30 35 30 30 30 38 41 41 38 41 30 35 30 | 872050008AA8A050

30 30 33 43 45 30 33 30 32 30 30 37 32 30 30 36 | 003CE03020072006

35 30 30 32 30 30 30 33 31 30 30 32 30 30 30 37 | 5002000310020007

30 30 30 37 32 30 30 36 46 30 30 37 36 30 30 36 | 00072006F0076006

31 30 30 32 30 30 30 36 44 30 30 36 46 30 30 36 | 10020006D006F006

43 30 30 37 34 30 30 36 46 30 30 32 30 30 30 32 | C0074006F0020002

42 30 30 32 30 30 30 36 43 30 30 37 35 30 30 36 | B0020006C0075006

45 30 30 36 37 30 30 36 31 30 30 32 30 30 30 36 | E006700610020006

34 30 30 36 35 30 30 36 43 30 30 32 30 30 30 37 | 40065006C0020007

30 30 30 37 32 30 30 36 35 30 30 37 36 30 30 36 | 0007200650076006

39 30 30 37 33 30 30 37 34 30 30 36 46 30 30 32 | 900730074006F002

43 30 30 32 30 30 30 36 33 30 30 36 46 30 30 37 | C00200063006F007

33 30 30 45 43 30 30 32 30 30 30 36 36 30 30 36 | 300EC00200066006

31 30 30 36 33 30 30 36 33 30 30 36 39 30 30 36 | 1006300630069006

31 30 30 36 44 30 30 36 46 30 30 32 30 30 30 36 | 1006D006F0020006

31 30 30 36 45 30 30 36 34 30 30 36 31 30 30 37 | 1006E00640061007

32 30 30 36 35 30 30 32 30 30 30 36 39 30 30 36 | 2006500200069006

45 30 30 32 30 30 30 37 34 30 30 36 39 30 30 36 | E002000740069006

43 1a 0d 0a 2b 43 4d 47 53 3a 20 31 38 30 0d 0a | C +CMGS: 180

0d 0a 4f 4b 0d | OK

Received message type 21

Message sent okay

Sending sms #2

67

Adding ConcatMsg header

General Data Coding

dcs: 0x8

Length: 0x8a

user_data_length: 0x8a

ValidityIndicator: 2

user_data: 050003CE0303007400200069006C002000730069007300740065006D0061002E0020005300700065007200690061006D006F002C00200063006F007300EC00200070006F00690020006D00650020006E00650020007600610064006F0020006E0065006C006C00610020006D0069006100200063002D002000410064006D0069006E002D004E004F0041

Sending

Message sent: 0x63 / 0x000a

41 54 2b 43 4d 47 46 3d 30 0d | AT+CMGF=0

write: [AT+CMGF=0<cr>]

read : [AT+CMGF=0<cr><cr><lf>OK<cr><lf>]

Message received: 0x63 / 0x0010

02 41 54 2b 43 4d 47 46 3d 30 0d 0d 0a 4f 4b 0d | AT+CMGF=0 OK

Received message type 63

PDU mode set

Sending initial sequence

Message sent: 0x64 / 0x000c

41 54 2b 43 4d 47 53 3d 31 35 32 0d | AT+CMGS=152

write: [AT+CMGS=152<cr>]

read : [AT+CMGS=152<cr><cr><lf>> ]

Message received: 0x64 / 0x0010

01 41 54 2b 43 4d 47 53 3d 31 35 32 0d 0d 0a 3e | AT+CMGS=152 >

Received message type 64

Got response 0

Sending frame: 079193432900200051000C919323796872050008AA8A050003CE0303007400200069006C002000730069007300740065006D0061002E0020005300700065007200690061006D006F002C00200063006F007300EC00200070006F00690020006D00650020006E00650020007600610064006F0020006E0065006C006C00610020006D0069006100200063002D002000410064006D0069006E002D004E004F0041

Message sent: 0x21 / 0x0141

30 37 39 31 39 33 34 33 32 39 30 30 32 30 30 30 | 0791934329002000

35 31 30 30 30 43 39 31 39 33 32 33 37 39 36 38 | 51000C9193237968

37 32 30 35 30 30 30 38 41 41 38 41 30 35 30 30 | 72050008AA8A0500

30 33 43 45 30 33 30 33 30 30 37 34 30 30 32 30 | 03CE030300740020

30 30 36 39 30 30 36 43 30 30 32 30 30 30 37 33 | 0069006C00200073

30 30 36 39 30 30 37 33 30 30 37 34 30 30 36 35 | 0069007300740065

30 30 36 44 30 30 36 31 30 30 32 45 30 30 32 30 | 006D0061002E0020

30 30 35 33 30 30 37 30 30 30 36 35 30 30 37 32 | 0053007000650072

30 30 36 39 30 30 36 31 30 30 36 44 30 30 36 46 | 00690061006D006F

30 30 32 43 30 30 32 30 30 30 36 33 30 30 36 46 | 002C00200063006F

30 30 37 33 30 30 45 43 30 30 32 30 30 30 37 30 | 007300EC00200070

30 30 36 46 30 30 36 39 30 30 32 30 30 30 36 44 | 006F00690020006D

30 30 36 35 30 30 32 30 30 30 36 45 30 30 36 35 | 00650020006E0065

30 30 32 30 30 30 37 36 30 30 36 31 30 30 36 34 | 0020007600610064

30 30 36 46 30 30 32 30 30 30 36 45 30 30 36 35 | 006F0020006E0065

30 30 36 43 30 30 36 43 30 30 36 31 30 30 32 30 | 006C006C00610020

30 30 36 44 30 30 36 39 30 30 36 31 30 30 32 30 | 006D006900610020

30 30 36 33 30 30 32 44 30 30 32 30 30 30 34 31 | 0063002D00200041

30 30 36 34 30 30 36 44 30 30 36 39 30 30 36 45 | 0064006D0069006E

30 30 32 44 30 30 34 45 30 30 34 46 30 30 34 31 | 002D004E004F0041

1a |

write: [079193432900200051000C919323796872050008AA8A050003CE0303007400200069006C002000730069007300740065006D0061002E0020005300700065007200690061006D006F002C00200063006F007300EC00200070006F00690020006D00650020006E00650020007600610064006F0020006E0065006C006C00610020006D0069006100200063002D002000410064006D0069006E002D004E004F0041^Z]

read : [079193432900200051000C919323796872050008AA8A050003CE0303007400200069006C002000730069007300740065006D0061002E0020005300700065007200690061006D006F002C00200063006F007300EC00200070006F00690020006D00650020006E00650020007600610064006F0020006E0065006C006C00610020006D0069006100200063002D002000410064006D0069006E002D004E004F0041^Z<cr><lf>+CMGS: 181<cr><lf><cr><lf>OK<cr><lf>]

Message received: 0x21 / 0x0155

02 30 37 39 31 39 33 34 33 32 39 30 30 32 30 30 | 079193432900200

30 35 31 30 30 30 43 39 31 39 33 32 33 37 39 36 | 051000C919323796

38 37 32 30 35 30 30 30 38 41 41 38 41 30 35 30 | 872050008AA8A050

30 30 33 43 45 30 33 30 33 30 30 37 34 30 30 32 | 003CE03030074002

30 30 30 36 39 30 30 36 43 30 30 32 30 30 30 37 | 00069006C0020007

33 30 30 36 39 30 30 37 33 30 30 37 34 30 30 36 | 3006900730074006

35 30 30 36 44 30 30 36 31 30 30 32 45 30 30 32 | 5006D0061002E002

30 30 30 35 33 30 30 37 30 30 30 36 35 30 30 37 | 0005300700065007

32 30 30 36 39 30 30 36 31 30 30 36 44 30 30 36 | 200690061006D006

46 30 30 32 43 30 30 32 30 30 30 36 33 30 30 36 | F002C00200063006

46 30 30 37 33 30 30 45 43 30 30 32 30 30 30 37 | F007300EC0020007

30 30 30 36 46 30 30 36 39 30 30 32 30 30 30 36 | 0006F00690020006

44 30 30 36 35 30 30 32 30 30 30 36 45 30 30 36 | D00650020006E006

35 30 30 32 30 30 30 37 36 30 30 36 31 30 30 36 | 5002000760061006

34 30 30 36 46 30 30 32 30 30 30 36 45 30 30 36 | 4006F0020006E006

35 30 30 36 43 30 30 36 43 30 30 36 31 30 30 32 | 5006C006C0061002

30 30 30 36 44 30 30 36 39 30 30 36 31 30 30 32 | 0006D00690061002

30 30 30 36 33 30 30 32 44 30 30 32 30 30 30 34 | 00063002D0020004

31 30 30 36 34 30 30 36 44 30 30 36 39 30 30 36 | 10064006D0069006

45 30 30 32 44 30 30 34 45 30 30 34 46 30 30 34 | E002D004E004F004

31 1a 0d 0a 2b 43 4d 47 53 3a 20 31 38 31 0d 0a | 1 +CMGS: 181

0d 0a 4f 4b 0d | OK

Received message type 21

Message sent okay

Message sent: 0x12 / 0x0009

41 54 2b 43 50 4d 53 3f 0d | AT+CPMS?

write: [AT+CPMS?<cr>]

read : [AT+CPMS?<cr><cr><lf>+CPMS: "SM",0,30,"SM",0,30<cr><lf><cr><lf>OK<cr><lf>]

Message received: 0x12 / 0x002d

02 41 54 2b 43 50 4d 53 3f 0d 0d 0a 2b 43 50 4d | AT+CPMS? +CPM

53 3a 20 22 53 4d 22 2c 30 2c 33 30 2c 22 53 4d | S: "SM",0,30,"SM

22 2c 30 2c 33 30 0d 0a 0d 0a 4f 4b 0d | ",0,30 OK

Received message type 12

Message sent: 0x12 / 0x0009

 

Thank you for your kind support

Regards

Raffaello


reply via email to

[Prev in Thread] Current Thread [Next in Thread]