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:
if ((gsmAccess.begin(PINNUMBER) == GSM_READY) &
(gprs.attachGPRS(GPRS_APN, GPRS_LOGIN, GPRS_PASSWORD) == GPRS_READY))
notConnected = false;
It seems my code doesn't cross this point. The settings for the GPRS are as follows:
#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