Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hello Everyone,
I want some idea about to how will i start.Firstly like my computer is a server and their are so many clients.i have to establish a connection between client and server by means of their ipv4 and ipv6 address and port address of server. I have to make like if client get any email on his email id it will automatically send to client mobile phone in the desired format. I have to make this application in c sharp.
I am using wavecom gsm modem.
Thanx,

Regards,
Vishavdeep Goyal
Posted

1 solution

Use AT commands[^] to send and receive SMS via your Wavecom.

Remember that it is using a diffent encoding (GSM default alphabet (GSM 03.38)[^]) where something like sending a "@" char is encoded as 0x00.

Use AT+CSCS to set TE character set to support the correct encoding.
AT+CSCS=? to list all supported encodings. But please note, that not all GSM units/modem support all types of encoding.

To really make it the correct way. You have to switch SMS message format to PDU encoding via AT+CMGF command.
Via PDU format, you can select the correct encoding, make long SMS ( over 160 char ), sending pictures, ring tone etc..

Send and Read SMS through a GSM Modem using AT Commands[^]

On the email part. You can use IMAP4 to retrieve emails that has to be converted to a SMS/Text message and sent to the mobile phone.
Alternative you can build your own SMTP receiver and receive emails directly to your program.
 
Share this answer
 
Comments
Vishav.iit08 13-Jun-11 22:44pm    
Thanx For the Quick Reply........How i will implement the queue management.If u have can u plz. give me.Thnx.
Regards,
Vishavdeep Goyal
Kim Togo 14-Jun-11 5:03am    
The queue management can be handle in Queue<T> class or in a SQL database.
If you use a database, you can separate communication to Wavecom from the email handler.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900