Thursday, March 20, 2014

TCP communication over GPRS modem


The following section will explain you the step wise procedure to treat SIM300/SIM900 GPRS modem as a TCP client and send the data to server.prerequisites: SIM300/SIM900 GPRS modem with simcard and TCP server with which you want to establish a connection.
Use the Following AT commands sequentially to get appropriate response.
(The correct response for the respective commands is shown by commented text).

1. AT

//OK

2. AT+CREG?

//+CREG: 0,1

//OK

Description: This command is used for simcard registration.

If you are unable to get proper response for it just check out the input supply voltage of modem or change the simcard and try again.

3. AT+CGATT?

//+CGATT: 1

//OK

Description: This command is used to get the GPRS status.

If you are getting the response as shown above then your GPRS is active

If you are getting +CGATT: 0 then GPRS is inactive.

4. AT+CSTT=”APN”,”username”,”password”

//OK

Description: This command is used to set APN.

APN is provided by simcard manufacturer which is available on internet.

e.g. AT+CGATT=”INTERNET”  (Internet is the APN for idea simcard)

5. AT+CIICR

//OK

Description: This command is used to bring up wireless connection with GPRS

6. AT+CIFSR

//IP (e.g. 153.45.78.2)

Description: This command is used to get local IP Address

7. AT+CIPSTART=”TCP”,”IP”,”PORT”

//OK

//CONNECT OK

Description: This command is used to establish TCP connection with the provided ip address and port.

e.g.  AT+CIPSTART=”TCP”,”192.168.1.35”,”2500”

After connection is establish you will get the above response and you are free to send the data to server.

you can use below commands to send the data to server:

AT+CIPSEND

// >

provide data here after ‘>’ response and press ctrl+z.

or you can use AT+CIPSEND=DataLength for known data length.

e.g AT+CIPSEND=4

ABCD/r/n (No need to provide ctrl+z in this case.)

Note: Use /r/n ( carriage return and new ling) casing after writing each command to the serial port in your code.

e.g AT/r/n.

Thursday, June 24, 2010

NAT:- Network address translation

In computer networking, network address translation (NAT) is the process of modifying network address information in datagram (IP) packet headers while in transit across a traffic routing device for the purpose of remapping one IP address space into another.

Most often today, NAT is used in conjunction with network masquerading (or IP masquerading) which is a technique that hides an entire IP address space, usually consisting of private network IP addresses, behind a single IP address in another, often public address space. This mechanism is implemented in a routing device that uses stateful translation tables to map the "hidden" addresses into a single IP address and then readdresses the outgoing Internet Protocol (IP) packets on exit so that they appear to originate from the router. In the reverse communications path, responses are mapped back to the originating IP address using the rules ("state") stored in the translation tables. The translation table rules established in this fashion are flushed after a short period without new traffic refreshing their state.

As described, the method enables communication through the router only when the conversation originates in the masqueraded network, since this establishes the translation tables. For example, a web browser in the masqueraded network can browse a website outside, but a web browser outside could not browse a web site in the masqueraded network. However, most NAT devices today allow the network administrator to configure translation table entries for permanent use. This feature is often referred to as "static NAT" or port forwarding and allows traffic originating in the 'outside' network to reach designated hosts in the masqueraded network.

Sunday, March 28, 2010

Gobi™ - Global Mobile Internet Technology


The World is Your Hotspot™








Of all the things that your notebook computer does, connecting to the Internet – simply and reliably – is among the most important. Gobi™ is the first embedded mobile wireless solution designed to put an end to connectivity limitations. With Gobi, the notebook computer becomes the unifying agent between the different high speed wireless networking technologies deployed around the world and that means freedom from having to locate hotspots, more choice in carrier networks, and, ultimately, freedom to Gobi where you want without fear of losing connectivity – your lifeline to your world.
Would you like your notebook to provide a choice of wireless network carriers and global connectivity possibilities? No matter where you travel?
Notebooks featuring the multi-mode Gobi solution can take advantage of the high-speed mobile Internet services offered by leading network operators in virtually all parts of the world, as well as GPS. The Gobi solution is meeting the demand from leading notebook manufacturers for worldwide connectivity capabilities beyond Wi-Fi and is being certified to operate on 3G networks worldwide. What does this mean for you? With your Gobi notebook you'll have mobile Internet access wherever you can make a mobile phone call. Regardless of where you go, you'll have global connectivity – even international travel is no longer a problem with Gobi. Searching for Wi-Fi hotspots will be a thing of the past when you have Gobi built in to your notebook. And, Gobi enables popular location-based services delivered via GPS, such as driving directions, asset tracking, anti-theft, and enhanced commerce when you're on the road.

Benefits

  • Removes complex technology decision process – end users can use their favorite carrier to connect wherever life takes them
  • Provides global connectivity for the end user
  • Simplifies notebook supply chain logistics with a single global SKU that supports many different geographies, technologies, and carriers
  • Optimizes battery, radio, and throughput performance

Technical Features

  • Integrated GPS functionality that allows deployment of location-based services while concurrently operating with other data modes
  • Integrated mobile reception diversity for much improved performance and better, faster connections
  • Integrated power management system
  • Major RF bands and GPS functionality all on one chipset

Sunday, February 28, 2010

High-Speed Packet Access (HSPA+ )


HSPA+, also known as Evolved High-Speed Packet Access is a wireless broadband standard defined in 3GPP release 7.
HSPA+ provides HSPA data rates up to 56 Mbit/s on the downlink and 22 Mbit/s on the uplink withMIMO technologies and higher order modulation (64QAM). MIMO on CDMA based systems acts like virtual sectors to give extra capacity closer to the mast. The 56Mbit/s and 22Mbit/s represent theoretical peak sector speeds. The actual speed for a user will be lower. At cell edge and even at half the distance to the cell edge there may only be slight increase compared with 14.4 Mbit/s HSDPA unless a wider channel than 5 MHz is used. Future revisions of HSPA+ support up to 168Mbps using multiple carriers[1].
HSPA+ also introduces an optional all-IP architecture for the network where base stations are directly connected to IP based backhaul and then to the ISP's edge routers. The technology also delivers significant battery life improvements and dramatically quicker wake-from-idle time - delivering a true always-on connection. HSPA+ should not be confused with LTE, which uses a new air interface.

                               Mobile telephony and mobile telecommunications standards



An all-IP architecture is an option within HSPA+. Base stations connect to the network via standard gigabit Ethernet to the ISP's edge routers connected to the internet or other ISP via peering arrangements. This makes the network faster, cheaper to deploy and operate.
However the legacy architecture is still possible with the Evolved HSPA. This 'flat architecture' communicates 'user plane' IP directly from the base station to the GGSN IP router system, using any available link technology. It is defined in 3GPP TR25.999. User IP data bypasses the Radio Network Controller (RNC) and the SGSN of the previous 3GPP UMTS architecture versions. This is a major step towards the 3GPP Long Term Evolution (LTE) flat architecture as defined in the 3GPP standard Rel-8. In essence the flat architecture turns the cellular base station into an IP router. It connects to the Internet with cost effective modern IP link layer technologies like Ethernet, and for user plane data it is not tied to the SONET/SDH infrastructure or T1/E1 lines anymore.

Friday, October 2, 2009

EDGE.. (Enhanced Data rates for GSM Evolution)


Enhanced Data rates for GSM Evolution (EDGE) (also known as Enhanced GPRS (EGPRS), or IMT Single Carrier (IMT-SC)) is abackward-compatible digital mobile phone technology that allows improved data transmission rates, as an extension on top of standard GSM. EDGE is considered a 3G radio technology and is part of ITU's 3G definition.[1] EDGE was deployed on GSM networks beginning in 2003— initially by Cingular (now AT&T) in the United States.[2]
EDGE is standardized by 3GPP as part of the GSM family, and it is an upgrade that provides more than three-fold increase in both the capacity and performance of GSM/GPRS networks. It does this by introducing sophisticated methods of coding and transmitting data, delivering higher bit-rates per radio channel.
EDGE can be used for any packet switched application, such as an Internet connection. EDGE-delivered data services create a broadband internet-like experience for the mobile phone user. High bandwidth data applications such as video services and other multimedia benefit from EGPRS' increased data capacity.
Evolved EDGE continues in Release 7 of the 3GPP standard providing reduced latency and more than doubled performance e.g. to complement High-Speed Packet Access (HSPA). Peak bit-rates of up to 1Mbit/s and typical bit-rates of 400kbit/s can be expected.