#include #include #include #include "settings.h" // LoRaWAN NwkSKey, network session key // This is the default Semtech key, which is used by the early prototype TTN // network. const PROGMEM u1_t NWKSKEY[16] = { .... }; // LoRaWAN AppSKey, application session key // This is the default Semtech key, which is used by the early prototype TTN // network. const u1_t PROGMEM APPSKEY[16] = { ..... }; // LoRaWAN end-device address (DevAddr) const u4_t DEVADDR = 0x....; // <-- Change this address for every node! // The RFM95 pin mapping const lmic_pinmap lmic_pins = { .nss = PIN_SPI_CS_RFM95, .rxtx = LMIC_UNUSED_PIN, .rst = 9, .dio = {2, 6, 7}, }; // The AES-ECB 128-bit key to encrypt the data with. // See the README for a Bash oneliner that generates a new key in the right format. uint8_t encrypt_key[16] = { ..... };