1SJ Test_Example Tx
Dependencies: sx126x sx12xx_hal
Revision 4:9696eee39801, committed 2022-01-17
- Comitter:
- lorgei
- Date:
- Mon Jan 17 17:36:25 2022 +0000
- Parent:
- 3:f7ee8ab959b2
- Commit message:
- 1SJ Test Ex
Changed in this revision
diff -r f7ee8ab959b2 -r 9696eee39801 main.cpp --- a/main.cpp Mon Apr 06 10:25:15 2020 -0700 +++ b/main.cpp Mon Jan 17 17:36:25 2022 +0000 @@ -6,10 +6,10 @@ #define CF_HZ 915000000 #define TX_DBM 20 #elif defined(SX126x_H) - #define BW_KHZ 125 - #define SPREADING_FACTOR 7 + #define BW_KHZ 500 + #define SPREADING_FACTOR 8 #define CF_HZ 915000000 - #define TX_DBM (Radio::chipType == CHIP_TYPE_SX1262 ? 20 : 14) + //#define TX_DBM (Radio::chipType == CHIP_TYPE_SX1262 ? 20 : 14) #elif defined(SX128x_H) #define BW_KHZ 200 #define SPREADING_FACTOR 7 @@ -79,7 +79,7 @@ Radio::LoRaModemConfig(BW_KHZ, SPREADING_FACTOR, 1); Radio::SetChannel(CF_HZ); - Radio::set_tx_dbm(TX_DBM); + Radio::set_tx_dbm(20); // preambleLen, fixLen, crcOn, invIQ Radio::LoRaPacketConfig(8, false, true, false);
diff -r f7ee8ab959b2 -r 9696eee39801 sx126x.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sx126x.lib Mon Jan 17 17:36:25 2022 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/dudmuck/code/sx126x/#7a3ec8bb8407
diff -r f7ee8ab959b2 -r 9696eee39801 sx12xx_hal.lib --- a/sx12xx_hal.lib Mon Apr 06 10:25:15 2020 -0700 +++ b/sx12xx_hal.lib Mon Jan 17 17:36:25 2022 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/users/dudmuck/code/sx12xx_hal/#e1c04ec39aa4 +https://os.mbed.com/users/dudmuck/code/sx12xx_hal/#78c5e644d37a