Code Monkey home page Code Monkey logo

Comments (9)

htdvisser avatar htdvisser commented on September 27, 2024 2

Work started in https://github.com/TheThingsNetwork/ttn/compare/feature/v3-export

@rvolosatovs please see what other fields we may need to transfer when migrating existing devices from v2 to v3.

from ttn.

johanstokking avatar johanstokking commented on September 27, 2024 1

OK. @neoaggelos please coordinate with @rvolosatovs and file an issue in lorawan-stack for documenting migrating devices from V2 to V3 via CLI.

from ttn.

htdvisser avatar htdvisser commented on September 27, 2024 1

The v2 API only allows talking to the Handler, so you can't talk to the NetworkServer.

The difference between OTAA and ABP devices in v2 is that OTAA devices have an AppKey and ABP devices don't.

from ttn.

htdvisser avatar htdvisser commented on September 27, 2024

When this is done and working, we may want to add the same to the console.

from ttn.

johanstokking avatar johanstokking commented on September 27, 2024

@neoaggelos is taking this over

@htdvisser can you let @neoaggelos know if the branch that you mentioned is still relevant and like we want this to be?

from ttn.

htdvisser avatar htdvisser commented on September 27, 2024

This was practically done. Only thing left was for @rvolosatovs to confirm what MAC settings need to be set in the network server.

from ttn.

neoaggelos avatar neoaggelos commented on September 27, 2024

OK. @neoaggelos please coordinate with @rvolosatovs and file an issue in lorawan-stack for documenting migrating devices from V2 to V3 via CLI.

There is TheThingsNetwork/lorawan-stack#1685

from ttn.

neoaggelos avatar neoaggelos commented on September 27, 2024

I'm having trouble telling apart OTAA from ABP devices from v2 with ttnctl. What I've seen is that all devices (both OTAA and ABP) have ActivationConstraints equal to Local. The console seems to be telling them apart by looking up the usages for devaddr prefixes in https://console.thethingsnetwork.org/api/handlers.

ttnctl discover broker --metadata is the closest I can get, but it does not include the usages of the prefixes.

Can we retrieve this info from the handler itself?

from ttn.

johanstokking avatar johanstokking commented on September 27, 2024

I don't think you can get this from the Handler, but you should be able to get this from the V2 NS. Indeed it's buried in a map value, @htdvisser probably knows best.

from ttn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.