Sample import files
This topic lists the following information:
OTAA device import .CSV file
A definition is given for each column of the table available in the .CSV file.
Column | Definition | Cardinality | Description |
---|---|---|---|
A | Directive | Mandatory |
|
B | DevEUI or Onboarding tag | Mandatory |
|
C | n/a | ||
D | Device model ID | Mandatory (Optional) |
|
E | AppEUI | Mandatory (Optional) |
|
F | AppKey | Mandatory |
|
G | n/a | ||
H | Features | Optional |
|
I | n/a | ||
J | n/a | ||
K | Device name | Mandatory |
|
L | Admin LAT | Optional |
|
M | Admin LON | ||
N | Additional information | Optional |
|
O | n/a | ||
P | n/a | ||
Q | Motion indicator | Optional |
|
R | n/a | ||
S | n/a | ||
T | Connection IDs | Mandatory |
|
U | NwkKey | Optional |
|
V | n/a | ||
W | n/a | ||
X | n/a | ||
Y | Owner Token | Optional |
|
Z | Protocol Identifier | Optional |
|
Columns C, G to J, O to S and V to X are ignored. They are placeholders used only in ThingPark Advanced Edition.
OTAA sample import file
A sample import file of an Over The-Air-Activation is given as follows:
# DEVICE IMPORTATION (CSV)
#
# SYNTAX for Over-the-Air Activation (OTAA) with local Join Server
#Directive (CREATE_OTAA),DevEUI,n/a,Device model ID,JoinEUI (AppEUI),AppKey,n/a,Features,n/a,n/a,Device name,Latitude,Longitude,Additional information,n/a,n/a,Motion indicator,n/a,n/a,Application IDs,NwkKey,n/a,n/a,n/a,n/a,Protocol identifier
#MANDATORY,MANDATORY,,MANDATORY,OPTIONAL,MANDATORY,,OPTIONAL,,,MANDATORY,
OPTIONAL,OPTIONAL,OPTIONAL,,,OPTIONAL,,,MANDATORY,OPTIONAL,,,,,OPTIONAL
CREATE_OTAA,F03D291000F00001,,LORA/GenericA.1.0.2b_ETSI_Rx2-SF12,8899AABBCCDDEEFF,8899AABBCCDDEEFF8899AABBCCDDEEFF,,,,,My first OTAA device,50.859988,4.35826,"Mme Michu, Appt 434 3ième gauche, 8 rue de fleurs, Toulouse",,,,,,TWA_1100000114.658.AS,,,,,,
CREATE_OTAA,F03D291000F00002,,LORA/GenericA.1.1a_ETSI_Rx2-SF12,,1234AABBCCDDEEFF8899AABBCCDDEEFF,,NetworkGeolocation,,,Another OTAA device,,,"John Doe 123 Main St Anytown, USA",,,BIKE_SPEED,,,"TWA_1100000114.658.AS,TWA_1100000114.751.AS",5678AABBCCDDEEFF8899AABBCCDDEEFF,,,,,custom:driver:1
#
# SYNTAX for Over-the-Air Activation (OTAA) with external Join Server
#Directive (CREATE_OTAA),DevEUI|onboarding tag,n/a,Device model ID,JoinEUI (AppEUI),n/a,n/a,Features,n/a,n/a,Device name,Latitude,Longitude,Additional information,n/a,n/a,Motion indicator,n/a,n/a,Application IDs,n/a,n/a,n/a,n/a,Owner Token,Protocol identifier
#MANDATORY,MANDATORY,,MANDATORY,MANDATORY,,,OPTIONAL,,,MANDATORY,OPTIONAL,
OPTIONAL,OPTIONAL,,,OPTIONAL,,,MANDATORY,,,,,OPTIONAL,OPTIONAL
CREATE_OTAA,F03D291000F00021,,LORA/GenericA.1.0.2b_ETSI_Rx2-SF12,8899AABBCCDDEEFF,,,,,,My first OTAA device,50.859988,4.35826,"Mme Michu, Appt 434 3ième gauche, 8 rue de fleurs, Toulouse",,,,,,TWA_1100000114.658.AS,,,,,BEC499C69E9C939E413B663961636C61,
CREATE_OTAA,F03D291000F00022,,LORA/GenericA.1.1a_ETSI_Rx2-SF12,1234AABBCCDDEEFF,,,NetworkGeolocation,,,Another OTAA device,,,"John Doe 123 Main St Anytown, USA",,,BIKE_SPEED,,,"TWA_1100000114.658.AS,TWA_1100000114.751.AS",,,,,,custom:driver:1
ABP device import .CSV file
A definition is given for each column of the table in the .CSV file.
Column | Definition | Cardinality | Description |
---|---|---|---|
A | Directive | Mandatory |
|
B | DevEUI | Mandatory |
|
C | DevAddr | Mandatory |
|
D | Device model ID | Mandatory |
|
E | NwkSKey or FNwkSIntKey | Mandatory |
|
F | AppSKeys | Mandatory |
|
G | n/a | ||
H | Features | Optional |
|
I | n/a | ||
J | n/a | ||
K | Device name | Mandatory |
|
L | Admin LAT | Optional |
|
M | Admin LON | ||
N | Additional information | Optional |
|
O | n/a | ||
P | n/a | ||
Q | Motion indicator | Optional |
|
R | n/a | ||
S | n/a | ||
T | Connection IDs | Mandatory |
|
U | SNwkSIntKey | Optional |
|
V | NwkSEncKey | Optional |
|
W | n/a | ||
X | n/a | ||
Y | n/a | ||
Z | Protocol Identifier | Optional |
|
Columns C, G to J, O to S and V to X are ignored. They are placeholders used only in ThingPark Advanced Edition.
ABP sample import file
A sample import file of an Activation By Personalization is given as follows:
# SYNTAX for Activation-by-Personalization (ABP)
#Directive (CREATE_ABP),DevEUI,DevAddr,Device model ID,NwkSKey/FNwkSIntKey,AppSKeys,n/a,Features,n/a,n/a,Device name,Latitude,Longitude,Additional information,n/a,n/a,Motion indicator,n/a,n/a,Application IDs,SNwkSIntKey,NwkSEncKey,n/a,n/a,n/a,Protocol identifier
#MANDATORY,MANDATORY,MANDATORY,MANDATORY,MANDATORY,MANDATORY,,OPTIONAL,,,
MANDATORY,OPTIONAL,OPTIONAL,OPTIONAL,,,OPTIONAL,,,MANDATORY,OPTIONAL,
OPTIONAL,,,,OPTIONAL
CREATE_ABP,F03D291000F00011,00ABC489,LORA/GenericA.1.0.2b_ETSI_Rx2-SF12,0011AABBCCDDEEFF8899AABBCCDDEEFF,"<AppSKeys><AppSKey Port=\*"">1122AABBCCDDEEFF8899AABBCCDDEEFF</AppSKey></AppSKeys>""",,
PassiveRoaming,,,My first ABP device,50.859988,4.35826,"Mme Michu, Appt 434 3ième gauche, 8 rue de fleurs, Toulouse",,,,,,TWA_1100000114.658.AS,,,,,,
CREATE_ABP,F03D291000F00012,00ABC490,LORA/GenericA.1.1a_ETSI_Rx2-SF12,2233AABBCCDDEEFF8899AABBCCDDEEFF,"<AppSKeys><AppSKey Port=\*"">3344AABBCCDDEEFF8899AABBCCDDEEFF</AppSKey></AppSKeys>""",,"
NetworkGeolocation,PassiveRoaming",,,Another ABP device,,,"John Doe 123 Main St Anytown, USA",,,BIKE_SPEED,,,"TWA_1100000114.658.AS,TWA_1100000114.751.AS",4455AABBCCDDEEFF8899AABBCCDDEEFF,
5566AABBCCDDEEFF8899AABBCCDDEEFF,,,,custom:driver:1