Changes for page Notes for TTN
Last modified by Xiaoling on 2025/08/04 14:58
From version 207.1
edited by Bei Jinggeng
on 2023/03/23 15:39
on 2023/03/23 15:39
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -708,14 +708,21 @@ 708 708 ))) 709 709 710 710 * End node is connected to serial port to show the Join frequency and DR. (If possible) 711 + 711 711 * Gateway (from gateway UI) traffic to show the packet got from end node and receive from Server. (If possible) 713 + 712 712 * Gateway traffic (from server UI) to shows the data exchange between gateway and server. (Normally possible) 715 + 713 713 * End Node traffic (from server UI) to shows end node activity in server. (Normally possible) 717 + 714 714 * End Node Keys screen shot shows in end node and server. so we can check if the keys are correct. (In most case, we found keys doesn't match, especially APP EUI) 715 715 720 + 721 + 716 716 (% style="color:blue" %)**1. End Device Join Screen shot, we can check:** 717 717 718 718 * If the device is sending join request to server? 725 + 719 719 * What frequency the device is sending? 720 720 721 721 [[image:image-20220526141308-33.png]] ... ... @@ -805,6 +805,7 @@ 805 805 806 806 == 8.1 How to import devices keys to server. == 807 807 815 + 808 808 **For TTS in LPS8v2** 809 809 810 810 Open your application and click the button **Import end devices** ... ... @@ -811,6 +811,7 @@ 811 811 812 812 [[image:https://www.thethingsindustries.com/docs/getting-started/migrating/import-end-devices.png||alt="import devices" height="517" width="828"]] 813 813 822 + 814 814 Select the **File format** and upload the file (e.g. or ).devices/jsondevices.csv 815 815 816 816 You can specify **Fallback values** for Frequency plan and LoRaWAN and Regional Parameters version, in case the import file does not specify these settings for the device. ... ... @@ -831,8 +831,10 @@ 831 831 832 832 Devices are now registered on The Things Stack. 833 833 834 -=== JSON File Reference === 835 835 844 +=== **JSON File Reference** === 845 + 846 + 836 836 The Things Stack allows you to import end devices from V2, ChirpStack and other LoRaWAN networks using a JSON file describing those devices. 837 837 838 838 Using JSON file with device descriptions, you can migrate end devices with or without their existing sessions. ... ... @@ -872,23 +872,36 @@ 872 872 The format above is considered by the Console and CLI as a JSON stream, processing one object at a time. For more details in how to use the file 873 873 874 874 875 -=== CSV File Reference === 886 +=== **CSV File Reference** === 876 876 888 + 877 877 The Things Stack has support for importing end devices from CSV (comma-separated values) files. This is useful when batches of end devices are managed in Microsoft Excel or any other spreadsheet or database that can export to CSV file. 878 878 879 879 The CSV import in The Things Stack uses the following settings: 880 880 881 881 * Semicolon () as field delimiter. This makes working with Microsoft Excel and other spreadsheets convenient; 894 + 882 882 * Header row is required 896 + 883 883 * On each row, the same number of fields as on the header line 898 + 884 884 * Use quotes to use in a field value; 900 + 885 885 * Use double quotes to escape quotes 902 + 886 886 * Unknown header columns are permitted and ignored 904 + 887 887 * Name and id cannot have capital letters and special characters 906 + 888 888 * Example column lorawan_phy_version is not needed 889 889 890 - ===Example===909 +(% style="display:none" %) 891 891 911 + 912 + 913 +=== **Example** === 914 + 915 + 892 892 Minimal example: 893 893 894 894 {{{dev_eui;join_eui;frequency_plan_id;lorawan_version;lorawan_phy_version;app_key ... ... @@ -905,16 +905,23 @@ 905 905 test-three;3333333333333333;3333333333333333;Device 3;EU_863_870_TTN;MAC_V1_0_4;RP002_V1_0_3;the-things-industries;generic-node-sensor-edition;1.0.4;1.0;EU_863_870;33333333333333333333333333333333 906 906 }}} 907 907 908 -=== Excel Template === 909 909 933 + 934 +=== **Excel Template** === 935 + 936 + 910 910 [[Download the Excel template>>url:https://www.thethingsindustries.com/docs/getting-started/migrating/tts-end-devices-csv-template.xlsx]]. You can remove all columns that are not required (see above). 911 911 912 -= = 913 913 914 914 = 9. Trouble Shooting. = 915 915 916 916 == 9.1 How to solve the problem of MIC Mismatch? == 917 917 944 + 918 918 Please refer to the link below: 919 919 920 920 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H9.WhydoIseea22MICMismatch22errormessagefromtheserver3F>>url:http://wiki.dragino.com/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H9.WhydoIseea22MICMismatch22errormessagefromtheserver3F]] 948 + 949 + 950 + 951 +