Hello everyone, I hope you are very well.
I tell you that I am working with Arduino MEGA and I need to know how to UPLOAD data without receiving the DownloadLINK of the data I use the RAK811
This is the program
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
String dev_eui ="";
String app_eui ="";
String app_key ="";
void setup() {
// Open serial communications and wait for port to open:
Serial.begin(115200);
Serial1.begin(115200);
Serial1.println("at+version");
delay(1000);
Serial1.println("at+set_config=lora:dev_eui:"+dev_eui);
delay(3000);
Serial1.println("at+set_config=lora:app_eui:"+app_eui);
delay(3000);
Serial1.println("at+set_config=lora:app_key:"+app_key);
delay(3000);
Serial1.println("at+join");
delay(2000);
Serial1.println("at+set_config=lora:confirm:1");
delay(2000);
}
void loop() { // run over and over
Serial1.println("at+send=lora:3:80790022");
delay(10000);
}
The downlink you’re getting is the confirmation of the uplink, just like your code requested:
Indeed, requesting a confirmation for each uplink is not good. I’d guess that changing the 1 to a 0 would do the trick to disable it.
Note that TTN Console also tells you that the device sent a “confirmed uplink”. And that your device did not receive all the confirmations, making it repeat the previous uplink, like with the very same frame counter value of 21:
Clicking an uplink or downlink in TTN Console often reveal more details.
You can’t it’s a simplex/half duplex system not full duplex. A device or gw can only tx or rx not both at same time. Also as downlink scheduled in 1 sec or 2 sec window after device tx downlink won’t (unlikely) come in at same time as uplink.