From 2ba1c54da4c4e420b72983efc2770826dba3e4ed Mon Sep 17 00:00:00 2001 From: unixweb Date: Sun, 6 Oct 2019 00:06:12 +0200 Subject: [PATCH] Edit Code for Arduino --- ttn_gps_mapper.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ttn_gps_mapper.ino b/ttn_gps_mapper.ino index f36f44e..03ddd64 100644 --- a/ttn_gps_mapper.ino +++ b/ttn_gps_mapper.ino @@ -29,21 +29,21 @@ const lmic_pinmap lmic_pins = { // replace with YOUR DEVEUI here use LSB and copy hex to replace 0x00 static const u1_t PROGMEM DEVEUI[8]={ - 0x5C, 0xD6, 0xF2, 0x26, 0x4E, 0xFD, 0xA9, 0x00 }; + 0x00, 0xD0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; void os_getDevEui (u1_t* buf) { memcpy_P(buf, DEVEUI, 8); } // replace with YOUR APPEUI here use LSB and copy hex to replace 0x00 static const u1_t PROGMEM APPEUI[8]={ - 0x62, 0x32, 0x02, 0xD0, 0x7E, 0xD5, 0xB3, 0x70 }; + 0x00, 0x00, 0x00, 0xD0, 0x00, 0x00, 0x00, 0x00 }; void os_getArtEui (u1_t* buf) { memcpy_P(buf, APPEUI, 8); } // replace with YOUR APPKEY here use MSB and copy hex to replace 0x00 static const u1_t PROGMEM APPKEY[16]={ - 0xCB, 0xB3, 0x67, 0x6F, 0x88, 0xB6, 0x26, 0x6F, 0x93, 0x9B, 0xE5, 0xC2, 0x5F, 0xF5, 0xE4, 0xE1 }; + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; void os_getDevKey (u1_t* buf) { memcpy_P(buf, APPKEY, 16); };