I am using RPi2 Model B with Raspbian Jessie.
I have connected an ESP8266 to Pi. Google says that I have to disable kernel debug messages and serial console login to use the serial port of RPi. I have disabled the kernel from using the serial port. Now no debug messages appear while powering on the Pi.
Following this link i have done
sudo systemctl stop serial-getty@ttyAMA0.service sudo systemctl disable serial-getty@ttyAMA0.service
to disable serial console login.
But when I try to communicate to ESP8266 using AT commands through minicom, I get a screen filled with "ERROR" and sometimes "Login Incorrect" and "5 Incorrect login attempts" (The error wordings are not exact)
How to rectify this? Any help is much appreciated.