Please excuse our rudeness. I'm confident perl will be a great choice based on your outline of what it is you want to do (write a server daemon script to sit in the middle of things). Checkout
CPAN. All free. An amazing resource. Search there for bluetooth etc. CPAN is generally of surprisingly high quality, but don't expect it all to be good. If you haven't been scared off by our rudeness, please come back if you have more questions.