User Tools

Site Tools


project:lora_nodes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
project:lora_nodes [2018/02/28 10:02]
dp
project:lora_nodes [2018/02/28 10:16]
dp
Line 1: Line 1:
 ====== LoRa TTN node setup ====== ====== LoRa TTN node setup ======
 +Osnovni setup za LoRa TTN nodes... za Heltec i TTGO module, al vjerojatno i za druge.
  
 ===== Arduino i podrška za ESP32 ===== ===== Arduino i podrška za ESP32 =====
Line 74: Line 75:
      
   // LoRaWAN AppSKey, application session key (msb)   // LoRaWAN AppSKey, application session key (msb)
-  static const u1_t PROGMEM APPSKEY[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xCA0xAA0x090xF50xF30xBE0x480xA60x1F0xE5 };+  static const u1_t PROGMEM APPSKEY[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x000x000x000x000x000x000x000x000x000x00 };
      
   // LoRaWAN end-device address (DevAddr)   // LoRaWAN end-device address (DevAddr)
Line 287: Line 288:
 </file> </file>
  
-==== Koprija EUI i ključeve s TTN konzole u kod ==== +==== Za ABP mode ==== 
- +Za korištenje APB u settinzima devicea na TTNu treba označiti APB te će onda biti prikazani i network session key i app session key (kopiraju se u defaultnom ''msb'' formatu), te device id (kopira se direktno kao broj). 
 + 
 +==== Za OTTA mode ==== 
 +OTAA mode (sa joinanjem) se enejbla otkomentiravanjem ''"#define USE_JOINING"'' 
 + 
 +Kopraj EUI i ključeve s TTN konzole u kod:
   * Device EUI ''lsb''   * Device EUI ''lsb''
   * Application EUI ''lsb''   * Application EUI ''lsb''
project/lora_nodes.txt · Last modified: 2018/05/11 10:54 by dp