:)

Dependencies:   Servo Cayenne-LPP

Files at this revision

API Documentation at this revision

Comitter:
ragas
Date:
Tue Feb 11 08:40:26 2020 +0000
Parent:
60:f4e2002a9138
Commit message:
htzbnx

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed_app.json Show annotated file Show diff for this revision Revisions of this file
diff -r f4e2002a9138 -r c608b27d793d main.cpp
--- a/main.cpp	Mon Jan 27 14:05:26 2020 +0000
+++ b/main.cpp	Tue Feb 11 08:40:26 2020 +0000
@@ -188,15 +188,15 @@
     int16_t retcode;
     int32_t sensor_value, rh_value;
 
- /*MyTH02.startTempConv(true,true);
+ MyTH02.startTempConv(true,true);
     iTime= MyTH02.waitEndConversion();// wait until onversion  is done
      iTempbrute= MyTH02.getConversionValue();
     sensor_value=MyTH02.getLastRawTemp();
     printf ("\n\r temp value=%d  %d",sensor_value,iTempbrute );
-  */
+  
  
 
-
+/*
     if (ds1820.begin()) {
         ds1820.startConversion();
         sensor_value = ds1820.read();
@@ -206,7 +206,7 @@
         printf("\r\n No sensor found \r\n");
         return;
     }
-    
+   */ 
           
     Payload.reset();
     size = Payload.addTemperature(1, (float) sensor_value/100);    
diff -r f4e2002a9138 -r c608b27d793d mbed_app.json
--- a/mbed_app.json	Mon Jan 27 14:05:26 2020 +0000
+++ b/mbed_app.json	Tue Feb 11 08:40:26 2020 +0000
@@ -35,12 +35,12 @@
             "lora.duty-cycle-on": true,
             "lora.phy": "EU868",
           
-            "lora.device-eui": " { 0x00, 0x01, 0x91, 0xE1, 0x38, 0xC2, 0x23, 0x02 }",
-            "lora.application-eui": "{ 0x70, 0xB3, 0xD5, 0x7E, 0xD0, 0x02, 0x16, 0x00 }",
-            "lora.application-key": "{ 0x77, 0x8A, 0x26, 0xDF, 0x9D, 0x70, 0xDB, 0xEF, 0x43, 0x03, 0x0F, 0xD2, 0x5F, 0x47, 0x1D, 0x00 }",
-            "lora.appskey": "{ 0x25, 0x69, 0xD2, 0x16, 0xC6, 0x8F, 0x94, 0xC3, 0x04, 0xC5, 0x96, 0x7B, 0x69, 0xA0, 0x3A, 0x00 }",
-            "lora.nwkskey": "{ 0xE9, 0xCA, 0xC2, 0xA8, 0xDC, 0x06, 0x4F, 0x62, 0x4D, 0xAC, 0x06, 0x1D, 0x7C, 0x51, 0x2C, 0x00 }",
-            "lora.device-address": " 0x26011C00"
+            "lora.device-eui": " { 0x00, 0xA8, 0x2A, 0xDD, 0x41, 0xCE, 0x4F, 0x41 }", 
+            "lora.application-eui": "{ 0x70, 0xB3, 0xD5, 0x7E, 0xD0, 0x02, 0x97, 0x5C }",
+            "lora.application-key": "{ 0x70, 0xB3, 0xD5, 0x7E, 0xD0, 0x02, 0x97, 0x5C }",
+            "lora.appskey": "{ 0xC4, 0x9F, 0xF2, 0x52, 0x6D, 0xDA, 0x35, 0x9D, 0x5D, 0xD3, 0xFF, 0x6D, 0x13, 0xA5, 0xDE, 0xB9 }",
+            "lora.nwkskey": "{ 0xED, 0x9A, 0xD3, 0x3A, 0xC9, 0xA8, 0x61, 0x08, 0x49, 0x06, 0xE1, 0x3B, 0xEC, 0xC0, 0x30, 0x6A }",
+            "lora.device-address": " 0x260114B6"
             
         },