ESP8266 two serial ports with SoftwareSerial library

In certain cases we need to use more than one Serial port in the case of arduino, I use the arduino mega 2560 which has 4 serial ports including the programming port, in the case of arduino’s as the nano has a single programming port and as a solution Have created the softwareserial library, given…