WiFi LoRa 32(V3)

Hi,
Tried compiling this library in arduino IDE Heltec ESP32 library but LoraWan_App.h is missing.
Even if I include the Lorwan library from * [Resource] — Heltec ESP (ESP32&ESP8266) framework (Include LoRaWAN library) still getting some errors…

Error message in Arduino ide

c:\Users\C11421\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\loramac\region\RegionAS923.c: In function ‘RegionAS923TxConfig’:
c:\Users\C11421\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\loramac\region\RegionAS923.c:694:71: error: ‘LORAWAN_PREAMBLE_LENGTH’ undeclared (first use in this function)
Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, LORAWAN_PREAMBLE_LENGTH, false, true, 0, 0, false, 3e3 );
^~~~~~~~~~~~~~~~~~~~~~~
c:\Users\C11421\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\loramac\region\RegionAS923.c:694:71: note: each undeclared identifier is reported only once for each function it appears in
c:\Users\C11421\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\loramac\region\RegionAU915.c: In function ‘RegionAU915TxConfig’:
c:\Users\C11421\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\loramac\region\RegionAU915.c:592:72: error: ‘LORAWAN_PREAMBLE_LENGTH’ undeclared (first use in this function)
Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, bandwidth, phyDr, 1, LORAWAN_PREAMBLE_LENGTH, false, true, 0, 0, false, 3e3 );
^~~~~~~~~~~~~~~~~~~~~~~
c:\Users\C11421\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\loramac\region\RegionAU915.c:592:72: note: each undeclared identifier is reported only once for each function it appears in
c:\Users\C11421\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\loramac\region\RegionCN470.c: In function ‘RegionCN470TxConfig’:
c:\Users\C11421\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\loramac\region\RegionCN470.c:558:64: error: ‘LORAWAN_PREAMBLE_LENGTH’ undeclared (first use in this function)
Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, 0, phyDr, 1, LORAWAN_PREAMBLE_LENGTH, false, true, 0, 0, false, 4000 );
^~~~~~~~~~~~~~~~~~~~~~~
c:\Users\C11421\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\loramac\region\RegionCN470.c:558:64: note: each undeclared identifier is reported only once for each function it appears in
c:\Users\C11421\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\loramac\region\RegionCN779.c: In function ‘RegionCN779TxConfig’:
c:\Users\C11421\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\loramac\region\RegionCN779.c:632:71: error: ‘LORAWAN_PREAMBLE_LENGTH’ undeclared (first use in this function)
Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, LORAWAN_PREAMBLE_LENGTH, false, true, 0, 0, false, 3e3 );
^~~~~~~~~~~~~~~~~~~~~~~
c:\Users\C11421\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\loramac\region\RegionCN779.c:632:71: note: each undeclared identifier is reported only once for each function it appears in
c:\Users\C11421\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\loramac\region\RegionEU433.c: In function ‘RegionEU433TxConfig’:
c:\Users\C11421\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\loramac\region\RegionEU433.c:631:71: error: ‘LORAWAN_PREAMBLE_LENGTH’ undeclared (first use in this function)
Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, LORAWAN_PREAMBLE_LENGTH, false, true, 0, 0, false, 3e3 );
^~~~~~~~~~~~~~~~~~~~~~~
c:\Users\C11421\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\loramac\region\RegionEU433.c:631:71: note: each undeclared identifier is reported only once for each function it appears in

exit status 1

Compilation error: exit status 1

1)) What is the procedure to test the Lora data transfer and receive?
2)) How to test the example code. what procedures to follow. As a beginner please guide us to test these using arduino ide

There are many threads on this forum discussing issues with the V3 boards. Perhaps start with this one:


and if you need more just search the forum for something like “WiFi LoRa 32 V3”.

The most likely reason for your immediate problems is that you do not have the correct software installed, and this subject is discussed, with links to other related threads, in the above.

With the correct software installed, there are example sketches provided in the various development platforms that illustrate how to use the LoRaWAN software. On this subject, you could also search the forum for “RadioLib”, which seems to be a popular alternative to the Heltec LoRaWAN software.