Read data from ESP32

I need a simple program to read data from ESP32 via BLE to test if a port is HIGH or LOW

Just browse the forum, there are many !
image