# Join Request problem

**URL:** <https://www.thethingsnetwork.org/forum/t/join-request-problem/10596>\
**Category:** End Devices (Nodes)\
**Created:** [November 14, 2017, 10:58pm UTC](https://www.thethingsnetwork.org/forum/t/join-request-problem/10596 "2017-11-14T22:58:58Z")\
**Posts on this page:** 1\
**Showing post:** 10

<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:** [November 15, 2017, 7:28pm UTC](https://www.thethingsnetwork.org/forum/t/join-request-problem/10596/10 "2017-11-15T19:28:24Z")

</div>

Hehe, easy after all:

> [@jimrm](#):
>
> “26021622” is the one issued by TTN and it is in the sketch  
> This is what shows in the gateway traffic " 018D0EF6"

You’ve forgotten to prefix the DevAdr with `0x` to denote hexadecimal. Now the code thinks `26021622` is just a decimal value, which in hexadecimal happens to be `0x018D0EF6`. So, you’ll need to use:

```cpp
static const u4_t DEVADDR = 0x26021622;

```

Lessons learned: use the right terminology and show some code…

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/join-request-problem/10596)._
