Newbee - nothing seems to be received by ttn gateway

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?

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?

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)?

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.

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…

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??

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.

1 Like

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?

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?

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.

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

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/
The devices section of: https://www.thethingsnetwork.org/docs/devices/
The gateways section of: https://www.thethingsnetwork.org/docs/gateways/
The network section of: https://www.thethingsnetwork.org/docs/network/
The applications and API sections of: https://www.thethingsnetwork.org/docs/applications/

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 :wink:

update… Ah done :slight_smile:

It would appear not from the unformatted post above.

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

Are you using LoRaWAN? TTN does not do LoRa.

SX1276 V2 Lora ESP32 LX6 Dual-Core 0.96 Inch OLED Bluetooth LE Wifi Kit 32 Module CP2012 IOT 868-915MHz Antenna Development Board for Arduino

thanks for all the valuable hints. i feel, i can now continue by myself.

now it works - done.

thanks again, g.

1 Like

just for the sake of learning, what was the issue and how was it fixed ?

Regards
Andre