Hello guys. I have written a program for pushing files to different devices. It works very well but when i wanted to push  files to a laptop BtOBEX_TransportConnect function gives "Premission Denied" error. I traced this error using strace and i understood that this is because of underlying connect() library call that returns EACCES error. Since then i have installed "Blueman Bluetooth Manager". After installing this program my problem has been solved. Can any one explain me why this happens.