# LMiC does not receive Join Accept

**URL:** <https://www.thethingsnetwork.org/forum/t/lmic-does-not-receive-join-accept/13079>\
**Category:** LMIC\
**Created:** [March 8, 2018, 7:59pm UTC](https://www.thethingsnetwork.org/forum/t/lmic-does-not-receive-join-accept/13079 "2018-03-08T19:59:13Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![I-Connect](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/i-connect/32/20484_2.png) [@I-Connect](https://www.thethingsnetwork.org/forum/u/I-Connect)\
**Post date:** [March 10, 2018, 2:30pm UTC](https://www.thethingsnetwork.org/forum/t/lmic-does-not-receive-join-accept/13079/5 "2018-03-10T14:30:44Z")

</div>

The output comes only once. It is generated in the setup part:

```auto
void setup() {
    Serial.begin(115200);
    Serial.println(F("Starting"));
```

If the sketch resets I would see this scrolling multiple times and it does not.

No reset, no sleep, basic example used from arduino-lmic library (ttn-otaa.ino) only changed pins:

```auto
// Pin mapping
const lmic_pinmap lmic_pins = {
    .nss = 10,
    .rxtx = LMIC_UNUSED_PIN,
    .rst = 9,
    .dio = {2, 6, 7},
};
```

appeui:

```auto
static const u1_t PROGMEM APPEUI[8]={ 0x57, 0x1D, 0x00, 0xF0, 0x7E, 0xD5, 0xB3, 0x70 };
```

deveui:

```auto
static const u1_t PROGMEM DEVEUI[8]={ 0xE6, 0xC7, 0x2F, 0xE7, 0x4D, 0x3C, 0xB4, 0x00 };
```

and appkey:

```auto
static const u1_t PROGMEM APPKEY[16] = { 0xAE, 0x66, 0xB7, 0xE4, 0x9A, 0x3F, 0x38, 0x51, 0x65, 0x7B, 0x61, 0xF1, 0x8F, 0x27, 0xBB, 0xF4 };
```

did not change anything else

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/lmic-does-not-receive-join-accept/13079)._
