# Newbee - nothing seems to be received by ttn gateway

**URL:** <https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304>\
**Category:** Uncategorized\
**Created:** [April 2, 2021, 4:13pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304 "2021-04-02T16:13:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![elsbieth](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/elsbieth/32/35697_2.png) [@elsbieth](https://www.thethingsnetwork.org/forum/u/elsbieth)\
**Post date:** [April 2, 2021, 4:13pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/1 "2021-04-02T16:13:30Z")

</div>

hello,

please forgive me a potentially superfluous new bee question.

**facts**

local system: running lora\_pkt\_fwd cloned from [https://github.com/Lora-net/packet\_forwarder.git](https://github.com/Lora-net/packet_forwarder.git)

\*\*\* Beacon Packet Forwarder for Lora Gateway \*\*\*  
Version: 4.0.1  
\*\*\* Lora concentrator HAL library version info \*\*\*  
Version: 5.0.1;

local\_conf.json:

```
{
    "gateway_conf": {
        "server_address": "router.eu.thethings.network",
        "serv_port_up": 1700,
        "serv_port_down": 1700,
        "gateway_ID": "b827ebe5e5aa08e7"
}

```

transmitted data

```
02 7F 23 00 B8 27 EB E5 E5 AA 08 E7 7B 22 72 78 | ..#..'......{"rx 
70 6B 22 3A 5B 7B 22 74 6D 73 74 22 3A 33 38 35 | pk":[{"tmst":385 
32 38 36 38 37 35 2C 22 63 68 61 6E 22 3A 32 2C | 286875,"chan":2, 
22 72 66 63 68 22 3A 31 2C 22 66 72 65 71 22 3A | "rfch":1,"freq": 
38 36 38 2E 35 30 30 30 30 30 2C 22 73 74 61 74 | 868.500000,"stat 
22 3A 31 2C 22 6D 6F 64 75 22 3A 22 4C 4F 52 41 | ":1,"modu":"LORA 
22 2C 22 64 61 74 72 22 3A 22 53 46 37 42 57 31 | ","datr":"SF7BW1 
32 35 22 2C 22 63 6F 64 72 22 3A 22 34 2F 35 22 | 25","codr":"4/5" 
2C 22 6C 73 6E 72 22 3A 38 2E 32 2C 22 72 73 73 | ,"lsnr":8.2,"rss 
69 22 3A 2D 31 35 2C 22 73 69 7A 65 22 3A 33 33 | i":-15,"size":33 
2C 22 64 61 74 61 22 3A 22 41 75 58 6C 41 4E 78 | ,"data":"AuXlANx 
4B 50 68 66 6C 35 51 32 53 65 79 4A 7A 64 47 46 | KPhfl5Q2SeyJzdGF 
30 49 6A 70 37 49 6D 4E 75 64 43 49 36 4D 6A 41 | 0Ijp7ImNudCI6MjA 
79 4D 6E 31 39 22 7D 5D 7D | yMn19"}]} 

```

i can see in the firewall logs that my local system and router.eu.thethings.network are talking to each other.

gateway (configured as legacy packet forwarder with [eui-b827ebe5e5aa08e7) overview:

status = connected  
last seen seconds are incremented / wrapped

_but_ the gateway does not show any data:

Received Messages = Transmitted Message = 0

what could i have missed?

thanks in advance for your assistance, g.

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [April 2, 2021, 4:24pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/2 "2021-04-02T16:24:24Z")

</div>

Do you have a known good device of your own to provide traffic?

The only thing that the message counters will show will be for traffic for TTN - so if the uplink you picked out isn’t for TTN it will have been discarded. I won’t pick out the hex dump, but it’s very hard to read the actual info, so no need to include it going forward.

Far more detail on the gateway, devices, version numbers of everything etc will help.

> [@How do I format my forum post? \[HowTo\]](https://www.thethingsnetwork.org/forum/t/how-do-i-format-my-forum-post-howto/8735):
>
> The TTN forum is using [Discourse](https://www.discourse.org/), which supports several ways to format your post: Markdown BBCode HTML Any combination of the above Quite often you’ll need an empty line above specific formatting to make it work. You’ll also have to type blank lines to create proper paragraphs; just pressing Return once and then typing a new block of text right below a previous block only creates a so-called line break, which might be harder to read. Leaving one blank line between two blocks of texts nicely…

---

<div class="post-metadata">

**Author:** ![elsbieth](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/elsbieth/32/35697_2.png) [@elsbieth](https://www.thethingsnetwork.org/forum/u/elsbieth)\
**Post date:** [April 2, 2021, 4:38pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/3 "2021-04-02T16:38:32Z")

</div>

what do you mean:

> [@descartes](#):
>
> so if the uplink you picked out isn’t for TTN it will have been discarded.

i thought the uplink was router.eu.thethings.network ? did i miss a parameter?

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [April 2, 2021, 4:41pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/4 "2021-04-02T16:41:12Z")

</div>

An uplink is a message from an end-device or node.

The gateway listens for uplinks and passes them on to the network server.

You have told us that you have setup the gateway and that the web console confirms that it is communicating the with the TTN servers.

You provided some information from an uplink but that uplink may not be for a device registered on TTN, so it won’t add to your statistics.

Do you have your own end-device???

---

<div class="post-metadata">

**Author:** ![elsbieth](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/elsbieth/32/35697_2.png) [@elsbieth](https://www.thethingsnetwork.org/forum/u/elsbieth)\
**Post date:** [April 2, 2021, 4:46pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/5 "2021-04-02T16:46:36Z")

</div>

yes, i have my own (heltec for first tests) end-device. how should i register it to ttn and how should it identify itself to ttn?

---

<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:** [April 2, 2021, 4:47pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/6 "2021-04-02T16:47:48Z")

</div>

> [@elsbieth](#):
>
> ```auto
> "SF7BW1 
> 32 35 22 2C 22 63 6F 64 72 22 3A 22 34 2F 35 22 | 25","codr":"4/5" 
> 2C 22 6C 73 6E 72 22 3A 38 2E 32 2C 22 72 73 73 | ,"lsnr":8.2, **"rss** 
> 69 22 3A 2D 31 35 2C 22 73 69 7A 65 22 3A 33 33 | **i":-15** ,"size":33 
> 
> ```

What ever node device you are using an RSSI of -15 is very high suggesting you have the node ontop of or extremely close to the GW, in which case likley overloading system and causing errors that will mean the packet forwarder drops any received messages without forwarding - move node atleast 5-10 m away , and preferably on other side of an absorber such as a wall or window…you may see more success. What is nodes, which GW? (looking at M=ID derived from MAC (?) is that a Pi based device? Also if MAC derived it doesnt follwo what we normally see with MAC padded with FFFE (sometime FFFF) for middle order bytes, though what you have (e5) ‘should’ work, is ID set by vendor?

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [April 2, 2021, 4:50pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/7 "2021-04-02T16:50:12Z")

</div>

> [@elsbieth](#):
>
> yes, i have my own (heltec for first tests) end-device. how should i register it to ttn and how should it identify itself to ttn?

So you setup a gateway?

Did you setup a device at the same time?

Or is the Heltec the only device you have?

You will need to read the documentation on registering a device and the Heltech docs for the device.

It’s going to be hard to help you if we don’t get the information we need to help you:

What is this gateway hardware? What exact Heltech device? What version(s)?

---

<div class="post-metadata">

**Author:** ![elsbieth](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/elsbieth/32/35697_2.png) [@elsbieth](https://www.thethingsnetwork.org/forum/u/elsbieth)\
**Post date:** [April 2, 2021, 4:55pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/8 "2021-04-02T16:55:01Z")

</div>

indeed, the devices were very close to each other - no the sending device is behind 2 walls - rssi = -55 now but still nothing is received.

it’s a primitive heltec device and i crafted the mac by myself - hende e5e5.

---

<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:** [April 2, 2021, 4:56pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/9 "2021-04-02T16:56:48Z")

</div>

Messages crossed and I see you have heltec device - powered on, even if not yet configured/registered to TTN? (It may have some existing/stock f/w that is Txing perhaps attempting to joing another network or just working under ABP. Without a device registered (yours or another TTN user) and decent seperation you wont see any activity counted

update, ok see you now at -55dbm - much more reasonable… now you have the other issues addressed by Nick…

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [April 2, 2021, 4:57pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/10 "2021-04-02T16:57:35Z")

</div>

> [@elsbieth](#):
>
> it’s a primitive heltec device and i crafted the mac by myself - hende e5e5.

**If you want us to help, you are going to have to provide so much more detail.**

I’m not aware of a Heltec device called “primitive” - what is the model number.

What do you mean you crafted the mac by yourself? Have you written an entire LoRaWAN MAC for the Heltec??

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [April 2, 2021, 4:58pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/11 "2021-04-02T16:58:46Z")

</div>

> [@Jeff-UK](#):
>
> powered on, even if not yet configured/registered to TTN

Doh, another one to add to the big list of ways of snookering yourself - turn on device that’s not been provisioned - get packets in log - don’t see them on console.

---

<div class="post-metadata">

**Author:** ![elsbieth](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/elsbieth/32/35697_2.png) [@elsbieth](https://www.thethingsnetwork.org/forum/u/elsbieth)\
**Post date:** [April 2, 2021, 5:01pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/12 "2021-04-02T17:01:32Z")

</div>

so it’s heltec’s mac which isn’t accepted - right.

gateway hw is ims990a-spi with a raspberry running raspbian denian10.

i had regitered a device with device id = DC4A3E17E5E50D92. is this not enough. where in the data stream should i place th mac of this device?

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [April 2, 2021, 5:04pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/13 "2021-04-02T17:04:40Z")

</div>

There is a bit of a language barrier going on here:

“crafted my own mac” would say that you wrote the code.

If you mean you need to configure the Heltec software, then yes, you need to register the device online, some setting you take from the device, some you take from the web page and make sure they match on both sides.

The Heltec is a known OK device, so there’s nothing about the software.

So now I need to know if you are using the v2 or v3 console and if you are using ABP or OTAA?

---

<div class="post-metadata">

**Author:** ![elsbieth](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/elsbieth/32/35697_2.png) [@elsbieth](https://www.thethingsnetwork.org/forum/u/elsbieth)\
**Post date:** [April 2, 2021, 5:07pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/14 "2021-04-02T17:07:53Z")

</div>

this is how i ‘crafted’ the Mac:

```
  LoRa.write(0x02);
  LoRa.write(0xe5);
  
  LoRa.write(0xe5);
  LoRa.write(0x00);

  LoRa.write(0xdc); // 4
  LoRa.write(0x4a);
  
  LoRa.write(0x3e);
  LoRa.write(0x17);
  
  LoRa.write(0xe5);
  LoRa.write(0xe5); // 9

  LoRa.write(0x0d);
  LoRa.write(0x92);

```

i’m using v2 console.

i’m unsure what you mean by abp and otaa.

---

<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:** [April 2, 2021, 5:10pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/15 "2021-04-02T17:10:40Z")

</div>

> [@descartes](#):
>
> “crafted my own mac” would say that you wrote the code.

I think this was in the context of the MAC based Gateway ID - now confirmed as RPi based 🙂

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [April 2, 2021, 5:12pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/16 "2021-04-02T17:12:13Z")

</div>

> [@elsbieth](#):
>
> i’m unsure what you mean by abp and otaa.

Have you registered the device in an application on the console?

You **HAVE** to read the Heltec documentation about configuring the device so that TTN knows about it - it will **NOT** work as expected until you do so.

You may find this information useful:

Read all of: [https://www.thethingsnetwork.org/docs/lorawan/](https://www.thethingsnetwork.org/docs/lorawan/)  
The devices section of: [https://www.thethingsnetwork.org/docs/devices/](https://www.thethingsnetwork.org/docs/devices/)  
The gateways section of: [https://www.thethingsnetwork.org/docs/gateways/](https://www.thethingsnetwork.org/docs/gateways/)  
The network section of: [https://www.thethingsnetwork.org/docs/network/](https://www.thethingsnetwork.org/docs/network/)  
The applications and API sections of: [https://www.thethingsnetwork.org/docs/applications/](https://www.thethingsnetwork.org/docs/applications/)

---

<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:** [April 2, 2021, 5:12pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/17 "2021-04-02T17:12:59Z")

</div>

> [@elsbieth](#):
>
> i’m unsure what you mean by abp and otaa.

In which case you have a _LOT_ of reading to do… I have to dash but suspect Nick will send you a bundle of links wrt TTN docs and LoRaWAN Basics to go read 😉

update… Ah done 🙂

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [April 2, 2021, 5:13pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/18 "2021-04-02T17:13:34Z")

</div>

> [@Jeff-UK](#):
>
> I think this was in the context of the MAC based Gateway ID

It would appear not from the **unformatted** post above.

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [April 2, 2021, 5:15pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/19 "2021-04-02T17:15:36Z")

</div>

> [@descartes](#):
>
> **If you want us to help, you are going to have to provide so much more detail.**
> 
> I’m not aware of a Heltec device called “primitive” - what is the model number.

I can send a link to the Heltec doc, but only if you tell me what the model is.

And I too have domestic duties, so it will be later on, **but only if you tell me what model of Heltec it is**

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [April 2, 2021, 6:15pm UTC](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304/20 "2021-04-02T18:15:04Z")

</div>

> [@elsbieth](#):
>
> this is how i ‘crafted’ the Mac:
> 
> ```auto
> LoRa.write(0x02);
> 
> ```

Are you using LoRaWAN? TTN does not do LoRa.

[Next page](https://www.thethingsnetwork.org/forum/t/newbee-nothing-seems-to-be-received-by-ttn-gateway/46304.md?page=2)
