I guess that you are trying to communicate with a microprocessor via BT. I have been doing the same recently. I have downloaded your app and it does not work for me either. I do not have time to look closely at it right now, but here is my own test app that does work. Obviously the send and receive subroutines are set up for my own test purposes, but the pairing and connect procedure should work for you, and maybe show where you are going wrong.
I will try and take a proper look at your code when I get more time. It begins the pairing process, but something stops it being completed.