EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Replies / //Checking registration

//Checking registration

|

Miscellaneous › Others › Internet connectivity using GSM modem › //Checking registration

November 5, 2014 at 12:31 am #12336
Puneet
Participant

//Checking registration status…

AT+CREG?

+CREG: 0,1

OK

//The device is registered in home network.

//Checking if device is already connected…

AT+CGACT?

OK

AT+CMEE=1

OK

//Attaching to network…

AT+CGATT=1

OK

//Setting up APN for TCP connection…

AT+CSTT=”airtelgprs.com”

OK

//APN setup for TCP connection successful..

//Bring up GPRS Connection…

AT+CIICR

OK

//GPRS Connection bring up sucessful..

AT+CIFSR

100.68.167.226

AT+CIPSTART=”TCP”,”208.91.198.160″,”80″

OK

CONNECT OK

//TCP connection success

AT+CIPSEND

>

GET http://www.gpstest.embeddedhut.com/add.php?no=testdata

SEND OK

1

CLOSED

//TCP connection is closed by remote server

RSS Recent Posts

  • Do i need a buffer? February 7, 2026
  • FM Radio circuits February 7, 2026
  • wall transformer polarity February 7, 2026
  • To buy or DIY? February 7, 2026
  • engineering analysis of shmidth trigger without simulation February 6, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise