HI @a.valero, I have followed your tip and it is the same, I don't get the message back,I am quite puzzled by the fact that the answer to radio tx is none of the standard values, but a number is that normal?
TX is now
String text = "Node zero"; String e = "zero"; text = "Node " + nodeAddress + " sending: " + message; Serial.println(text); //using the LoRa modulation to reach other node instead the LoRaWan stack //stopping the LoRaWan stack on the device Serial.print("Pausing mac: "); e = Serial1.write("mac pause\r\n"); Serial.println(e); Serial.print("sending to radio: "); e = Serial1.write("radio tx 1\r\n"); Serial.println(e); Serial1.print(message);
whose outcome is
Node 02010102 sending: HI
Pausing mac: 11
sending to radio: 12
LoRa status:
Node 02010102 sending: HI
Pausing mac: 11
sending to radio: 12
LoRa status:
Node 02010102 sending: HI
...
RX is now
String str; char rx[2]; int e = -1; Serial1.begin(57600); while (!Serial1); Serial1.println("mac pause\r\n"); //setting window to zero Serial1.println("radio set wdt 0\r\n"); //setting the rx to continous mode of reception Serial1.println("radio rx 0\r\n"); if (Serial1.available() > 0) { // read the incoming byte: Serial1.readBytesUntil('\n', rx, 2); // say what you got: Serial.print("Comming to node " + nodeAddress + " serial: "); Serial.println(rx);
and the outcome
Comming to node 02010103 serial: 42
Comming to node 02010103 serial: 94
Comming to node 02010103 serial: 96
Comming to node 02010103 serial: 72
Comming to node 02010103 serial: 45
Comming to node 02010103 serial: %