Cms Error 304 Invalid Pdu Mode Parameter
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn +cms error: 305 more about Stack Overflow the company Business Learn more about hiring developers or cms error 500 posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community
Cms Error 111
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Sending sms in pdu mod gets cms error 304 up
Cms Error 330
vote 0 down vote favorite I'm trying to send sms using huawei e173 gsm modem. Everything works fine in text mode, but I can't figure out how to send sms in pdu mode. I have tried to send simple message that will say "hellohello". This is my message format in Qt designer (which is irrelevant for this subject, I'm having problems with error 304 - invalid PDU mode at+cmgs error parameter): QByteArray PDUtext; PDUtext[0] = 0x00; PDUtext[1] = 0x11; PDUtext[2] = 0x00; PDUtext[3] = 0x0b; // Phone number length PDUtext[4] = 0x91; // International //Phone: +381 600123456 (83 61 00 21 43 65) PDUtext[5] = 0x83; PDUtext[6] = 0x61; PDUtext[7] = 0x00; PDUtext[8] = 0x21; PDUtext[9] = 0x43; PDUtext[10] = 0x65; PDUtext[11] = 0x00; PDUtext[12] = 0x00; PDUtext[13] = 0xaa; // 4 days validity period //E8 32 9B FD 46 97 D9 EC 37 PDUtext[14] = 0x0a; // Message length // Message "hellohello" PDUtext[15] = 0xe8; PDUtext[16] = 0x32; PDUtext[17] = 0x9b; PDUtext[18] = 0xfd; PDUtext[19] = 0x46; PDUtext[20] = 0x97; PDUtext[20] = 0xd9; PDUtext[20] = 0xec; PDUtext[20] = 0x37; What is wrong with this message? Commands look like this: AT+CMGF=0
Danish English at+cmgf=1 error French German German (Informal) Italian Portuguese (Brazil) Swedish Turkish Unread posts http://stackoverflow.com/questions/22834538/sending-sms-in-pdu-mod-gets-cms-error-304 Unreplied threads Threads of the last 24 hours Advanced Search Advanced Search Round Solutions M2M and wireless Support Forum Forumwcf.header.menu.pageMenuItem6 The http://www.roundsolutions.com/forum/index.php?page=Thread&threadID=1898 link you are trying to reach is no longer available or is invalid. Help Legal Notice Terms of use Change style Round Solutions WoltLab Basic WoltLab Blue Sunrise Change style ----------------------- Round Solutions WoltLab Basic WoltLab Blue Sunrise Thursday, October 6th 2016, 5:04am Go to the top of the page Forum Software: Burning Board 3.1.8, developed by WoltLab GmbH Remember me?
User Data Header Additional information: Version history (3.x) Hardware compatibility Status monitor, Statistics file Event handler, Alarm handler Blacklist and Whitelist Support: Frequently asked questions SMSTools3 Community Get SMS Server Tools 3: http://smstools3.kekekasvi.com/topic.php?id=103 Download Sponsored links Search Custom Search Visitor locations SMS Server Tools 3 Community Welcome, Guest. Please login or register. Thu Oct 06, 2016 03:04 LoginRegisterSearchActiveTopicsTermsofUseContactAdmin • SMSTools3 Community » Help and support http://www.developershome.com/sms/resultCodes2.asp Bottom [answered] Motorola KRZR K1 and +CMS ERROR: 304 This topic is locked Page: 1 Author Post passi Bottom #1 Wed Jul 29, 2009 07:11, 87 months ago. Member Registered:Jul 2009 Posts: cms error 6 Location: Germany Hi all,I've try sms server tools on Suse Linix SLES 9 and use my handphone Motorola KRZR K1 as modem (connected it to PC using its USB cable). SMS Server Tools 3.15The installation and configuration was ok. But when I try to send a SMS to another handphone I got "+CMS ERROR: 304 (Invalid PDU mode parameter)" error.But sometimes (very rar) smstools3 can send cms error 304 sms successfully.My config # Example smsd.conf. Read the manual for a description devices = GSM1 logfile = /var/log/smsd.log loglevel = 7 sent = /var/spool/sms/sent errorsleeptime = 5 blocktime = 60 blockafter = 15 hangup_incoming_call = yes [GSM1] #device = /dev/ttyS0 device = /dev/ttyACM0 init = AT+CMGL #init2 = AT+CSQ incoming = no pin = 1234 cs_convert = yes mode = new #baudrate = 115200 rtscts = no read_timeout = 10 [ Select ] [ Expand ]Lof file looks like this:2009-07-28 17:13:11,2, smsd: Running as root:root. 2009-07-28 17:13:11,7, smsd: Running startup_check (shell): /tmp/smsd_script.HmBgR8 /tmp/smsd_data.CTk8i4 2009-07-28 17:13:11,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 2009-07-28 17:13:11,4, smsd: File mode creation mask: 022 (0644, rw-r--r--). 2009-07-28 17:13:11,5, smsd: Outgoing file checker has started. PID: 9125. 2009-07-28 17:13:11,5, GSM1: Modem handler 0 has started. PID: 9127. Will only send messages. 2009-07-28 17:13:11,5, GSM1: Using check_memory_method 1: CPMS is used. 2009-07-28 17:13:11,5, GSM1: Using read_timeout 10 seconds. 2009-07-28 17:13:11,6, GSM1: Checking if modem is ready 2009-07-28 17:13:11,7, GSM1: -> AT 2009-07-28 17:13:11,7, GSM1: Command is sent, waiting for the answer 2009-07-28 17:13:21,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1. 2009-07-28 17:13:21,7, GSM1: <- 2009-07-28 17:13:22,7, GSM1: -> ^Z
commands. It notifies you about the occurrence of a message service failure. 16.2.1. The +CMS ERROR Final Result Code -- Notifies the Occurrences and Causes of Message Service Failures The +CMS ERROR final result code is returned when a message service failure occurs. An error code is provided for programmers to check what causes the message service failure. The +CMS ERROR final result code is specific to SMS AT commands, i.e. the +CMS ERROR final result code will only be outputted by AT commands that are used to perform tasks related to SMS messaging. Below are the SMS AT commands that may output the final result code +CMS ERROR: +CMGC (command name in text: Send Command) +CMGD (command name in text: Delete Message) +CMGL (command name in text: List Messages) +CMGR (command name in text: Read Message) +CMGS (command name in text: Sending Message) +CMGW (command name in text: Write Message to Memory) +CMSS (command name in text: Send Message from Storage) +CNMA (command name in text: New Message Acknowledgement to ME/TA) +CNMI (command name in text: New Message Indications to TE) +CPMS (command name in text: Preferred Message Storage) +CRES (command name in text: Restore Settings) +CSAS (command name in text: Save Settings) +CSMS (command name in text: Select Message Service) The syntax of the +CMS ERROR final result code is: