Hi all,

I'm trying to send an SMS with non-Latin chars using Sony Ericsson K610i, and 
I can't seem to send over 56 chars. This is the command I use:

http://localhost:15000/cgi-bin/sendsms?
username=tester&password=foobar&from=xxxx&to=yyyy&coding=2&text=%00%30%00%31...

 
My only option is to use coding=2 when I send non-Latin, correct? Just for 
testing, I'm sending the string 0123…90123…9… 
 
Debug output in bearerbox when sending 56 chars: 

2007-02-14 17:37:12 [4932] [6] DEBUG: AT2[CELL]: --> 
0011000C917952425684060008A770003000310032003300340035003600370038003900300
0310032003300340035003600370038003900300031003200330034003500360037003800390030
0031003200330034003500360037003800390030003100320 
033003400350036003700380039003000310032003300340035
2007-02-14 17:37:12 [4932] [6] DEBUG: AT2[CELL]: --> ^Z
2007-02-14 17:37:14 [4932] [6] DEBUG: AT2[CELL]: <-- >
2007-02-14 17:37:14 [4932] [6] DEBUG: AT2[CELL]: <-- +CMGS: 60
2007-02-14 17:37:14 [4932] [6] DEBUG: AT2[CELL]: <-- OK
2007-02-14 17:37:14 [4932] [6] DEBUG: AT2[CELL]: send command status: 0
 
Debug output in bearerbox when sending 57 chars:
 
2007-02-14 17:37:00 [4932] [6] DEBUG: AT2[CELL]: --> 
0011000C917952425684060008A772003000310032003300340035003600370038003900300
0310032003300340035003600370038003900300031003200330034003500360037003800390030
0031003200330034003500360037003800390030003100320 
0330034003500360037003800390030003100320033003400350036
2007-02-14 17:37:00 [4932] [6] ERROR: AT2[CELL]: Couldnot write to device.
2007-02-14 17:37:00 [4932] [6] ERROR: System error 13: Permission denied
2007-02-14 17:37:00 [4932] [6] DEBUG: AT2[CELL]: --> ^Z
2007-02-14 17:37:00 [4932] [6] DEBUG: AT2[CELL]: <-- >
2007-02-14 17:37:00 [4932] [6] DEBUG: AT2[CELL]: <-- +CMS ERROR: 304
2007-02-14 17:37:00 [4932] [6] ERROR: AT2[CELL]: CMS ERROR: +CMS ERROR: 304 
(Invalid PDU mode parameter)

No difference in the header except in last byte (data length): 70h = 112 = 
56*2, as opposed to 72h = 114 = 57*2. 

Another interesting thing is that the total number of bytes with 56 chars (inc 
header) is 127, and with 57 chars – 129 bytes. It is as if there is some 128 
byte limit somewhere… 
 
This is my 'modems' group in the .conf file: 
 
group = modems
id = sephone
name = "Sony Ericsson K610" 
detect-string = "Sony Ericsson K610"
need-sleep = true
init-string = "AT+CNMI=2,3,0,1,0"
 
Any ideas how to break the 56 char limit???

Btw, in the K610i spec, the limit is 240 chars (or 120 UCS2 chars). 
 
Thanks,
Sagi Mann



Reply via email to