Click here to Skip to main content
13,197,548 members (51,450 online)
Rate this:
Please Sign up or sign in to 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.

Vishavdeep Goyal
Posted 8-Jun-11 21:32pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
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.
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171020.1 | Last Updated 9 Jun 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100