DeuxVis / Lora-TTNMapper-T-Beam

TTNMapper on the TTGO T-Beam
GNU General Public License v3.0
111 stars 48 forks source link

How to retrieve NwksKey #7

Closed DuckY1987 closed 5 years ago

DuckY1987 commented 5 years ago

I'm rather new to ttn, but i don't know how to retrieve the nwks for the config.h

I know its derived from some other unique id's, so do i need to fill it as i understood its a session based key, which i don't know and only the device and the network server will know it.

Is the deviceAddress custom generated or is it the Device EUI?

Thanks a lot :-).

DeuxVis commented 5 years ago

As commented in the config.h file nwsk is named Network session key in the TTN interface.

nwsk_on_ttn_console

And yes, the devaddr is the Device Address from TTN console.

DuckY1987 commented 5 years ago

Okay got it, ABP deployment is on the settings tab, Over-the-Air-deployment is not supported.

DevAdd in hex form too?

DeuxVis commented 5 years ago

Yes you have to use ABP authentication for now.

And yes DeviceAdress is hexadecimal.

DeuxVis commented 5 years ago

You got it working ?