Bootcamp application example using LoRaWAN-lib MAC layer implementation. Provides an application example controlling a 3 color LED and a light sensor.

Dependencies:   mbed Chainable_RGB_LED DigitDisplay LoRaWAN-lib SX1272Lib

Fork of LoRaWAN-demo-72 by Semtech

For a detailed description of the LoRaWAN operations, please visit the MBED dedicated page at https://developer.mbed.org/teams/Semtech/code/LoRaWAN-demo-72/

Revision:
5:fa113b25f612
Parent:
0:45496a70a8a5
--- a/system/crypto/cmac.cpp	Mon Mar 14 09:19:11 2016 +0000
+++ b/system/crypto/cmac.cpp	Fri May 13 15:51:40 2016 +0000
@@ -86,7 +86,7 @@
                     len -= mlen;
             }
             while (len > 16) {      /* not last block */
-         
+
                     XOR(data, ctx->X);
                     //rijndael_encrypt(&ctx->rijndael, ctx->X, ctx->X);
 
@@ -119,7 +119,7 @@
             } else
                     LSHIFT(K, K);
 
-       
+
             if (ctx->M_n == 16) {
                     /* last block was a complete block */
                     XOR(K, ctx->M_last);
@@ -138,13 +138,13 @@
                          ctx->M_last[ctx->M_n] = 0;
    
                   XOR(K, ctx->M_last);
-          
-           
+
+
            }
            XOR(ctx->M_last, ctx->X);
-      
+
            //rijndael_encrypt(&ctx->rijndael, ctx->X, digest);
-    
+
        memcpy1(in, &ctx->X[0], 16); //Bestela ez du ondo iten
        aes_encrypt(in, digest, &ctx->rijndael);
            memset1(K, 0, sizeof K);