HELP WITH SMS SEND | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through October 16, 2008 ⬆ |
◄ ► |
Author | Message | |||
Darien Alvarez de la Cruz New member Username: Darienalvarez Post Number: 4 Registered: 09-2008 |
I have a big problem with modems. I am developing an application to send and receive SMS messages. The application works fine but my problem is related to the time. I need to run my app continously 24 hours. It works ok but just few days after, the modem don´t work and not response to AT+CMGS=LENGTH PDU MESSAGE \u001A The modem not return OK but some times send the message. I think that i broken 3 modems but i can´t broke any more. I think that the problem is that i always have the COM port open just for increase performance. Question: 1- I need to close the port if it is inactive? 2- I need a proffesional modem or a Telephone can do the job (every day of the year 24 hours). 3- Continously test can broke the modem???? 4- I can know if the device is broken?? testing it by AT commands or ..... i don´t know. ----------------------------------------------------------------- I have a lot of problems to send sms continuosly..... this is my secuence of commands (i modified that reading the port to see what commands send the NOWSMS) AT AT&FE0V1X1&D2&C1S0=0 (I don´t know the meaning of this command) ATS0=0 ATE0V1 AT+CSMS=0 AT+CMGF=0 AT+CMGS=LENGTH OF PDU (this command some times response "" NOTING, I check if response OK or response <cr> in this case it works but if the comand response VOID i have nothing to do ...... my idea was send AT+CSMS=0, AT+CMGF=0 and if that commands response OK try to send AT+CMGS=LENGTH OF PDU again) if i receive and ">" then send the pdu ........................ ctrl+z WHAT CAN I DO???, this happens only some times i dont know why.......... If i have many messages in queue I only do: AT+CMGS=LENGTH OF PDU pdu ........................ ctrl+z AT+CMGS=LENGTH OF PDU pdu ........................ ctrl+z AT+CMGS=LENGTH OF PDU pdu ........................ ctrl+z I need to send another command beetwen each SEND????? Maybe something like ....... AT+CMGS=LENGTH OF PDU pdu ........................ ctrl+z ATZ AT+CMGF=0 AT+CMGS=LENGTH OF PDU pdu ........................ ctrl+z Include a reception sequence like this can cause PROBLEMS???? AT+CMGS=LENGTH OF PDU pdu ........................ ctrl+z AT+CPMS=ME (for example) AT+CMGL=4 AT+CMGS=LENGTH OF PDU pdu ........................ ctrl+z Please help me, thanks in advance. |