Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#2.0 C#3.0 C# C#4.0
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 8-Jun-11 22:32pm

1 solution

Rate this: bad
good
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.
  Permalink  
Comments
Vishav.iit08 at 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 at 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
0 OriginalGriff 195
1 ProgramFOX 130
2 Maciej Los 105
3 Sergey Alexandrovich Kryukov 105
4 Afzaal Ahmad Zeeshan 82
0 OriginalGriff 6,564
1 Sergey Alexandrovich Kryukov 6,048
2 DamithSL 5,228
3 Manas Bhardwaj 4,717
4 Maciej Los 4,150


Advertise | Privacy | Mobile
Web04 | 2.8.1411022.1 | Last Updated 9 Jun 2011
Copyright © CodeProject, 1999-2014
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