Pages: [1]   Go Down
Author Topic: T-mobile login attachGPRS  (Read 31 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I am using a T-mobile sim card with the SIM900 GPRS shield and an Arduino UNO. Using the T-mobile sim card I am trying to send data to the Xively platform.

However I am stuck at one place:
Code:
while (notConnected)
  {
    if ((gsmAccess.begin(PINNUMBER) == GSM_READY) &
        (gprs.attachGPRS(GPRS_APN, GPRS_LOGIN, GPRS_PASSWORD) == GPRS_READY))
      notConnected = false;
    else
    {
      Serial.println("Not connected");
      delay(1000);
    }
  }


It seems my code doesn't cross this point. The settings for the GPRS are as follows:

Code:
#define GPRS_APN       "epc.t-mobile.com"  // replace your GPRS APN
#define GPRS_LOGIN     ""     // replace with your GPRS login
#define GPRS_PASSWORD  ""  // replace with your GPRS password

The login and password have been left blank as per the suggestion from T-mobile. Is there anyone who has been able to successfully run the code and is willing to help out?

Thanks in advance

-n
Logged

Pages: [1]   Go Up
Jump to: