CMS Error

Added by stevensu over 3 years ago

Hello sir,
how are you? I want to ask you three things.

1. I try the Wavecom fasttrack modem modem MULTIBAND 900E 1800. I send sms using your core application and it success. When i try to generate the pdu from your pdu library and send the message it return cms error 304.
Here is my pdu
079126385100002331000C8180137974558800000BA07710BD3CA783E6ED39281FF6F97C7710BD3CA783E6ED39281FF6F97C7710BD3CA783E6ED39281FF6F97C7710BD3CA783E6ED39281FF6F97C7710BD3CA783E6ED39281FF6F97C7710BD3CA783E6ED39281FF6F97C7710BD3CA783E6ED39281FF6F97C7710BD3CA783E6ED39281FF6F97C7710BD3CA783E6ED39281FF6F97C7710BD3CA783E6ED39281FF6F97C

and here is your pdu:
079126385100002371800C8180137974558800000BA0050003800201363CAA3C1D666F7CA03B885E9ED341F3F61C940FFB7CBE3B885E9ED341F3F61C940FFB7CBE3B885E9ED341F3F61C940FFB7CBE3B885E9ED341F3F61C940FFB7CBE3B885E9ED341F3F61C940FFB7CBE3B885E9ED341F3F61C940FFB7CBE3B885E9ED341F3F61C940FFB7CBE3B885E9ED341F3F61C940FFB7CBE3B885E9ED341F3F61C940FFB7C

2. I also tested on Huawei K3520. When i set the cnmi="2,1,0,2,0" or set the cnmi="2,1,0,1,0" and when the message received the modem does not return the +CMTI respons. So I try to use your core application and set Enable Message Indication to True. It also does not respons for the +CMTI. My question is the some modem also behaviour like this?

3. I also tested on siemen c55. When I set the cnmi="1,1,0,1,1" and after sending and recieved smn one time, the cnmi parameter value return to "1,0,0,0,1". Why it can happened like this?

Thank you


Replies (5)

RE: CMS Error - Added by admin over 3 years ago

Hi,

You can see the decoded PDU here.

Your PDU

PDU LENGTH IS 162 BYTES
ADDRESS OF DELIVERING SMSC
NUMBER IS : +628315000032
TYPE OF NR. : International
NPI : ISDN/Telephone (E.164/163)

MESSAGE HEADER FLAGS
MESSAGE TYPE : SMS SUBMIT
REJECT DUPLICATES : NO
VALIDITY PERIOD : RELATIVE
REPLY PATH : NO
USER DATA HEADER : NO UDH
REQ. STATUS REPORT : YES
MSG REFERENCE NR. : 0 (0x00)

DESTINATION ADDRESS
NUMBER IS : 083197475588
TYPE OF NR. : Unknown
NPI : ISDN/Telephone (E.164/163)

PROTOCOL IDENTIFIER (0x00)
MESSAGE ENTITIES : SME-to-SME
PROTOCOL USED : Implicit / SC-specific

DATA CODING SCHEME (0x00)
AUTO-DELETION : OFF
COMPRESSION : OFF
MESSAGE CLASS : NONE
ALPHABET USED : 7bit default

VALIDITY OF MESSAGE : 60 min

USER DATA PART OF SM
USER DATA LENGTH : 160 septets
USER DATA (TEXT) : w test sms ya>>>w test sms ya>>>w test
sms ya>>>w test sms ya>>>w test sms
ya>>>w test sms ya>>>w test sms ya>>>w
test sms ya>>>w test sms ya>>>w test
sms ya>>>

MessagingToolkit PDU

PDU LENGTH IS 162 BYTES
ADDRESS OF DELIVERING SMSC
NUMBER IS : +628315000032
TYPE OF NR. : International
NPI : ISDN/Telephone (E.164/163)

MESSAGE HEADER FLAGS
MESSAGE TYPE : SMS SUBMIT
REJECT DUPLICATES : NO
VALIDITY PERIOD : RELATIVE
REPLY PATH : NO
USER DATA HEADER : PRESENT
REQ. STATUS REPORT : YES
MSG REFERENCE NR. : 128 (0x80)

DESTINATION ADDRESS
NUMBER IS : 083197475588
TYPE OF NR. : Unknown
NPI : ISDN/Telephone (E.164/163)

PROTOCOL IDENTIFIER (0x00)
MESSAGE ENTITIES : SME-to-SME
PROTOCOL USED : Implicit / SC-specific

DATA CODING SCHEME (0x00)
AUTO-DELETION : OFF
COMPRESSION : OFF
MESSAGE CLASS : NONE
ALPHABET USED : 7bit default

VALIDITY OF MESSAGE : 60 min

USER DATA PART OF SM
USER DATA LENGTH : 160 septets
UDH LENGTH : 5 octets
UDH : 00 03 80 02 01
UDH ELEMENTS : 00 - SM concatenation 8bit ref.
3 (0x03) Bytes Information Element
128 : SM reference number
002 : number of messages
001 : this SM sequence number
USER DATA (TEXT) : [Trial] w test sms ya>>>w test sms
ya>>>w test sms ya>>>w test sms ya>>>w
test sms ya>>>w test sms ya>>>w test
sms ya>>>w test sms ya>>>w test sms
ya>>

Perhaps the message length is too long for your SMSC.

For issue 2 and 3, it depends on the modems. If you have the manuals of the modems, perhaps you can attach here for us to check.

Thanks
Regards
admin

RE: CMS Error - Added by stevensu over 3 years ago

I have no manual for both kind of modem. For my first issue. If i send a message that length about 10 character. It also failed. CMS Error 304. Do you have any reference of STK (Sim Toolkit) Command?

Thank you,

RE: CMS Error - Added by stevensu over 3 years ago

I have no manual for both kind of modem. For my first issue. If i send a message that length about 10 character. It also failed. CMS Error 304. Do you have any reference of STK (Sim Toolkit) Command?

Thank you,

RE: CMS Error - Added by stevensu over 3 years ago

I have no manual for both kind of modem. For my first issue. If i send a message that length about 10 character. It also failed. CMS Error 304. Do you have any reference of STK (Sim Toolkit) Command?

Thank you,

RE: CMS Error - Added by stevensu over 3 years ago

Sorry, I don't mean to spamming. When i submit, suddenly i saw there are 3 post by me.

(1-5/5)