GPRSBee on Autonomo communication problem

Hi forum Guys, I’m trying to let GPRSBee (SIM800H) working on Autonomo, but something is going wrong.
I’ve last version of IDE (1.8.2), last version of the GPRSBee Library (1.9.2), but the result is always the same: I’m not able to send SMS or to connect to FTP, do a get or a post.

I report here some AT command results, hope can be useful.
So considering this is the code for Setup and Test part:

void setup()
{
  
  while ((!SerialUSB) && (millis()<10000));

  //Start the Bee Serial port initially
  Serial1.begin(57600);

  SerialUSB.println("STARTING...");
  
  //gprsbee.initAutonomoSIM800(Serial1, BEEDTR, BEE_VCC, BEECTS); //I tried both version, same behavior
  
  gprsbee.initAutonomoSIM800(Serial1, BEE_VCC, BEEDTR, BEECTS);
 
  //debug bee on usb
  gprsbee.setDiag(SerialUSB);

 antTest();

}


void ATCommand(String _command, int _waitDelay = COMMAND_DELAY)
{
  float delaySecs = (float)_waitDelay / 1000.0f;
  SerialUSB.println("Sending AT Command, waiting " + String(delaySecs) + " seconds for a response");
  gprsbee.sendCommandWaitForOK(_command.c_str(), _waitDelay);
  delay(_waitDelay);
}

void antTest()
{
  gprsbee.on(); 
  SerialUSB.println("Tests start in 2 seconds...");
  delay(2000);

  ATCommand("AT+CREG?");

  ATCommand("AT+CSQ");

  ATCommand("AT+CGREG?");

  ATCommand("AT+CGATT?");

  //version
  ATCommand("AT+CGMR");

  gprsbee.off(); 
  
}

The results are these:

readLine timed out
>> AT
STARTING...
>> AT
readLine timed out
>> AT
AT

OK
Tests start in 2 seconds...
Sending AT Command, waiting 5.00 seconds for a response
>> AT+CREG?
AT+CREG?

+CREG: 0,4

OK
Sending AT Command, waiting 5.00 seconds for a response
>> AT+CSQ
AT+CSQ

+CSQ: 29,0

OK
Sending AT Command, waiting 5.00 seconds for a response
>> AT+CGREG?
AT+CGREG?

+CGREG: 0,0

OK
Sending AT Command, waiting 5.00 seconds for a response
>> AT+CGATT?
AT+CGATT?

ERROR
Sending AT Command, waiting 5.00 seconds for a response
>> AT+CGMR
AT+CGMR

Revision:1308B05SIM800H32_BT

OK

Also trying to send a SMS message with a classic:

smsSent = gprsbee.sendSMS("+316xxxxxxx", "TEST Autonomo");

if (smsSent){
   SerialUSB.println("SMS sent OK");
} else {
   SerialUSB.println("SMS not sent");
} 

Return me always FALSE, so no sms sent. Trying to open a FTP site fail the operation.

The SIM Card I’m using is a Lebara, PIN removed, APN “multimedia.lebara.nl” I successfully tried the SIM on a phone, can send SMS and receive. Data communication is enabled. I tried as well a t-mobile SIM Card on GPRSBee with same results.
The LIpo battery is connected to the Bee and the bee to Lipo connector on the Autonomo, as shown in standard configuration scheme.

Please let me know if I can take a look to something else.

Thanks

The response:

AT+CSQ

+CSQ: 29,0

Shows you have a perfect signal.
However the AT+CGREG?

+CGREG: 0,0

Shows it doesn’t register to the network.
Doe the SIM card maybe have a PIN lock?

Hi thanks for your answer.
No, as I wrote, I removed the PIN check from the SIM using a phone. I also tried with another SIM, from other provider (t-mobile instead of Lebara) with same result.
May I try something else?

The issue is definitely with the module failing to register on the network.

The second zero in the response to AT+CREG? indicates this.

Could you try querying the device’s IMEI with:

ATCommand("AT+GSN");

Also, can you check that the Lebara MVNO does not use the T-Mobile network in your region.

Hi Gabriel,
I just tried, here is the result:

>> AT+GSN
AT+GSN
866224021724025    
OK

Out of curiosity, I also try to force the registration through a

>> AT+CREG=1
AT+CREG=1
OK

But I’m not sure the result can help:

>> AT+CREG?
AT+CREG?
+CREG: 1,0

Instead of a:

 >>AT+CREG?
+CREG: 0,4
OK

Without forcing the registration.

Let me know.
Antonio

The AT+CREG command does not control or force the registration, it controls the output of unsolicited messages due to a change in the registration status.

The second value is still zero, which indicates that the device is not registered with the network and is not actively seeking to register.

For further details see pg 79: http://gprsbee.com/wp-content/uploads/2015/05/sim800_series_at_command_manual_v101.pdf

Searches of CREG issues turn up a few results, one of which was due to an incorrectly configured IMEI. That does not seem to be the case here as it is a valid and clean IMEI according to http://www.imeipro.info

If you are in Germany, you might want to try another SIM as both Lebara and T-Mobile use the same network.

Sorry about AT+CREG, probably I wasn’t remember correctly.
Anyway I’m in Nederland, Leiden to be precise, so according to how I can find on Lebara website and not only, the Network should be Lebara, so I use multimedia.lebara.nl
I will give a try this evening with a t-mobile card that I already have and let you know if I have different response.
Thanks for now