ESP32 V3 LORA compilation issue

I have compiled some example code from HELTEC with some variables HELTEC_BOARD, DIO0 & DIO1, RST_LORA … But is seems that these variables are not declared. I had created these variable in the code to finalize the compilation, but when I use the Mcu.init the MCU reboot all the time or create a crash doesn’t. I have the ESP32 Heltec V3 Lora (V3.1). I use Arduino last version. I have installed the 3.0.1 library.
HAve you some suggestion to help me ? My goal is to start a pingpong program to exchange information between two ESP32 through LoRAWAN network ?

I can’t help with the compile issue, but be aware that LoRaWAN doesn’t do point to point aka ping-pong - if you’ve used a LW example you may want to look at other ones.