GSM.Read() String To Int

In this code I have tried to collect digits within GPRS.read() mixed outputs.
Everything looks working fine in first and second cycle of the program but the data printed on serial monitor window isn’t promising or wasn’t expected to be so.Here it is my Serial window contents:

AT

OK
AT+CSQ

+CSQ: 24,0

OK
AT+CSQ

+CSQ: 24,0

OK
ATAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA // supposed to be AT+CSQ and so on like other lines

above

GSM_SIGNAL_QUALITY_EDITED.ino (338 Bytes)

void loop() {
    //while(GPRS.available()) 
    GPRS.println("AT+CSQ");
    delay(80);
    char inChar = GPRS.read();
    Serial.print(inChar);
 
}

On EVERY pass through loop(), send the command. Then, wait some really short period of time, and read ONE character of the response, whether or not there was anything to read.

Clearly, you don't understand that serial communication is asynchronous, and something less than instantaneous.

You need a far more robust mechanism for reading the complete response, AND you need a way to not send another command until the complete response to the first one has been received.

And, you can't hope to do anything with the response because you don't save it.

I am a novice, by the way does setting up same value for bps (9600) not supposed to vanish asynchronous timing problem between my devices (arduino & gsm),regarding serial monitor being asynchronous?

I am a novice, by the way

thatsnoexcusefornotusingpunctuationandcapitalletters