CMS ERROR: 331 ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

CMS ERROR: 331 ?

Raphaël Droz
Seeing the previous thread, I just tried sending a hexa char using the -8
option of --sendsms.


Using a Sagem MyX-2, I used this :
$ echo $'\x10'|gnokii --sendsms -8 <number>

and got the following log :


> [...]
> PDU mode set
> Sending initial sequence
> Message sent: 0x67 / 0x000b
> 41 54 2b 43 4d 47 53 3d 31 35 0d                | AT+CMGS=15      
> write: [AT+CMGS=15<cr>]
> read : [AT+CMGS=15<cr><cr><lf>> ]
> Message received: 0x67 / 0x0010
> 01 41 54 2b 43 4d 47 53 3d 31 35 0d 0d 0a 3e 20 |  AT+CMGS=15   >
> Received message type 67
> Got response: No error.
> Sending frame: 07913396050096F511000B913366463413F400F4AA0110
> Message sent: 0x21 / 0x002f
> 30 37 39 31 33 33 39 36 30 35 30 30 39 36 46 35 | 07913396050096F5
> 31 31 30 30 30 42 39 31 33 33 36 36 34 36 33 34 | 11000B9133664634
> 31 33 46 34 30 30 46 34 41 41 30 31 31 30 1a    | 13F400F4AA0110  
> write: [07913396050096F511000B913366463413F400F4AA0110^Z]
> read : [^AK913396050096F511000B913366463413F400F4AA0110^Z<cr><lf>+CMS ERROR: 331<cr><lf>]
> Message received: 0x21 / 0x0043
> 04 01 4b 39 31 33 33 39 36 30 35 30 30 39 36 46 |   K913396050096F
> 35 31 31 30 30 30 42 39 31 33 33 36 36 34 36 33 | 511000B913366463
> 34 31 33 46 34 30 30 46 34 41 41 30 31 31 30 1a | 413F400F4AA0110
> 0d 0a 2b 43 4d 53 20 45 52 52 4f 52 3a 20 33 33 |   +CMS ERROR: 33
> 31 0d 0a                                        | 1              
> Received message type 21
> SMS Send failed (No Carrier error during data call setup?)
> device: closing device


could it be a phone issue ?
or is a carrier issue ?
or is a gnokii issue ?



best regards

_______________________________________________
gnokii-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/gnokii-users
Reply | Threaded
Open this post in threaded view
|

Re: CMS ERROR: 331 ?

Daniele Forsi-2
2014-02-19 23:11 GMT+01:00 Raphaël:

> Seeing the previous thread, I just tried sending a hexa char using the -8
> option of --sendsms.

regular SMS applications running in phones can't show 8 bit SMS in a
sensible way because they have no character encoding, they are just a
bunch of bytes, however you can be lucky and some phones might show
exactly what you sent while others might silently discard them (that's
what the standard says about unsupported features) or show something
like "Unreadable message"

> could it be a phone issue ?

no idea

> or is a carrier issue ?

a carrier in the sense of "GSM operator"? Maybe.
Recently some carriers started to filter SMS so that might be a reason

> or is a gnokii issue ?

if you can --savesms it and read it back, it'd say it's not a gnokii
issue (but gnokii could be broken in a symmetric way), also the --8bit
switch of command line gnokii was made for a specific application and
I guess only its author actually used it

--
Daniele Forsi

_______________________________________________
gnokii-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/gnokii-users