How to solve the "Connection Unsuccessful" when trying to connect iPhone to Mac Book Pro via bluetooth?
Using the Mac's keyboard as an external keyboard for the iPhone over Bluetooth is, unforunately, not supported.
You would need third party software on the Mac and special apps that support this third part software for something like that to work. I don't know of any such software in existence today.