IDEETRON Nexus LoRaWAN Скачать руководство пользователя страница 10

 

 

Pagina 10 of 20 

14-4-2017 

Nexus LoRaWAN 

7.11  mac set/get cnf 

With this command you can set the message type of the LoRaWAN message. It can be set to a 
confirmed or unconfirmed message. This determines if you request an acknowledge from the 
LoRaWAN service. 
 
To read confirmation sent: mac get cnf 
To write confirmation sent: mac set cnf [Confirm] 
 
[Confirm] can have  the following values: 
 

00

 

Unconfirmed message type 

01

 

Confirmed message type 

 
The answer form the nexus is: 
 
Confirm: [Confirm] 
 

7.12  mac set/get chop 

With this command you can chose if channel hopping is activated. When channel hopping is 
activated every data message will be send on the next channel. If the last message was sent on 
channel 07 it will go back to channel 00. See Table 8 for the different channels 
 
To read channel hopping sent: mac get chhop 
To write channel hopping sent: mac set chhop [Channel hopping] 
 
[Channel hopping] can have  the following values: 
 

00

 

No channel hopping 

01

 

Channel hopping active 

 
The answer form the nexus is: 
 
Channel Hopping: [Channel hopping] 

7.13  mac set/get class 

With this command you can set the device class for the Nexus. This sketch supports type A and C. 
A type A device will be inactive until you sent a message. After sending a message the type A 
device will switch on the receiver in the listen for a possible message in receive slot 2. 
In a type C device the receiver is always switched on, and can receive a message any time. 
 
To read the class sent: mac get class 
To write the class sent: mac set class [Class] 
 
[Class] can have  the following values: 
 

00

 

Class A 

01

 

Class C 

 
The answer form the nexus is: 
 
Mote Class: A/C 
 

Содержание Nexus LoRaWAN

Страница 1: ...Manual Nexus LoRaWAN Date 13 04 2017 Version 2 0 Title Manual Nexus LoRaWAN...

Страница 2: ...at 81 3941 JL Doorn Nederland Tel 31 0 343 769094 E mail info ideetron nl 2 Table of contents 1 REVISION HISTORY 2 1 1 Contact 2 2 TABLE OF CONTENTS 2 3 INTRODUCTION 4 4 DEFAULT SETTINGS 4 5 LORAWAN I...

Страница 3: ...ridx 9 7 11 mac set get cnf 10 7 12 mac set get chop 10 7 13 mac set get class 10 7 14 mac set get appkey 11 7 15 mac set get deveui 11 7 16 mac set get appeui 11 8 EXAMPLES 11 8 1 Activation By Perso...

Страница 4: ...rt up of the Nexus board Radio connection Modulation LoRa Channel Tx 868 100 MHz Datarate Tx SF12 BW 125 kHz Channel Rx 869 525 MHz Datarate Rx SF9 BW 125 kHz Device Address DS2401 unique number Netwo...

Страница 5: ...RC and MIC is ok and if it is a message for this device Then it will be broken down in the different fields The Nexus will send the following information using to serial communication Message Value De...

Страница 6: ...hat can be used to communicate with the Nexus using a terminal program All commands and data is sent as ASCII characters All data is one or more bytes of hexadecimal numbers represented by 2 ASCII cha...

Страница 7: ...nel for transmit And it will listen on the set receive Datarate and Channel for a Join accept message When a join accept message is received it will show the following DevAddr device addresss NwkSKey...

Страница 8: ...t drrx To write the datarate sent mac set drrx datarate datarate can have to values shown in Table 7 datarate Description 00 SF 12 BW 125 kHz 01 SF 11 BW 125 kHz 02 SF10 BW 125 kHz 03 SF9 BW 125 kHz 0...

Страница 9: ...set get chtx This command is used to read or write the transmit channel To read the channel sent mac get chtx To write the channel sent mac set chtx channel channel can have to values shown in Table 8...

Страница 10: ...ill go back to channel 00 See Table 8 for the different channels To read channel hopping sent mac get chhop To write channel hopping sent mac set chhop Channel hopping Channel hopping can have the fol...

Страница 11: ...d to read or write the application EUI To read the EUI sent mac get appeui To write the EUI sent mac set appeui EUI EUI is 8 bytes long 0011223344556677 The answer form the nexus is AppEUI EUI 8 Examp...

Страница 12: ...ou need to know the NwkSKey AppSKey and DevAddr For this example we use the default key s NwkSkey 2b7e151628aed2a6abf7158809cf4f3c AppSkey 2b7e151628aed2a6abf7158809cf4f3c 5 To get the Device addres f...

Страница 13: ...4 Sending command 10 Now you have all the information you need 11 Go back to the Semtech site and fill in the information into the correct fields 12 Then hit the add button Figure 5 Add to semtech 13...

Страница 14: ...te and check if the message has arrived This may take some time 1 min 16 To see the data you can click View data from application defaultApp 17 To see the radio settings for a message click View trans...

Страница 15: ...rate drtx 00 02 Receive channel chrx 10 Receive datarate drrx 03 Table 9 Channel and datarate settings Semtech To add a mote whit OTAA to semtech follow these steps 1 Sign in or create an account on i...

Страница 16: ...Pagina 16 of 20 14 4 2017 Nexus LoRaWAN Figure 12 Set parameters 7 Send the join command and wait for a reply Figure 12 OTAA response...

Страница 17: ...join Description Setting Value Transmit channel chtx 00 Transmit datarate drtx 00 02 Receive channel chrx 10 Receive datarate drrx 00 Table 10 Channel and datarate settings TTN To add a mote whit OTAA...

Страница 18: ...14 4 2017 Nexus LoRaWAN Figure 15 Device form 7 After registering the device you will see an overview of the device settings You will see the Device EUI Application EUI and Application Key Figure 16...

Страница 19: ...Pagina 19 of 20 14 4 2017 Nexus LoRaWAN 8 Start up realterm and set the parameters Figure 17 Set parameters...

Страница 20: ...Pagina 20 of 20 14 4 2017 Nexus LoRaWAN 9 Send the join command and wait for reply Figure 18 OTAA response...

Отзывы: