ESP8266-01 serial monitor

Hi everyone, i want to ask you why when i type the AT command i recieve OK but when i type commands like AT+GMR or AT+CWLAP i recieve some normal characters but also some garbage values like question marks or squares instead of the full correct information.

IMG.PNG

Hardware or Software serial? Connection direct to PC, or from Arduino port? Baud rate?

So im using this code, arduino uno is conected to pc 9600 baud and esp to arduino 115200 baud, and the commands are in the serial monitor of the ide.
#include<SoftwareSerial.h>
SoftwareSerial wifi(2,3); //Rx,Tx

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println(“Wifi started!”);
wifi.begin(115200);

}

void loop() {
// put your main code here, to run repeatedly:
if(Serial.available() > 0)
{
byte b= Serial.read();
wifi.write(b);
}
if(wifi.available() > 0)
{
byte b= wifi.read();
Serial.write(b);
}
}

Your baud rate is much too fast for Software Serial.

but if i cange it to 9600 it wouldnt respond

vassago:
but if i cange it to 9600 it wouldnt respond

Yes, one of the myriad of possible changes that won't help you at all. You can change the baud rate of the ESP with AT+CIOBAUD=9600

i typed the command but it gives me ERROR...

Then use

AT+UART_DEF=<baudrate>, <databits>, <stopbits>, <parity>, <flow control>
Example:
AT+UART_DEF=115200, 8, 1, 0, 3

I typed AT+UART_DEF=9600, 8, 1, 0, 3 and it gave me OK, then i changed in the the code from 115200 to 9600 and uploaded it but after that it wouldn t respond at all, i tried to change it back to 115200 but now it isnt responding…