BLE - can't connect

I obtained this code from this website.MIT app community
Yes, it's a one pluse nord.

I am using arduino UNO
I am using BLE HC05
and help me how to rewrite the same code using MIT BLE vesriob