Garbage Value

Hi All,

I am working on Arduino UNO and ESP8266 for my project. When I send AT commands manually through serial monitor, I get correct response but when i try the same commnands written through code, ESP8266 returns garbage values. I've attached both serial monitor response image and code.
Can anyone help to solve this problem.

Thanks in advance

PROGRAM.txt (1.34 KB)

SoftwareSerial won't work at 115200 baud. Try 9600 baud and if that works try a slightly higher speed.

...R

But to try the 9600 baud you have to change the software on the ESP8266.
See here for hints

/Joe