Thanks for your replay. I set my SMSC in the code and I get the same error. I used a wabbase pdu encode / decoder and the pdu is not the same.
________________________________ From: Thanasis <[email protected]> To: SMSLib User Group <[email protected]> Sent: Thursday, June 18, 2009 3:47:49 AM Subject: [smslib] Re: IP Modem Gateway +CMS ERROR: 304 Invalid PDU mode parameter Hi, Try to set the SMSC number yourself and see if this is the cause of the 304 error. On Jun 17, 6:17 pm, sbyrdsell <[email protected]> wrote: > I changed from a MultiTech USB F4 to an IP Modem and now I'm getting > +CMS ERROR: 304 when sending SMS. > Also I need help accessing the IP Modem to run AT commands? I know the > IP and the port but I can’t telnet or ZTerm to connect it. > > Thanks > Stan > > LOG: > Version: 3.3.3 > JRE Version: 1.5.0_16 > JRE Impl Version: 1.5.0_16-133 > O/S: Mac OS X / i386 / 10.5.6 > > Gateway Id: * > Encoding: 7-bit > Date: Tue Jun 16 21:46:01 EDT 2009 > SMSC Ref No: > Recipient: 14074853403 > Dispatch Date: null > Message Status: UNSENT > Validity Period (Hours): -1 > Status Report: false > Source / Destination Ports: -1 / -1 > Flash SMS: false > Text: This is a test from the server! > PDU data: 54747A0E4ACF416110BD3CA783CCF2771B44479741F3B2DC5E968700 > > << SmsSubmitPdu >> > Raw Pdu: > 0011000B814170843504F30000FF1F54747A0E4ACF416110BD3CA783CCF2771B44479741F3B > 2DC5E968700 > > SMSC Address: [Length: 0 octets] > First Octet: 11 [TP-MTI: (SMS-SUBMIT), TP-RD: (allow duplicates), TP- > VPF: (validity format, integer, TP-SRR: (No Status Report), TP-UDHI: > (no UDH)] > Message Reference: 00 > Destination Address: [Length: 11 (0B), Type: 81 (10000001), Address: > 14074853403] > TP-PID: 00 (00000000) > TP-DCS: 00 (7-bit GSM Alphabet) (00000000) > TP-VPF: 10584 hours > > User Data Length: 31 (1F) septets > User Data (pdu) : > 54747A0E4ACF416110BD3CA783CCF2771B44479741F3B2DC5E968700 > User Data (decoded): [This is a test from the server!] > ================================================= > > 06/16/09 09:46:04 DEBUG smslib:77 - GTW: modem1: Sending Pdu: > 0011000B814170843504F30000FF1F54747A0E4ACF416110BD3CA783CCF2771B44479741F3B > 2DC5E968700 > 06/16/09 09:46:04 DEBUG smslib:77 - GTW: modem1: SEND :AT+CMGS=42(cr) > 06/16/09 09:46:04 DEBUG smslib:77 - GTW: modem1: clearBuffer() called. > 06/16/09 09:46:05 DEBUG smslib:77 - GTW: modem1: SEND : > 0011000B814170843504F30000FF1F54747A0E4ACF416110BD3CA783CCF2771B44479741F3B > 2DC5E968700 > 06/16/09 09:46:06 DEBUG smslib:77 - GTW: modem1: BUFFER: +CMS ERROR: > 304 > 06/16/09 09:46:06 DEBUG smslib:77 - GTW: modem1: RECV :+CMS ERROR: 304 > (cr) > 06/16/09 09:46:06 WARN smslib:70 - GTW: modem1: CMS Error 304: > Retrying... > 06/16/09 09:46:09 DEBUG smslib:77 - GTW: modem1: SEND :AT+CMGS=42(cr) > 06/16/09 09:46:09 DEBUG smslib:77 - GTW: modem1: clearBuffer() called. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib User Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/SMSLib?hl=en -~----------~----~----~----~------~----~------~--~---
