Posted by: tonyteaching | May 31, 2009

2. Function for connecting GSM Modem/phone with PC

Here, I want to add function for connecting myGSM modem to my PC when I click the ‘Connect’ button.

The detailed scenario is below:

1. My application will try to connect to GSM modem through the port (here I use USB port as “COM3”) –> I have to define the set-up

2. Adding EventListener on the port so my GSM modem and my PC will be able to communicate using AT commands.

3. When my PC has been connected with my GSM modem, then my application will send some AT commands for

– checking incoming new messages (AT+SNMI=1,1,2,2,1)

– device brand (AT+CGMI)

– device type (AT+CGMM)

– IMEI number (AT+CGSN)

– Network provider (AT+COPS?)

– Checking the device is connected and ready for receiving AT command (ATH0)


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: