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

Files at this revision

API Documentation at this revision

Comitter:
shaunkrnelson
Date:
Thu Aug 25 15:43:20 2016 +0000
Parent:
23:dd1685057812
Commit message:
Default to UDK board type with fast reflect transmits

Changed in this revision

libmDot.lib Show diff for this revision Revisions of this file
libmDot_1012-hotifx.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r dd1685057812 -r 6f78c00a9e9c libmDot.lib
--- a/libmDot.lib	Thu Aug 25 14:40:55 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/teams/MultiTech/code/libmDot/#b50f92f1c6ff
diff -r dd1685057812 -r 6f78c00a9e9c libmDot_1012-hotifx.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libmDot_1012-hotifx.lib	Thu Aug 25 15:43:20 2016 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/users/shaunkrnelson/code/libmDot_1012-hotifx/#5f84bdd949b8
diff -r dd1685057812 -r 6f78c00a9e9c main.cpp
--- 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;