Closed cnoork closed 3 years ago
When I use the commands in my TTN it is working as long there is only one AppEUI defined, when there are multiple AppEUI in the application it will fail, looks like the second query the header is not filtered for answer index:
===============
> ttnctl.exe applications select
INFO Found 6 applications:
ID Description
1 connected-office-experience-comfort
2 connected-office-experience-desk OfficeSense Desk
3 connected-office-experience-presence Officesense Presence
4 noordeindestraat noordeindestraat
5 rak811trackernl rak811 Tracker
6 thingsuno1 Testing with Things Uno
Which one do you want to use?
Enter the number (1 - 6) > 3
INFO Found 2 EUIs
EUI
1 70B3D5FFFE0B5001
2 70B3D5FFFE0B5501
Which one do you want to use?
Enter the number (1 - 2) > FATAL Invalid choice for EUI
For TTN I get the expected result with the following command:
> ttnctl devices export-all --app-id connected-office-experience-presence --app-eui 70B3D5FFFE0B5501 --frequency-plan-id EU_863_870
The only trouble is how to get a list from all AppEUI's in an application through the command line. --> just noticed when there is one excising is selected all devices are listed.
But still the need is that it is working for TTI, TTN is only to explore the commands.
Hi @cnoork,
For migrating from The Things Network Stack V2 (e.g. The Things Network) to The Things Stack (V3), please use ttn-lw-migrate
instead, as ttnctl
is not actively maintained. See instructions.
In order to work with The Things Stack (V3), you will have to use ttn-lw-cli
instead.
Hi neoaggelos,
Why is there no clue added for the TTI subscription. I tried several options but they are all failing. please give me an example from a working command.
With kind regards, Chris
We will not fix any possibly bugs in ttnctl devices export-all
. ttn-lw-migrate
should be used instead.
Refer to the tool's README.md on GitHub and the Migrate using the Migration tool page from our documentation.
This is a question for ttnctl.