# How to stop getting a downlink for each uplink in Arduino with RAK811

**URL:** <https://www.thethingsnetwork.org/forum/t/how-to-stop-getting-a-downlink-for-each-uplink-in-arduino-with-rak811/32656>\
**Category:** End Devices (Nodes)\
**Created:** [December 13, 2019, 11:50pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-stop-getting-a-downlink-for-each-uplink-in-arduino-with-rak811/32656 "2019-12-13T23:50:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicolas\_creatiox](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/nicolas_creatiox/32/25844_2.png) [@Nicolas\_creatiox](https://www.thethingsnetwork.org/forum/u/Nicolas_creatiox)\
**Post date:** [December 13, 2019, 11:50pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-stop-getting-a-downlink-for-each-uplink-in-arduino-with-rak811/32656/1 "2019-12-13T23:50:44Z")

</div>

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

![ttn-3](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/4/8/48f3c332e655aa66b5b251c94d9a55189d59ebfa.png)

This is the program

```cpp
#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);
}

```

---

<div class="post-metadata">

**Author:** ![Nordrunner](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/nordrunner/32/31038_2.png) [@Nordrunner](https://www.thethingsnetwork.org/forum/u/Nordrunner)\
**Post date:** [December 14, 2019, 6:48am UTC](https://www.thethingsnetwork.org/forum/t/how-to-stop-getting-a-downlink-for-each-uplink-in-arduino-with-rak811/32656/2 "2019-12-14T06:48:01Z")

</div>

Hello

Are you reading this?: [https://doc.rakwireless.com/rak811-wisduo-lora-module/rak811-lora-module-breakout-board](https://doc.rakwireless.com/rak811-wisduo-lora-module/rak811-lora-module-breakout-board)

Are you setting the LoRa-Mode? (at+set\_config=lora:work\_mode:X Set the work mode for LoRa. X definition: 0: LoRaWAN, 1: LoRaP2P, 2: Test Mode.)

Greets

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [December 14, 2019, 8:38am UTC](https://www.thethingsnetwork.org/forum/t/how-to-stop-getting-a-downlink-for-each-uplink-in-arduino-with-rak811/32656/3 "2019-12-14T08:38:46Z")

</div>

The downlink you’re getting is the confirmation of the uplink, just like your code requested:

> [@Nicolas\_creatiox](#):
>
> ```cpp
> Serial1.println("at+set_config=lora:confirm:1");
> 
> ```

Indeed, requesting a confirmation for each uplink [is not good](https://www.thethingsnetwork.org/forum/t/limitations-data-rate-packet-size-30-seconds-uplink-and-10-messages-downlink-per-day-fair-access-policy-guidelines/1300). 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:

![retry](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/4/0/40248c109befdf2edb982f64b66e39ec6a0f2c33.png)

Clicking an uplink or downlink in TTN Console often reveal more details.

(Aside: please see [How do I format my forum post? [HowTo]](https://www.thethingsnetwork.org/forum/t/how-do-i-format-my-forum-post-howto/8735) Thanks.)

---

<div class="post-metadata">

**Author:** ![Nicolas\_creatiox](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/nicolas_creatiox/32/25844_2.png) [@Nicolas\_creatiox](https://www.thethingsnetwork.org/forum/u/Nicolas_creatiox)\
**Post date:** [December 15, 2019, 6:48pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-stop-getting-a-downlink-for-each-uplink-in-arduino-with-rak811/32656/4 "2019-12-15T18:48:30Z")

</div>

Thanks @arjanvanb.

I solution the problem with this.

Now… I have other dude, How Can I Receive the Downlink while I UPlink data?

---

<div class="post-metadata">

**Author:** ![Jeff-UK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jeff-uk/32/35697_2.png) [@Jeff-UK](https://www.thethingsnetwork.org/forum/u/Jeff-UK)\
**Post date:** [December 15, 2019, 7:26pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-stop-getting-a-downlink-for-each-uplink-in-arduino-with-rak811/32656/5 "2019-12-15T19:26:30Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Nicolas\_creatiox](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/nicolas_creatiox/32/25844_2.png) [@Nicolas\_creatiox](https://www.thethingsnetwork.org/forum/u/Nicolas_creatiox)\
**Post date:** [December 16, 2019, 1:22am UTC](https://www.thethingsnetwork.org/forum/t/how-to-stop-getting-a-downlink-for-each-uplink-in-arduino-with-rak811/32656/6 "2019-12-16T01:22:18Z")

</div>

You can help me with the code for uplink or downlink please
