electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

How to send Data with GPRS - information, schematic


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> How to send Data with GPRS - information, schematic
Author Message
mpch_elec



Joined: 22 Jul 2009
Posts: 24
Location: Tehran,Iran


Post19 Aug 2009 8:41   

GPRS


How to send Data with GPRS...
Back to top
doraemon



Joined: 21 Jun 2009
Posts: 141
Helped: 17
Location: Japan


Post19 Aug 2009 8:51   

Re: GPRS


Hello!

Is this a question?
If it is, you should specify which GPRS you use (maker), give a pointer to its
datasheet, etc...
But it might be faster to read the datasheet yourself.

Dora.

mpch_elec wrote:
How to send Data with GPRS...
Back to top
GSM Man



Joined: 15 Apr 2009
Posts: 357
Helped: 46
Location: New Jersey, USA


Post19 Aug 2009 13:45   

Re: GPRS


The following shows how to make a GPRS connection - in the example below '>>' indicates data you send to the module, while'<<' indicates data returned from the module. First you need to open a PDP context.
Code:

>> AT+CGATT=1   - Attach to GPRS Service
<< OK

>> AT+CGDCONT=1,"IP","wap.cingular"   - Define PDP Context (cid, PDP type, APN)
<< OK

>> AT+CDNSCFG="208.67.222.222","208.67.220.220" - Configure Domain Name Server (primary DNS, secondary DNS)
<< OK

>> AT+CSTT="wap.cingular","wap(at)cingulargprs.com","cingular1" - Start Task & set APN, User ID, and password
<< OK

>> AT+CIICR     - Bring up wireless connection with GPRS - THIS MAY TAKE A WHILE
<< OK

>> AT+CIFSR      - Get Local IP address
<< 10.190.245.172   - returns IP address assigned to your module
<< OK

>> AT+CIPSTATUS      - Get Connection Status
<< OK
<< STATE: IP STATUS   - returns status of connection, needs to be 'IP STATUS' before you can connect to a server



After you have a context, you need to make a connection to the server and then send your data.
Code:

>> AT+CIPHEAD=1      - Tells module to add an 'IP Header' to receive data
<< OK

>> AT+CDNSORIP=1   - Indicates whether connection request will be IP address (0), or domain name (1)
<< OK

>> AT+CIPSTART="TCP","www.google.com","80" - Start up TCP connection (mode, IP address/name, port)
<< OK
<< CONNECT OK      - Indicates you've connected to the server - IT MAKE TAKE A WHILE FOR THIS TO BE RETURNED

>> AT+CIPSEND      - Issue Send Command
<< >                   - wait for module to return'>' to indicate it's ready to receive data
>> GET / HTTP/1.1   - Send data - this example is an HTTP request for the default page
>> Host: www.google.com
>> Connection: Keep-Alive
>> Accept: */*
>> Accept-Language: en-us
>>
<< data from server returned - Server will return data here
Back to top
Google
AdSense
Google Adsense




Post19 Aug 2009 13:45   

Ads




Back to top
mpch_elec



Joined: 22 Jul 2009
Posts: 24
Location: Tehran,Iran


Post20 Aug 2009 6:10   

GPRS


Hi,Dears
I'm using Mc39i SIEMENS GSM module.
I read the datasheet of mc39i.The Datasheet don't have any Example for Sendig data with GPRS.
I use ATD*99# and similar Command for connecting to gprs,
This is my AT command and mc39i response:

ATD*99#

CONNECT
~ }#A!}!}#} }9}"}&} }*} } }'}"}(}"}%}&?$??}#}%A#}%EO~~ }#A!}!}#} }9}"}&} }*} } }
'}"}(}"}%}&?$??}#}%A#}%EO~~ }#A!}!}#} }9}"}&} }*} } }'}"}(}"}%}&?$??}#}%A#}%EO~~
}#A!}!}#} }9}"}&} }*} } }'}"}(}"}%}&?$??}#}%A#}%EO~~ }#A!}!}#} }9}"}&} }*} } }'
}"}(}"}%}&?$??}#}%A#}%EO~~ }#A!}!}#} }9}"}&} }*} } }'}"}(}"}%}&?$??}#}%A#}%EO~~
}#A!}!}#} }9}"}&} }*} } }'}"}(}"}%}&?$??}#}%A#}%EO~~ }#A!}!}#} }9}"}&} }*} } }'}
"}(}"}%}&?$??}#}%A#}%EO~~ }#A!}!}#} }9}"}&} }*} } }'}"}(}"}%}&?$??}#}%A#}%EO~~ }
#A!}!}#} }9}"}&} }*} } }'}"}(}"}%}&?$??}#}%A#}%EO~
NO CARRIER


I don't know when i shoud send my data...

please help me thanks.

Added after 6 minutes:

Please read last reply of topic then download the mc39i datasheet
thanks.



Sorry, but you need login in to view this attachment

Back to top
GSM Man



Joined: 15 Apr 2009
Posts: 357
Helped: 46
Location: New Jersey, USA


Post20 Aug 2009 6:56   

Re: GPRS


See if this document helps you: http://www.gprsmodems.co.uk/images/gprs_startup_v0400.pdf
Back to top
mpch_elec



Joined: 22 Jul 2009
Posts: 24
Location: Tehran,Iran


Post20 Aug 2009 10:06   

Re: GPRS


Dear Gsm Man;
Thanks for document that send for me,
but i want to test sending data with GPRS by PC then Implemention it on the 8051 micro proccessor.
so your document can't help me in this session.
Thanks again for your document because It increase My public information about GPRS system.
Back to top
mpch_elec



Joined: 22 Jul 2009
Posts: 24
Location: Tehran,Iran


Post22 Aug 2009 9:31   

Re: GPRS


hi friends,
who send data via gprs befor this????
i'm completely mixed up...
Please help me...
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> How to send Data with GPRS - information, schematic
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
hOW SEND DATA THROUGH gprs (4)
How to send data using GPRS modem (2)
Send gps data through gprs (10)
Need to send data to GPRS module configured as server (3)
how gsm modem send data on static ip send detail procedure p (1)
how to realize the send data with arbitrary interval in UART (2)
how i can send information ? (6)
How to get Picture from camera and send(GPRS) to Server? (6)
how to send data to Microcontroller??? (5)
How to send data using MS Comm? (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS