UDK + Shield

Dependencies:   DOGS102 ISL29011 MMA845x MPL3115A2 NCP5623B libmDot_1012-hotifx mbed-rtos mbed-src Senet_Packet X_NUCLEO_IKS01A1

Fork of MTDOT-EVBDemo_Senet by Dave Kjendal

Revision:
24:6f78c00a9e9c
Parent:
23:dd1685057812
--- a/main.cpp	Thu Aug 25 14:40:55 2016 +0000
+++ b/main.cpp	Thu Aug 25 15:43:20 2016 +0000
@@ -33,6 +33,11 @@
 #include "mbed.h"
 #include "senet_packet.h"
 
+#if !defined(MTDOT_EVB) && !defined(MTDOT_UDK)
+#define MTDOT_UDK
+#define REFLECT_FAST_TX
+#endif
+
 // EVB Sensors
 #ifdef MTDOT_EVB
 
@@ -133,8 +138,13 @@
 /* 
  * LoRaWAN Configuration 
  */
+ 
+ // Senet Developer Portal Application EUI
 static uint8_t app_id[8]   = {0x00,0x25,0x0C,0x00,0x00,0x01,0x00,0x01};
+
+// Get Application Key from Senet Developer Portal Device Edit page
 static uint8_t app_key[16] = {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F};
+
 static std::vector<uint8_t> config_app_id(app_id,app_id+sizeof(app_id)/sizeof(uint8_t));
 static std::vector<uint8_t> config_app_key(app_key,app_key+sizeof(app_key)/sizeof(uint8_t));
 static uint8_t config_frequency_sub_band = 0;