1

Dependencies:   X_NUCLEO_IKS01A1 LoRaWAN-lib SX1276Lib mbed

Revision:
4:aad57e03bf82
Parent:
3:4bca7f8f731a
Child:
6:711a4e008afa
--- a/app/LoRaEventProc.cpp	Thu Apr 06 16:35:17 2017 +0000
+++ b/app/LoRaEventProc.cpp	Thu Sep 28 04:53:55 2017 +0000
@@ -35,18 +35,11 @@
     {    
     case 5:
         {   
-            uint8_t tmp;
-            uint8_t tmpLength;
             uint8_t ptrIndex = 0;
             
             // Point the pointer to position index of Tx Buffer
             LoRaApp.ApplicationPtrPos( ptrIndex );
 
-            tmp = ( AppLed != 0 ) ? 0x0F : 0x00;
-            tmpLength = 1;
-            
-            LoRaApp.ApplicationAppendData( &tmp, tmpLength ); // Populate lower nibble of 0th Byte with LED state            
-
             /*!
             *  Generate Ramp data bytes
             *  Appends incremental values of 1 Byte each to TX buffer until Full
@@ -331,14 +324,17 @@
  */
 void TxEvent( void )
 {
+    /*
     int blinkTime = 25000;
 
-    // Blink Red LED for 25msec
-    //BlinkLED( Red, blinkTime );
+    Blink Red LED for 25msec
+    BlinkLED( Red, blinkTime );
+    */
 }
 
 void RxEvent()
 {
+    /*
     // Toggle yellow LED
     //ToggleLED( Yellow );  
 
@@ -368,5 +364,6 @@
         // Turn  USR_LED OFF
         //UsrLED = 0;
     }
+    */
 }