Loren Geilen
/
sx126x_simple_RX_shield_2020b
Test Commit
Revision 2:5e2bc143df58, committed 2020-08-20
- Comitter:
- lorgei
- Date:
- Thu Aug 20 23:47:07 2020 +0000
- Parent:
- 1:ce312fc7dd18
- Commit message:
- Test Commit
Changed in this revision
diff -r ce312fc7dd18 -r 5e2bc143df58 main.cpp --- 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); } }
diff -r ce312fc7dd18 -r 5e2bc143df58 mbed-os.lib --- 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
diff -r ce312fc7dd18 -r 5e2bc143df58 sx126x.lib --- 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