AT commands and GSM/GPRS module

Hi everyone! I’m Salvatore, from Milan-Italy. I hope someone can help me.

tI use SIM800L and Arduino Uno; this code was working but now isn’t (or is partially working)

#include <GSMSim.h>
#include <SoftwareSerial.h>

#define RX 7
#define TX 8
#define BAUD 9600


GSMSim gsm(RX, TX);



void setup() {
  
  Serial.begin(9600);

  while(!Serial){}

  Serial.println("GSMSim Library - Module Information");
  Serial.println("");
  delay(1000);

  gsm.start(BAUD);
  
  
  Serial.print("Manufacturer:\t\t");
  Serial.println(gsm.moduleManufacturer());
  delay(250);
  Serial.print("Model:\t\t\t");
  Serial.println(gsm.moduleModel());
  delay(250);
  Serial.print("Revision:\t\t");
  Serial.println(gsm.moduleRevision());
  delay(250);
  Serial.print("IMEI:\t\t\t");
  Serial.println(gsm.moduleIMEI());
  delay(250);
  Serial.print("IMSI:\t\t\t");
  Serial.println(gsm.moduleIMSI());
  delay(250);
  Serial.print("ICCID:\t\t\t");
  Serial.println(gsm.moduleICCID());
  delay(250);
  Serial.print("Is Connected?:\t\t");
  Serial.println(gsm.isRegistered());
  delay(250);
  Serial.print("Signal Quality:\t\t");
  Serial.println(gsm.signalQuality());
  delay(250);
  Serial.print("Operator:\t\t");
  Serial.println(gsm.operatorName());
  delay(250);
  Serial.print("Operator From Sim:\t");
  Serial.println(gsm.operatorNameFromSim());
  delay(250);

gsm.start();
gsm.smsTextMode(true);
char* Number = "+39XXXXXXXXXX";
char* Message = "Message from Skynet";
gsm.smsSend(Number, Message);

}

void loop() {


}

The serial monitor just shows me

Manufacturer: 
Model: 
Revision: 
IMEI: 
IMSI: 
ICCID: 
Is Connected?: 0
Signal Quality: 99
Operator: NOT CONNECTED
Operator From Sim: NOT CONNECTED

but before it showed me all the values.

I can’t understand why, I didn’t change anything… or at least I don’t know what has changed. Wiring has not changed.

The weird thing is that the texting part is working (the mobile number actually receives an sms message). So, the SIM module is working, it’s receiving AT commands correctly.

gsm.start();
gsm.smsTextMode(true);
char* Number = "+39XXXXXXXXXX";
char* Message = "Message from Skynet";
gsm.smsSend(Number, Message);

And other sketches are acting similarly… They run some parts but they don’t (anymore) run other parts… so weird… :-\

Thank you in advance!

If the Arduino hardware, wiring , and sketch have not changed, perhaps something in the GSM module, the SIM card, or the wireless network has changed. For the GSM module you might be able to reset it to factory settings. For the SIM or network... maybe you need a new SIM?

SMS messages are sent and received even without data being on.

Anything else requires data being available.

.

Thank you guys...
It was just that I cannot solder, so only the RX pin of Sim800 was connected... but not TX... So it received AT commands (and run them) but wasn't able to communicate to Arduino...
But blocking SIM800 with some stuff, both RX and TX are connected... so everything is working...
Omg, I lost 1 day on that...
I urgently need to learn how to solder...