Sms-in .in format

Sms-in .in format SearchSearch
Author Message
Anonymous
 
Posted on Wednesday, October 27, 2004 - 06:36 pm:   

what is the actual format of .in that we have to create if we want to send file to the sms-in directory for nowsms to process? or its the .sms file we must create?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3671
Registered: 10-2002
Posted on Wednesday, October 27, 2004 - 07:31 pm:   

I don't have any documentation on that file format. However, it is relatively straight-forward.

A file in that directory with a ".in" extension is waiting to be processed by a 2-way command. A file that has a ".sms" extension has been processed, and there were no matching 2-way commands.

The file is a text file, in an ".ini" file format. A typical file looks like this:

[SMS-IN]
ModemName=Bluetooth Modem
Sender=+99999999999
PhoneNumber=+999999999
Data=This is a test message to myself
Binary=0

"Sender" has the sender address. "PhoneNumber" has the recipient address (for GSM modem, this value is set explicitly in the properties for the GSM modem definition).

If Binary=0, then "Data" contains the text of the message.

If Binary=1, then "Data" contains a hex string with the message content ... and "UDH", "DCS" and "PID" values might also be present.