I need some help with rewriting my BT Code into BLE Code

Hello, can anyone assist me with finishing this code transition from BT to BLE for my Esp32 project ?
My original code for BT Classic: 0bin - encrypted pastebin
My Actual Work in Progress Code for BLE: 0bin - encrypted pastebin
I am trying to take all I did in BT Classic and have it working exacly the same in BLE but the Rssi keeps returning 0’s in the BLE code and I don’t get why, even after I do connect with my iPhone to the Esp32 the Rssi is still read as 0’s.
In the BT Classic example everything works perfectly fine, but I am struggling to make my BLE code work.
What the first code does is reading Rssi signal from any device that connects to the Esp32, aproximating a distance based on the values and outputing the resulting Distance and Rssi in a list of pairs form via text that is sent to the other device, continously so I can use that information to generate a graph and do various things with it.
I tried taking all I did in my BT Code and replicate it in BLE but it’s not working at all, with rssi showing as 0 no matter what.
I've read through the two Gatt Api's and tried replicating the same functions but there were some I didnt find an equivalent for in the BLE GATT Api:
CLASSIC BLUETOOTH GAP API - ESP32 - — ESP-IDF Programming Guide latest documentation (espressif.com)
GAP API - ESP32 - — ESP-IDF Programming Guide latest documentation (espressif.com)
If anyone can guide me it'd be great. To make a summary, the first 0bin link represents the BT code I need to follow and the second 0bin link represents the BLE code I need to have it working just like the BT code (have it do the same exact things).

Why not post the code here? We don't enjoy archeology to find information. Read the topic "How to use this Forum", "How to get the best from Forum".