Sending AT commands to Reyax RYLR890 LoRa modules via additional serial port not working I am setting up a LoRa module (transmitter) with nodemcu (ESP8266). The module (Reyax RYLR896) accepts AT commands over serial interface. I created an additional serial port using pins D7 and D8 on the nodemcu using SoftwareSerial.h in Arduino IDE to try and set up the transmitter following this example.
I coded up the sketch below to read an AT command from native serial interface, pass it on to the LoRa module via the additional serial port, read the response and print it in serial monitor. The LoRa module should respond with &quot;+OK&quot; to an AT command like &quot;AT&quot; or with data for a command like &quot;AT+ADDRESS&quot;. However, I get no response. So far, I have tried:

Experimenting with different baud rates (9600 and 115200)
Hard-coding AT command(s)
Using read/write and readString/print.

The string sent via serial monitor is read correctly but the second if block is never entered.
#include &lt;SoftwareSerial.h&gt;

#define Rx D7
#define Tx D8

SoftwareSerial LoRaSerial(Rx, Tx);

void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);
  while (!Serial) {
    ; // Wait until native serial interface is ready.
  }
  Serial.println(&quot;Native serial interface ready!&quot;);

  LoRaSerial.begin(9600); // Also tried 115200
  LoRaSerial.println(&quot;LoRa serial interface ready!&quot;);
}

void loop() {
  // put your main code here, to run repeatedly:
  if (Serial.available()) {
    String serial_command = Serial.readString();
    Serial.print(serial_command);
    LoRaSerial.print(&quot;AT\r\n&quot;); // hard-coded to test
  }
  delay(200);
  if (LoRaSerial.available()) {
    String LoRa_response = LoRaSerial.readString();
    Serial.print(&quot;Done!&quot;);
    Serial.print(LoRa_response);
  }
}

The module is brand new and I have tried with two different ones. Any help is appreciated!
Connections are as follows:
Node
mcu &lt;&gt; RYLR896

GND &lt;&gt; GND
D7 (Rx) &lt;&gt; TX
D8 (Tx) &lt;&gt; RX
3V3 &lt;&gt; VDD

The RST on RYLR896 is not wired.
In order to test AT commands for Reyax Rylr 896 module, you need to connect rxd of lora module with rx(D7) of nodemcu and txd of lora module with tx(D8) of nodemcu.