LINK CHECK ANS -- I want to print it on my OLED

Hello, I am using LORA 32 using PlatformIO. I am sending LINKCHECKREQ to the my network server and I am getting the ans in my network server GUI logger.
image
I want to display the GatewayCount and margin on my OLED. But, I am not able to use it in my main code. Any help and direction will help.

You can refer to the official display code

https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/tree/master/esp32/libraries/Heltec-Example/examples/OLED

No, you got that wrong, I am able to use the data from my main.cpp and display it content on the OLED but the lorarwanapp.h and lorawanapp.cpp, the function are accessible but I dont how to use those variables in my main and display on my OLED.