ESP32 and incremental encoder

Hi,

I have an ESP32 with BLE. I want to connect a rotative encoder like this: KY-040 and i want read the value on my Iphone with an app like BLExARDUINO.
Someone can help me? What is the procedure for make it?

Thanks

Simone

What has Google told you?

I can't find examples that satisy me