Heltec ESP32 LoraWAN P2P STM32CubeIDE

Hi, I want to send and receive data from RAK3172 to the heltec ESP32 V2. Therefore I am using the STM32CubeIDE. The problem is that I need the parameters of the ESP32 like the spreading factor, bandwidth, coding Rate and Preamble length but I cant find them nowhere.

They are all configured through software. The discussion at this link might help.