How can i make a app to chat from two phones

I now added the ask for permission blocks and updated the example app...

however the ask for permission blocks from the example by @Anke fail for older Android devices... Error 908 RequestPermission: The permission BLUETOOTH_CONNECT has been denied. Please enable it in the settings app.. I guess, this issue will be fixed after MIT updates the bluetooth components?

Taifun