CMS Error 304

Added by stevensu almost 6 years ago

hi,
Pdu from demo core application.
0791263851000023317B0B818091122222F300000B251B1E559E0EB3373E10BD3CA783E6ED39C82C7FB741ED37B9DC06DDC3F6F2F8DD06

Pdu from your messagingToolkit.Pdu
079126385100002331000B818091122222F300000B1BF4F29C0E9AB7E720B3FCDD06B5DFE4721B740FDBCBE3771B

send with your messagingtoolikit.pdu return +CMS Error 304

Please guide me. Thank you

I use the wavecom modem model MULTIBAND 900E 1800


Replies (7)

RE: CMS Error 304 - Added by admin almost 6 years ago

Hi,

See below on the difference. The only difference i can see now is only the ref no

PDU LENGTH IS 55 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. : 123 (0x7B)

DESTINATION ADDRESS
NUMBER IS : 08192122223
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 : 37 septets
USER DATA (TEXT) : [Trial] test sms from modem wavecom


PDU LENGTH IS 46 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 : 08192122223
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 : 27 septets
USER DATA (TEXT) : test sms from modem wavecom

RE: CMS Error 304 - Added by stevensu almost 6 years ago

Hi, I have set the same message. But my pdu always failed. It return CMS Error. Here I attach my log and your log

GSM.log (633 Bytes)

messagingtoolkit_201105.log (3.2 kB)

RE: CMS Error 304 - Added by stevensu almost 6 years ago

0791263851000023*31000*B818091122222F300000B121B1E559E0EB3373ED0DA0D07B1DFE51F ===> CMS Error 304 Generate From pdu library
0791263851000023*31460*B818091122222F300000B121B1E559E0EB3373ED0DA0D07B1DFE51F ===> Success PDU Generate from core library

The Bold One is the different one.

RE: CMS Error 304 - Added by admin almost 6 years ago

Hi,

We can't seem to find anything wrong in the PDU.

Maybe could you check other configurations, e.g. have you set the modem to PDU mode, etc?

Thanks
Regards
admin

RE: CMS Error 304 - Added by stevensu almost 6 years ago

Hi,

I haven't get any solution why the modem cannot send message eventhough i use the success pdu. Here I attach my log and yours. Please help me to analyse why i get CMS Error 304. IF you have upgrade to .NET Fx 4.0, can i still get the .net 3.5 version of pdu libray. I haven't migrate all my system to .net 4.0

Thanks

RE: CMS Error 304 - Added by stevensu almost 6 years ago

Hello sir, Please help me with this issue. Only using this wavecom modem reply cms error 304.

Thanks.

RE: CMS Error 304 - Added by stevensu almost 6 years ago

I have find the solution. I use vbcrlf instead of vbcr. So the wavecom modem will return error cms 304 but others modem use vbcrlf success sending the message. Thans for your help.

Steven

(1-7/7)