Does anyone know how to control the bandwidth of the WiFi-Lora ESP32 V2? I am using the example code of the Heltec WiFi-Lora ESP32 V2 with the factory test parameters set to default:
#define RF_FREQUENCY 923000000 // Hz
#define TX_OUTPUT_POWER 10 // dBm
#define LORA_BANDWIDTH 0 // [0: 125 kHz, 1: 250 kHz, 2: 500 kHz, 3: Reserved]
#define LORA_SPREADING_FACTOR 7 // [SF7..SF12]
#define LORA_CODINGRATE 1 // [1: 4/5, 2: 4/6, 3: 4/7, 4: 4/8]
#define LORA_PREAMBLE_LENGTH 8 // Same for Tx and Rx
#define LORA_SYMBOL_TIMEOUT 0 // Symbols
#define LORA_FIX_LENGTH_PAYLOAD_ON false
#define LORA_IQ_INVERSION_ON false
I cannot change the bandwidth to 125 kHz; it runs with a bandwidth of around 500KHz. showing as attachment . I checked it with an SDR. However, when I use the firmware that came with the device when I bought it and restored it from a saved bin file, it shows a perfect bandwidth of 125 kHz. Not just the bandwidth, but even the TX output power cannot be controlled. I observed this with an SDR; even when I set it to -60 dBm, it still shows a high output like 10 dBm.