Test Commit

Dependencies:   sx126x

Files at this revision

API Documentation at this revision

Comitter:
lorgei
Date:
Thu Aug 20 23:47:07 2020 +0000
Parent:
1:ce312fc7dd18
Commit message:
Test Commit

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
sx126x.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue May 22 14:27:12 2018 -0700
+++ b/main.cpp	Thu Aug 20 23:47:07 2020 +0000
@@ -69,7 +69,25 @@
 
     radio.start_rx(RX_TIMEOUT_CONTINUOUS);
     
-    for (;;) {     
+     for (;;) {  
+     
+//     PacketParams_t p;
+
+ //       p.lora.PreambleLengthHi = 0;
+  //      p.lora.PreambleLengthLo = 8;
+  //      p.lora.HeaderType = HEADER_TYPE_VARIABLE_LENGTH;
+  //      p.lora.PayloadLength = 0x40;    // max limit in rx
+  //      p.lora.CRCType = CRC_ON;
+  //      p.lora.InvertIQ = STANDARD_IQ;
+
+ //       radio.xfer(OPCODE_SET_PACKET_PARAMS, 6, p.buf);
+     
+    
+          
         radio.service();
+         uint8_t buf[2];
+        buf[0] = 0; // TX base address
+        buf[1] = 0; // RX base address
+      radio.xfer(OPCODE_SET_BUFFER_BASE_ADDR, 2, buf);
     }
 }
--- a/mbed-os.lib	Tue May 22 14:27:12 2018 -0700
+++ b/mbed-os.lib	Thu Aug 20 23:47:07 2020 +0000
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/mbed-os/#79640c6a885d2006d3cedff3f666f8c253818c27
+https://github.com/ARMmbed/mbed-os/#e4b81f67f939a0c0b11c147ce74aa367271e1279
--- a/sx126x.lib	Tue May 22 14:27:12 2018 -0700
+++ b/sx126x.lib	Thu Aug 20 23:47:07 2020 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/dudmuck/code/sx126x/#497af0bd9e53
+https://os.mbed.com/users/dudmuck/code/sx126x/#5703598a88fb