It is required to pass the frequency plan ID (v2 devices don't have one). We could probably pick a default one from the handler/router, but I think it's better to let the user decide.
Review
@htdvisser please review CLI and usage. Also, running ttnctl locally updates some packages in go.mod. Not sure how to proceed with these.
@rvolosatovs please review the MAC settings
Summary
Closes #764 . This is the v2 part of migrating end devices to the v3.
Changes
ttnctl devices export <device-id>
commandttnctl devices export-all
commandExample
It is required to pass the frequency plan ID (v2 devices don't have one). We could probably pick a default one from the handler/router, but I think it's better to let the user decide.
Review
@htdvisser please review CLI and usage. Also, running
ttnctl
locally updates some packages ingo.mod
. Not sure how to proceed with these. @rvolosatovs please review the MAC settings