AT Command

AT Command SearchSearch
Author Message
Fabricio
New member
Username: Fabri

Post Number: 6
Registered: 11-2003
Posted on Wednesday, December 03, 2003 - 07:36 pm:   

Bruce,
What is the process used by NowSMS Gateway to check the SMS received in the GSM mobile?
I noticed that there is a file [directory SMS-IN] with the text, PID, etc.. of the the SMS received...
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1305
Registered: 10-2002
Posted on Friday, December 05, 2003 - 08:30 pm:   

Fabricio,

In case I did not answer your question below, can you clarify what part of the process you are interested in?

Our general procedure is that we do queue received messages into the SMS-IN subdirectory.

When 2-way commands are active, the messages are decoded by a separate thread which calls the 2-way commands with the received message data. (This way, message sending/receiving is not blocked while 2-way commands are being run.)

-bn
Fabricio
New member
Username: Fabri

Post Number: 7
Registered: 11-2003
Posted on Friday, December 05, 2003 - 11:18 pm:   

Bryce,

I know there are AT commands that we can send to the mobile in order to "program" the mobile to send the SMS received to the TE. It happens that my mobile doesn't support that specific AT command. So my question, is about the process of tranfering the SMS from the Mobile to the directory: Is it something like the AT command? Is the program that continuosly check the sms received in the mobile? What protocol is used in this case?

What you mean by 2-way commands?

I hope you understand my questions
Thanks.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1326
Registered: 10-2002
Posted on Tuesday, December 09, 2003 - 07:12 pm:   

Fabricio,

Many modems don't support the command to route received messages to the TE. (Or when they do, they only forward some messages to the TE. For example, the Sierra Wireless Aircard only forwards binary messages directly to TE, and it stores text messages on the SIM.)

Off the top of the head, I don't recall the exact command that is used for polling.

By "2-way" commands I am referring to the "2-way" page of the NowSMS configuration dialog. When commands are configured there, instead of just writing the received SMS messages to the SMS-IN directory, NowSMS parses the received messages and calls a configurable HTTP script or command line executable to process the message.

-bn