App to send keyboard keystroke over Bluetooth

Hello

I'm looking for help for a small project:
I would like to create an app to send random keystroke to a computer and those keystroke should be recognized as a keyboard.

How should I proceed?

Thank you