Hello!
I have a SODAQ SARA AFF R410M “Connected by Vodafone” and I am now in the Netherlands.
I try to use the Board with a T-Mobile NL SIM Card. The first AT command gets prompted with OK. Then the boards hangs up.
When I do the same procedure with a Vodafone SIM Card or without SIM Card, I can continue to prompt AT Commands.
Why can I not use a T-Mobile SIM? Why does the board die? Is there a SIM Lock?
when I send the “AT” directly after programming. Then it stops responding at all.
I am 30 minutes from you, so I can bring the board with me and the TM NL simcard.
Sincerly,
Andreas
#if defined(ARDUINO_SODAQ_SARA)
/* SODAQ SARA */
#define DEBUG_STREAM SerialUSB
#define MODEM_STREAM Serial1
#else
#error "Please select the SODAQ SARA as your board"
#endif
unsigned long baud = 115200;
void setup()
{
pinMode(SARA_ENABLE, OUTPUT);
pinMode(SARA_TX_ENABLE, OUTPUT);
pinMode(SARA_R4XX_TOGGLE,OUTPUT);
digitalWrite(SARA_ENABLE,HIGH);
digitalWrite(SARA_TX_ENABLE,HIGH);
digitalWrite(SARA_R4XX_TOGGLE,LOW);
// Start communication
DEBUG_STREAM.begin(baud);
MODEM_STREAM.begin(baud);
DEBUG_STREAM.write("Start");
DEBUG_STREAM.write(SARA_ENABLE);
DEBUG_STREAM.write(SARA_TX_ENABLE);
DEBUG_STREAM.write(SARA_R4XX_TOGGLE);
}
// Forward every message to the other serial
void loop()
{
while (DEBUG_STREAM.available())
{
MODEM_STREAM.write(DEBUG_STREAM.read());
// DEBUG_STREAM.write("Start");
//DEBUG_STREAM.write(SARA_ENABLE);
//DEBUG_STREAM.write(SARA_TX_ENABLE);
//DEBUG_STREAM.write(SARA_R4XX_TOGGLE);
// DEBUG_STREAM.write("End;");
}
while (MODEM_STREAM.available())
{
DEBUG_STREAM.write(MODEM_STREAM.read());
}
}