// if you get a connection, report back via serial: if (client.connect(server, port)) { Serial.println("connected"); // Make a HTTP request: client.print("GET "); client.print(path); client.println(" HTTP/1.0"); client.println(); } else { // if you didn't get a connection to the server: Serial.println("connection failed"); }}

void loop(){ // if there are incoming bytes available // from the server, read them and print them: if (client.available()) { char c = client.read(); Serial.print(c); }

Check this out. Not sure if your familiar with AT language, but it has to to with your access to the the GSM network. I think... MAybe someone could verify?

2) Check you have the right plan set up and make sure you have a compatible GSM sim card.

3) Another ideal said thing to have is a 5v external power supply. 200mA to 300mA.

4)You can use AT commands directly by using this code or thread. You need the manual tho to follow along. ** double check you pin configuration from the GSM to the Arduino TX and RX ports. Also in the code**

Serial.println("connecting..."); // if you get a connection, report back via serial: if (client.connect(server, port)) { Serial.println("connected"); // Make a HTTP request: client.print("GET "); client.print(path); client.println(" HTTP/1.0"); client.println(); } else { // if you didn't get a connection to the server: Serial.println("connection failed"); }}

void loop(){ // if there are incoming bytes available // from the server, read them and print them: if (client.available()) { char c = client.read(); Serial.print(c); }