How to Register a ABP device

I want to create a device in TTN, but I only have the possibility to create devices as OTAA.
So I found a workaround.
I created a device as OTAA, and go the the settings a changed it to ABP and put in the Session Key and Application key, but cannot change the device Address ??
image

Is it possible ?

1 Like

That’s not true

I created a device as OTAA, and go the the settings a changed it to ABP

This is a mistake

but cannot change the device Address ??

Of course not, the device address of an OTAA device is dynamically assigned by the network, not the user or manufacturer.

If you want to use ABP, you need to create the device as ABP to begin with.

Okay, but I cannot choose between OTAA and ABP when I register devices
image

I also see a difference between the ā€œmanualā€ and the real thing.

For new devices you shouldn’t be using V2. And in V3 there is no option to switch between ABP and OTAA.

V2 will be shutdown later this year, at the top of your ā€˜console’ you should see a message encouraging you to move to V3…

I know that, and we are also moving to OTAA, but I just need my current devices in test in TTN in a pilot,
Our devices cannot just be changed to OTAA, We need to produce new, but there is a quite long lead time on components at the moments…

For the v2 console, you are completely correct, you have to create in OTAA mode and then go in to settings to swap over to ABP.

The way the v2 stack works, you have to use the generated Device Address, so you will have to provision your device with the address you are given.

V3 does ABP so why not test there?

I believe the original problem was about changing the device address - which I guess will be an issue on v3 too.

One reason would be because a lot of people are arguing to keep gateways on V2, and V2->V3 forwarding is only implemented for OTAA devices, not for ABP ones, because it is triggered based on the device address pool allocated for issue by TTN v3 under OTAA, not the arbitrary device addresses an ABP device may have.

But yes, if one controls a gateway which can be pointed at V3, then it would make sense to do the testing there.

1 Like

That’s a misunderstanding. Packets with V3 ABP addresses are forwarded from V2.

It is questionable whether arbitrary ABP addresses should be used on TTN anyway. Addresses assigned to other providers might be routed to those providers at some point in time. Only addresses in the TTN range and those starting with 00 and 01 are ā€˜safe’ for use on TTN. And for the later category you are right, those will not be forwarded from V2 gateways.